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



620
621
622
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 620

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



618
619
620
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 618

def beacons
  @beacons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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