Class: Google::Apis::ReplicapoolV1beta1::ReplicasListResponse
- Inherits:
-
Object
- Object
- Google::Apis::ReplicapoolV1beta1::ReplicasListResponse
- 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
-
#next_page_token ⇒ String
Corresponds to the JSON property
nextPageToken
. -
#resources ⇒ Array<Google::Apis::ReplicapoolV1beta1::Replica>
Corresponds to the JSON property
resources
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicasListResponse
constructor
A new instance of ReplicasListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_token ⇒ String
Corresponds to the JSON property nextPageToken
717 718 719 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 717 def next_page_token @next_page_token end |
#resources ⇒ Array<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 |