Class: Google::Apis::BackupdrV1::EndTrialRequest
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::EndTrialRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
Request message for ending a trial.
Instance Attribute Summary collapse
-
#end_reason ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndTrialRequest
constructor
A new instance of EndTrialRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EndTrialRequest
Returns a new instance of EndTrialRequest.
3287 3288 3289 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_reason ⇒ String
Required. The reason for ending the trial.
Corresponds to the JSON property endReason
3285 3286 3287 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3285 def end_reason @end_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3292 3293 3294 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3292 def update!(**args) @end_reason = args[:end_reason] if args.key?(:end_reason) end |