class Google::Apis::ProximitybeaconV1beta1::AdvertisedId

Defines a unique identifier of a beacon as broadcast by the device.

Attributes

id[RW]

The actual beacon identifier, as broadcast by the beacon hardware. Must be [ base64](tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required. Corresponds to the JSON property `id` @return [String]

type[RW]

Specifies the identifier type. Required. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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