Class: Google::Apis::AlloydbV1beta::TrialMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrialMetadata

Returns a new instance of TrialMetadata.



5593
5594
5595
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5593

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)


5576
5577
5578
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5576

def end_time
  @end_time
end

#grace_end_timeString

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

Returns:

  • (String)


5581
5582
5583
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5581

def grace_end_time
  @grace_end_time
end

#start_timeString

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

Returns:

  • (String)


5586
5587
5588
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5586

def start_time
  @start_time
end

#upgrade_timeString

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

Returns:

  • (String)


5591
5592
5593
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5591

def upgrade_time
  @upgrade_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5598
5599
5600
5601
5602
5603
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 5598

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