Class: Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse

Inherits:
Object
  • Object
show all
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

Information about the requested beacons, optionally including attachment data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetInfoForObservedBeaconsResponse

Returns a new instance of GetInfoForObservedBeaconsResponse.



625
626
627
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 625

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#beaconsArray<Google::Apis::ProximitybeaconV1beta1::BeaconInfo>

Public information about beacons. May be empty if the request matched no beacons. Corresponds to the JSON property beacons



623
624
625
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 623

def beacons
  @beacons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



630
631
632
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 630

def update!(**args)
  @beacons = args[:beacons] if args.key?(:beacons)
end