Class: Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse

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

Response that contains the requested diagnostics.

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) ⇒ ListDiagnosticsResponse

Returns a new instance of ListDiagnosticsResponse.



751
752
753
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 751

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

Instance Attribute Details

#diagnosticsArray<Google::Apis::ProximitybeaconV1beta1::Diagnostics>

The diagnostics matching the given request. Corresponds to the JSON property diagnostics



743
744
745
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 743

def diagnostics
  @diagnostics
end

#next_page_tokenString

Token that can be used for pagination. Returned only if the request matches more beacons than can be returned in this response. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


749
750
751
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 749

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



756
757
758
759
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 756

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