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.


714
715
716
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 714

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


712
713
714
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 712

def beacons
  @beacons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


719
720
721
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 719

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