Class: Google::Apis::ReplicapoolV1beta1::ReplicasDeleteRequest
- Inherits:
-
Object
- Object
- Google::Apis::ReplicapoolV1beta1::ReplicasDeleteRequest
- 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
-
#abandon_instance ⇒ Boolean
(also: #abandon_instance?)
Whether the instance resource represented by this replica should be deleted or abandoned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicasDeleteRequest
constructor
A new instance of ReplicasDeleteRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_instance ⇒ Boolean 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
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 |