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.
29570 29571 29572 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29570 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
29560 29561 29562 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29560 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
29567 29568 29569 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29567 def skip_inapplicable_instances @skip_inapplicable_instances end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29575 29576 29577 29578 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29575 def update!(**args) @instances = args[:instances] if args.key?(:instances) @skip_inapplicable_instances = args[:skip_inapplicable_instances] if args.key?(:skip_inapplicable_instances) end |