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



217
218
219
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 217

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



215
216
217
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 215

def beacons
  @beacons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



222
223
224
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 222

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