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



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

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



738
739
740
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 738

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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