Class: Google::Apis::NetappV1::StopReplicationRequest
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::StopReplicationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
StopReplicationRequest stops a replication until resumed.
Instance Attribute Summary collapse
-
#force ⇒ Boolean
(also: #force?)
Indicates whether to stop replication forcefully while data transfer is in progress.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StopReplicationRequest
constructor
A new instance of StopReplicationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StopReplicationRequest
Returns a new instance of StopReplicationRequest.
1960 1961 1962 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#force ⇒ Boolean Also known as: force?
Indicates whether to stop replication forcefully while data transfer is in
progress. Warning! if force is true, this will abort any current transfers and
can lead to data loss due to partial transfer. If force is false, stop
replication will fail while data transfer is in progress and you will need to
retry later.
Corresponds to the JSON property force
1957 1958 1959 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1957 def force @force end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1965 1966 1967 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1965 def update!(**args) @force = args[:force] if args.key?(:force) end |