class Google::Apis::ProximitybeaconV1beta1::BeaconAttachment
Project-specific data associated with a beacon.
Attributes
Resource name of this attachment. Attachment names have the format: beacons/ beacon_id/attachments/attachment_id. Leave this empty on creation. Corresponds to the JSON property `attachmentName` @return [String]
An opaque data container for client-provided data. Must be [base64](http:// tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. Required. Corresponds to the JSON property `data` @return [String]
Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type. Namespace provides type separation between clients. Type describes the type of `data`, for use by the client when parsing the `data` field. Required. Corresponds to the JSON property `namespacedType` @return [String]
Public Class Methods
# File generated/google/apis/proximitybeacon_v1beta1/classes.rb, line 287 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/proximitybeacon_v1beta1/classes.rb, line 292 def update!(**args) @attachment_name = args[:attachment_name] if args.key?(:attachment_name) @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) @data = args[:data] if args.key?(:data) end