Class BeaconAttachment
Project-specific data associated with a beacon.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Proximitybeacon.v1beta1.Data
Assembly: Google.Apis.Proximitybeacon.v1beta1.dll
Syntax
public class BeaconAttachment : IDirectResponseSchema
Properties
AttachmentName
Resource name of this attachment. Attachment names have the format: beacons/beacon_id/attachments/attachment_id. Leave this empty on creation.
Declaration
[JsonProperty("attachmentName")]
public virtual string AttachmentName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreationTimeMs
The UTC time when this attachment was created, in milliseconds since the UNIX epoch.
Declaration
[JsonProperty("creationTimeMs")]
public virtual object CreationTimeMs { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Data
An opaque data container for client-provided data. Must be base64 encoded in HTTP requests, and will be so encoded (with padding) in responses. Required.
Declaration
[JsonProperty("data")]
public virtual string Data { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxDistanceMeters
The distance away from the beacon at which this attachment should be delivered to a mobile app.
Setting this to a value greater than zero indicates that the app should behave as if the beacon is "seen" when the mobile device is less than this distance away from the beacon.
Different attachments on the same beacon can have different max distances.
Note that even though this value is expressed with fractional meter precision, real-world behavior is likley to be much less precise than one meter, due to the nature of current Bluetooth radio technology.
Optional. When not set or zero, the attachment should be delivered at the beacon's outer limit of detection.
Negative values are invalid and return an error.
Declaration
[JsonProperty("maxDistanceMeters")]
public virtual double? MaxDistanceMeters { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
NamespacedType
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.
Declaration
[JsonProperty("namespacedType")]
public virtual string NamespacedType { get; set; }
Property Value
Type | Description |
---|---|
System.String |