Class: Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionInstanceGroupManagersDeleteInstancesRequest

Returns a new instance of RegionInstanceGroupManagersDeleteInstancesRequest.



28690
28691
28692
# File 'generated/google/apis/compute_alpha/classes.rb', line 28690

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instancesArray<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

Returns:

  • (Array<String>)


28680
28681
28682
# File 'generated/google/apis/compute_alpha/classes.rb', line 28680

def instances
  @instances
end

#skip_inapplicable_instancesBoolean 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

Returns:

  • (Boolean)


28687
28688
28689
# File 'generated/google/apis/compute_alpha/classes.rb', line 28687

def skip_inapplicable_instances
  @skip_inapplicable_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28695
28696
28697
28698
# File 'generated/google/apis/compute_alpha/classes.rb', line 28695

def update!(**args)
  @instances = args[:instances] if args.key?(:instances)
  @skip_inapplicable_instances = args[:skip_inapplicable_instances] if args.key?(:skip_inapplicable_instances)
end