Class: Google::Apis::BackupdrV1::EndTrialRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndTrialRequest

Returns a new instance of EndTrialRequest.



3272
3273
3274
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3272

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

Instance Attribute Details

#end_reasonString

Required. The reason for ending the trial. Corresponds to the JSON property endReason

Returns:

  • (String)


3270
3271
3272
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3270

def end_reason
  @end_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3277
3278
3279
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3277

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