Class: Google::Apis::ReplicapoolV1beta2::SetTargetPoolsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ReplicapoolV1beta2::SetTargetPoolsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapool_v1beta2/classes.rb,
generated/google/apis/replicapool_v1beta2/representations.rb,
generated/google/apis/replicapool_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#fingerprint ⇒ String
The current fingerprint of the Instance Group Manager resource.
-
#target_pools ⇒ Array<String>
A list of fully-qualified URLs to existing Target Pool resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetTargetPoolsRequest
constructor
A new instance of SetTargetPoolsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SetTargetPoolsRequest
Returns a new instance of SetTargetPoolsRequest
282 283 284 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fingerprint ⇒ String
The current fingerprint of the Instance Group Manager resource. If this does
not match the server-side fingerprint of the resource, then the request will
be rejected.
Corresponds to the JSON property fingerprint
NOTE: Values are automatically base64 encoded/decoded in the client library.
273 274 275 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 273 def fingerprint @fingerprint end |
#target_pools ⇒ Array<String>
A list of fully-qualified URLs to existing Target Pool resources. New
instances in the Instance Group Manager will be added to the specified target
pools; existing instances are not affected.
Corresponds to the JSON property targetPools
280 281 282 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 280 def target_pools @target_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
287 288 289 290 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 287 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @target_pools = args[:target_pools] if args.key?(:target_pools) end |