Class: Google::Apis::ReplicapoolV1beta1::ReplicasDeleteRequest

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

Returns a new instance of ReplicasDeleteRequest



700
701
702
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 700

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

Instance Attribute Details

#abandon_instanceBoolean Also known as: abandon_instance?

Whether the instance resource represented by this replica should be deleted or abandoned. If abandoned, the replica will be deleted but the virtual machine instance will remain. By default, this is set to false and the instance will be deleted along with the replica. Corresponds to the JSON property abandonInstance

Returns:

  • (Boolean)


697
698
699
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 697

def abandon_instance
  @abandon_instance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



705
706
707
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 705

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