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



195
196
197
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 195

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



193
194
195
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 193

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)


188
189
190
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 188

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



200
201
202
203
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 200

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