Class: Google::Apis::CloudnumberregistryV1alpha::ListRegistryBooksResponse

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.ListRegistryBooks method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRegistryBooksResponse

Returns a new instance of ListRegistryBooksResponse.



775
776
777
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 775

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)


763
764
765
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 763

def next_page_token
  @next_page_token
end

#registry_booksArray<Google::Apis::CloudnumberregistryV1alpha::RegistryBook>

The list of RegistryBook Corresponds to the JSON property registryBooks



768
769
770
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 768

def registry_books
  @registry_books
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


773
774
775
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 773

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



780
781
782
783
784
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 780

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