Class: Google::Apis::ComputeV1::InstanceGroupManagersSetTargetPoolsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstanceGroupManagersSetTargetPoolsRequest
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#fingerprint ⇒ String
The fingerprint of the target pools information.
-
#target_pools ⇒ Array<String>
The list of target pool URLs that instances in this managed instance group belong to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagersSetTargetPoolsRequest
constructor
A new instance of InstanceGroupManagersSetTargetPoolsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagersSetTargetPoolsRequest
Returns a new instance of InstanceGroupManagersSetTargetPoolsRequest.
4460 4461 4462 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fingerprint ⇒ String
The fingerprint of the target pools information. Use this optional property to
prevent conflicts when multiple users change the target pools settings
concurrently. Obtain the fingerprint with the instanceGroupManagers.get method.
Then, include the fingerprint in your request to ensure that you do not
overwrite changes that were applied from another concurrent request.
Corresponds to the JSON property fingerprint
4450 4451 4452 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4450 def fingerprint @fingerprint end |
#target_pools ⇒ Array<String>
The list of target pool URLs that instances in this managed instance group
belong to. The managed instance group applies these target pools to all of the
instances in the group. Existing instances and new instances in the group all
receive these target pool settings.
Corresponds to the JSON property targetPools
4458 4459 4460 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4458 def target_pools @target_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4465 4466 4467 4468 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4465 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @target_pools = args[:target_pools] if args.key?(:target_pools) end |