Class: Google::Apis::ReplicapoolV1beta1::ReplicasListResponse

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

Returns a new instance of ReplicasListResponse



724
725
726
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 724

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


717
718
719
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 717

def next_page_token
  @next_page_token
end

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

Corresponds to the JSON property resources



722
723
724
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 722

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



729
730
731
732
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 729

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