Class: Google::Apis::AlloydbV1::TrialMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/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.



3489
3490
3491
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3489

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)


3472
3473
3474
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3472

def end_time
  @end_time
end

#grace_end_timeString

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

Returns:

  • (String)


3477
3478
3479
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3477

def grace_end_time
  @grace_end_time
end

#start_timeString

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

Returns:

  • (String)


3482
3483
3484
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3482

def start_time
  @start_time
end

#upgrade_timeString

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

Returns:

  • (String)


3487
3488
3489
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3487

def upgrade_time
  @upgrade_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3494
3495
3496
3497
3498
3499
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3494

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