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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionInstanceGroupManagersDeleteInstancesRequest

Returns a new instance of RegionInstanceGroupManagersDeleteInstancesRequest.



29667
29668
29669
# File 'lib/google/apis/compute_alpha/classes.rb', line 29667

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>)


29657
29658
29659
# File 'lib/google/apis/compute_alpha/classes.rb', line 29657

def instances
  @instances
end

#skip_inapplicable_instancesBoolean 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. Corresponds to the JSON property skipInapplicableInstances

Returns:

  • (Boolean)


29664
29665
29666
# File 'lib/google/apis/compute_alpha/classes.rb', line 29664

def skip_inapplicable_instances
  @skip_inapplicable_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29672
29673
29674
29675
# File 'lib/google/apis/compute_alpha/classes.rb', line 29672

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