Class: Google::Apis::CloudnumberregistryV1alpha::ListRealmsResponse

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

Overview

Response message for the CloudNumberRegistry.ListRealms method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRealmsResponse

Returns a new instance of ListRealmsResponse.



744
745
746
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 744

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

Instance Attribute Details

#next_page_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


732
733
734
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 732

def next_page_token
  @next_page_token
end

#realmsArray<Google::Apis::CloudnumberregistryV1alpha::Realm>

The list of Realms. Corresponds to the JSON property realms



737
738
739
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 737

def realms
  @realms
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


742
743
744
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 742

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



749
750
751
752
753
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 749

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