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.


555
556
557
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 555

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


547
548
549
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 547

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)

553
554
555
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 553

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


560
561
562
563
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 560

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