Class: Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/proximitybeacon_v1beta1/classes.rb,
generated/google/apis/proximitybeacon_v1beta1/representations.rb,
generated/google/apis/proximitybeacon_v1beta1/representations.rb
Overview
Request for beacon and attachment information about beacons that a mobile client has encountered "in the wild".
Instance Attribute Summary collapse
-
#namespaced_types ⇒ Array<String>
Specifies what kind of attachments to include in the response.
-
#observations ⇒ Array<Google::Apis::ProximitybeaconV1beta1::Observation>
The beacons that the client has encountered.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetInfoForObservedBeaconsRequest
constructor
A new instance of GetInfoForObservedBeaconsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetInfoForObservedBeaconsRequest
Returns a new instance of GetInfoForObservedBeaconsRequest
598 599 600 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 598 def initialize(**args) update!(**args) end |
Instance Attribute Details
#namespaced_types ⇒ Array<String>
Specifies what kind of attachments to include in the response.
When given, the response will include only attachments of the given types.
When empty, no attachments will be returned. Must be in the format
namespace/type. Accepts *
to specify all types in
all namespaces owned by the client.
Optional.
Corresponds to the JSON property namespacedTypes
590 591 592 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 590 def namespaced_types @namespaced_types end |
#observations ⇒ Array<Google::Apis::ProximitybeaconV1beta1::Observation>
The beacons that the client has encountered.
At least one must be given.
Corresponds to the JSON property observations
596 597 598 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 596 def observations @observations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
603 604 605 606 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 603 def update!(**args) @namespaced_types = args[:namespaced_types] if args.key?(:namespaced_types) @observations = args[:observations] if args.key?(:observations) end |