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.



3405
3406
3407
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3405

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)


3393
3394
3395
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3393

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


3398
3399
3400
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3398

def start_time
  @start_time
end

#upgrade_timeString

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

Returns:

  • (String)


3403
3404
3405
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3403

def upgrade_time
  @upgrade_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3410
3411
3412
3413
3414
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3410

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