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.
280 281 282 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 280 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
271 272 273 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 271 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
278 279 280 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 278 def target_pools @target_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
285 286 287 288 |
# File 'generated/google/apis/replicapool_v1beta2/classes.rb', line 285 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @target_pools = args[:target_pools] if args.key?(:target_pools) end |