Class: Google::Apis::AlloydbV1alpha::TrialMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::TrialMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/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.
-
#grace_end_time ⇒ String
grace end time of the 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.
5633 5634 5635 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
End time of the trial cluster.
Corresponds to the JSON property endTime
5616 5617 5618 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5616 def end_time @end_time end |
#grace_end_time ⇒ String
grace end time of the cluster.
Corresponds to the JSON property graceEndTime
5621 5622 5623 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5621 def grace_end_time @grace_end_time end |
#start_time ⇒ String
start time of the trial cluster.
Corresponds to the JSON property startTime
5626 5627 5628 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5626 def start_time @start_time end |
#upgrade_time ⇒ String
Upgrade time of trial cluster to Standard cluster.
Corresponds to the JSON property upgradeTime
5631 5632 5633 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5631 def upgrade_time @upgrade_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5638 5639 5640 5641 5642 5643 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5638 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @grace_end_time = args[:grace_end_time] if args.key?(:grace_end_time) @start_time = args[:start_time] if args.key?(:start_time) @upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time) end |