Class: Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#instances ⇒ Array<String>
The URLs of one or more instances to delete.
-
#skip_inapplicable_instances ⇒ Boolean
(also: #skip_inapplicable_instances?)
Skip instances which cannot be deleted (instances not belonging to this managed group, already being deleted or being abandoned).
-
#skip_instances_on_validation_error ⇒ Boolean
(also: #skip_instances_on_validation_error?)
Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionInstanceGroupManagersDeleteInstancesRequest
constructor
A new instance of RegionInstanceGroupManagersDeleteInstancesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegionInstanceGroupManagersDeleteInstancesRequest
Returns a new instance of RegionInstanceGroupManagersDeleteInstancesRequest.
35292 35293 35294 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35292 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
The URLs of one or more instances to delete. This can be a full URL or a
partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
Corresponds to the JSON property instances
35269 35270 35271 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35269 def instances @instances end |
#skip_inapplicable_instances ⇒ Boolean Also known as: skip_inapplicable_instances?
Skip instances which cannot be deleted (instances not belonging to this
managed group, already being deleted or being abandoned). If false
, fail
whole flow, if such instance is passed. DEPRECATED: Use
skip_instances_on_validation_error instead.
Corresponds to the JSON property skipInapplicableInstances
35277 35278 35279 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35277 def skip_inapplicable_instances @skip_inapplicable_instances end |
#skip_instances_on_validation_error ⇒ Boolean Also known as: skip_instances_on_validation_error?
Specifies whether the request should proceed despite the inclusion of
instances that are not members of the group or that are already in the process
of being deleted or abandoned. If this field is set to false
and such an
instance is specified in the request, the operation fails. The operation
always fails if the request contains a malformed instance URL or a reference
to an instance that exists in a zone or region other than the group's zone or
region.
Corresponds to the JSON property skipInstancesOnValidationError
35289 35290 35291 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35289 def skip_instances_on_validation_error @skip_instances_on_validation_error end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35297 35298 35299 35300 35301 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 35297 def update!(**args) @instances = args[:instances] if args.key?(:instances) @skip_inapplicable_instances = args[:skip_inapplicable_instances] if args.key?(:skip_inapplicable_instances) @skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error) end |