Class: Google::Apis::CloudiotV1beta1::ListDeviceRegistriesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudiot_v1beta1/classes.rb,
generated/google/apis/cloudiot_v1beta1/representations.rb,
generated/google/apis/cloudiot_v1beta1/representations.rb

Overview

Response for ListDeviceRegistries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListDeviceRegistriesResponse

Returns a new instance of ListDeviceRegistriesResponse



685
686
687
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 685

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

Instance Attribute Details

#device_registriesArray<Google::Apis::CloudiotV1beta1::DeviceRegistry>

The registries that matched the query. Corresponds to the JSON property deviceRegistries



676
677
678
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 676

def device_registries
  @device_registries
end

#next_page_tokenString

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


683
684
685
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 683

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



690
691
692
693
# File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 690

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