Class: Google::Apis::AlloydbV1alpha::TrialMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrialMetadata

Returns a new instance of TrialMetadata.



5675
5676
5677
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5675

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

Instance Attribute Details

#end_timeString

End time of the trial cluster. Corresponds to the JSON property endTime

Returns:

  • (String)


5658
5659
5660
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5658

def end_time
  @end_time
end

#grace_end_timeString

grace end time of the cluster. Corresponds to the JSON property graceEndTime

Returns:

  • (String)


5663
5664
5665
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5663

def grace_end_time
  @grace_end_time
end

#start_timeString

start time of the trial cluster. Corresponds to the JSON property startTime

Returns:

  • (String)


5668
5669
5670
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5668

def start_time
  @start_time
end

#upgrade_timeString

Upgrade time of trial cluster to Standard cluster. Corresponds to the JSON property upgradeTime

Returns:

  • (String)


5673
5674
5675
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5673

def upgrade_time
  @upgrade_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5680
5681
5682
5683
5684
5685
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5680

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