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



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

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



734
735
736
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 734

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)


740
741
742
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 740

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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