class Google::Apis::ProximitybeaconV1beta1::AttachmentInfo

A subset of attachment information served via the `beaconinfo.getforobserved` method, used when your users encounter your beacons.

Attributes

data[RW]

An opaque data container for client-provided data. Corresponds to the JSON property `data` @return [String]

namespaced_type[RW]

Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type, for example scrupulous-wombat-12345/ welcome-message Corresponds to the JSON property `namespacedType` @return [String]

Public Class Methods

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