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?)
If false and the request contains references to instances that cannot be deleted (that is, instances that are not in the group or are already deleted), the request fails.
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.
29473 29474 29475 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29473 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
29463 29464 29465 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29463 def instances @instances end |
#skip_inapplicable_instances ⇒ Boolean Also known as: skip_inapplicable_instances?
If false and the request contains references to instances that cannot be
deleted (that is, instances that are not in the group or are already deleted),
the request fails. Otherwise, such instances are ignored.
Corresponds to the JSON property skipInapplicableInstances
29470 29471 29472 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29470 def skip_inapplicable_instances @skip_inapplicable_instances end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29478 29479 29480 29481 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29478 def update!(**args) @instances = args[:instances] if args.key?(:instances) @skip_inapplicable_instances = args[:skip_inapplicable_instances] if args.key?(:skip_inapplicable_instances) end |