class Google::Apis::ProximitybeaconV1beta1::BeaconInfo

A subset of beacon information served via the `beaconinfo.getforobserved` method, which you call when users of your app encounter your beacons.

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]

attachments[RW]

Attachments matching the type(s) requested. May be empty if no attachment types were requested, or if none matched. Corresponds to the JSON property `attachments` @return [Array<Google::Apis::ProximitybeaconV1beta1::AttachmentInfo>]

beacon_name[RW]

The name under which the beacon is registered. Corresponds to the JSON property `beaconName` @return [String]

description[RW]

Free text used to identify or describe the beacon in a registered establishment. For example: “entrance”, “room 101”, etc. May be empty. Corresponds to the JSON property `description` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/proximitybeacon_v1beta1/classes.rb, line 597
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 602
def update!(**args)
  @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
  @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
  @description = args[:description] if args.key?(:description)
  @attachments = args[:attachments] if args.key?(:attachments)
end