Class: Google::Apis::AlloydbV1beta::TrialMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::TrialMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Contains information and all metadata related to TRIAL clusters.
Instance Attribute Summary collapse
-
#end_time ⇒ String
End time of the trial cluster.
-
#start_time ⇒ String
start time of the trial cluster.
-
#upgrade_time ⇒ String
Upgrade time of trial cluster to Standard cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrialMetadata
constructor
A new instance of TrialMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TrialMetadata
Returns a new instance of TrialMetadata.
3369 3370 3371 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3369 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
End time of the trial cluster.
Corresponds to the JSON property endTime
3357 3358 3359 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3357 def end_time @end_time end |
#start_time ⇒ String
start time of the trial cluster.
Corresponds to the JSON property startTime
3362 3363 3364 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3362 def start_time @start_time end |
#upgrade_time ⇒ String
Upgrade time of trial cluster to Standard cluster.
Corresponds to the JSON property upgradeTime
3367 3368 3369 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3367 def upgrade_time @upgrade_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3374 3375 3376 3377 3378 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3374 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) @upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time) end |