Class: Google::Apis::ReplicapoolV1beta1::PoolsListResponse

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

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) ⇒ PoolsListResponse

Returns a new instance of PoolsListResponse



599
600
601
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 599

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


592
593
594
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 592

def next_page_token
  @next_page_token
end

#resourcesArray<Google::Apis::ReplicapoolV1beta1::Pool>

Corresponds to the JSON property resources



597
598
599
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 597

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



604
605
606
607
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 604

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