Class: Google::Apis::ReplicapoolV1beta1::PoolsDeleteRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PoolsDeleteRequest

Returns a new instance of PoolsDeleteRequest



575
576
577
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 575

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

Instance Attribute Details

#abandon_instancesArray<String>

If there are instances you would like to keep, you can specify them here. These instances won't be deleted, but the associated replica objects will be removed. Corresponds to the JSON property abandonInstances

Returns:

  • (Array<String>)


573
574
575
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 573

def abandon_instances
  @abandon_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



580
581
582
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 580

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