class Google::Apis::ProximitybeaconV1beta1::Observation
Represents one beacon observed once.
Attributes
advertised_id[RW]
Defines a unique identifier of a beacon as broadcast by the device. Corresponds to the JSON property `advertisedId` @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
telemetry[RW]
The array of telemetry bytes received from the beacon. The server is responsible for parsing it. This field may frequently be empty, as with a beacon that transmits telemetry only occasionally. Corresponds to the JSON property `telemetry` @return [String]
timestamp_ms[RW]
Time when the beacon was observed. Being sourced from a mobile device, this time may be suspect. Corresponds to the JSON property `timestampMs` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/proximitybeacon_v1beta1/classes.rb, line 538 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/proximitybeacon_v1beta1/classes.rb, line 543 def update!(**args) @advertised_id = args[:advertised_id] if args.key?(:advertised_id) @telemetry = args[:telemetry] if args.key?(:telemetry) @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) end