@@ -562,6 +562,16 @@ class Cluster
562562 # @return [String]
563563 attr_accessor :state
564564
565+ # Optional. Subscription type of the cluster.
566+ # Corresponds to the JSON property `subscriptionType`
567+ # @return [String]
568+ attr_accessor :subscription_type
569+
570+ # Contains information and all metadata related to TRIAL clusters.
571+ # Corresponds to the JSON property `trialMetadata`
572+ # @return [Google::Apis::AlloydbV1::TrialMetadata]
573+ attr_accessor :trial_metadata
574+
565575 # Output only. The system-generated UID of the resource. The UID is assigned
566576 # when the resource is created, and it is retained until it is deleted.
567577 # Corresponds to the JSON property `uid`
@@ -607,6 +617,8 @@ def update!(**args)
607617 @secondary_config = args [ :secondary_config ] if args . key? ( :secondary_config )
608618 @ssl_config = args [ :ssl_config ] if args . key? ( :ssl_config )
609619 @state = args [ :state ] if args . key? ( :state )
620+ @subscription_type = args [ :subscription_type ] if args . key? ( :subscription_type )
621+ @trial_metadata = args [ :trial_metadata ] if args . key? ( :trial_metadata )
610622 @uid = args [ :uid ] if args . key? ( :uid )
611623 @update_time = args [ :update_time ] if args . key? ( :update_time )
612624 end
@@ -3206,6 +3218,37 @@ def update!(**args)
32063218 end
32073219 end
32083220
3221+ # Contains information and all metadata related to TRIAL clusters.
3222+ class TrialMetadata
3223+ include Google ::Apis ::Core ::Hashable
3224+
3225+ # End time of the trial cluster.
3226+ # Corresponds to the JSON property `endTime`
3227+ # @return [String]
3228+ attr_accessor :end_time
3229+
3230+ # start time of the trial cluster.
3231+ # Corresponds to the JSON property `startTime`
3232+ # @return [String]
3233+ attr_accessor :start_time
3234+
3235+ # Upgrade time of trial cluster to Standard cluster.
3236+ # Corresponds to the JSON property `upgradeTime`
3237+ # @return [String]
3238+ attr_accessor :upgrade_time
3239+
3240+ def initialize ( **args )
3241+ update! ( **args )
3242+ end
3243+
3244+ # Update properties of this object
3245+ def update! ( **args )
3246+ @end_time = args [ :end_time ] if args . key? ( :end_time )
3247+ @start_time = args [ :start_time ] if args . key? ( :start_time )
3248+ @upgrade_time = args [ :upgrade_time ] if args . key? ( :upgrade_time )
3249+ end
3250+ end
3251+
32093252 # Message describing User object.
32103253 class User
32113254 include Google ::Apis ::Core ::Hashable
0 commit comments