@@ -61,6 +61,14 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
6161 @ com .google .api .client .util .Key
6262 private AutomatedBackupConfig automatedBackupConfig ;
6363
64+ /**
65+ * Output only. This field is used to determine the available maintenance versions for the self
66+ * service update.
67+ * The value may be {@code null}.
68+ */
69+ @ com .google .api .client .util .Key
70+ private java .util .List <java .lang .String > availableMaintenanceVersions ;
71+
6472 /**
6573 * Optional. Output only. The backup collection full resource name. Example:
6674 * projects/{project}/locations/{location}/backupCollections/{collection}
@@ -105,6 +113,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
105113 @ com .google .api .client .util .Key
106114 private java .util .List <DiscoveryEndpoint > discoveryEndpoints ;
107115
116+ /**
117+ * Output only. This field represents the actual maintenance version of the cluster.
118+ * The value may be {@code null}.
119+ */
120+ @ com .google .api .client .util .Key
121+ private java .lang .String effectiveMaintenanceVersion ;
122+
108123 /**
109124 * Output only. Encryption information of the data at rest of the cluster.
110125 * The value may be {@code null}.
@@ -388,6 +403,25 @@ public Cluster setAutomatedBackupConfig(AutomatedBackupConfig automatedBackupCon
388403 return this ;
389404 }
390405
406+ /**
407+ * Output only. This field is used to determine the available maintenance versions for the self
408+ * service update.
409+ * @return value or {@code null} for none
410+ */
411+ public java .util .List <java .lang .String > getAvailableMaintenanceVersions () {
412+ return availableMaintenanceVersions ;
413+ }
414+
415+ /**
416+ * Output only. This field is used to determine the available maintenance versions for the self
417+ * service update.
418+ * @param availableMaintenanceVersions availableMaintenanceVersions or {@code null} for none
419+ */
420+ public Cluster setAvailableMaintenanceVersions (java .util .List <java .lang .String > availableMaintenanceVersions ) {
421+ this .availableMaintenanceVersions = availableMaintenanceVersions ;
422+ return this ;
423+ }
424+
391425 /**
392426 * Optional. Output only. The backup collection full resource name. Example:
393427 * projects/{project}/locations/{location}/backupCollections/{collection}
@@ -494,6 +528,23 @@ public Cluster setDiscoveryEndpoints(java.util.List<DiscoveryEndpoint> discovery
494528 return this ;
495529 }
496530
531+ /**
532+ * Output only. This field represents the actual maintenance version of the cluster.
533+ * @return value or {@code null} for none
534+ */
535+ public java .lang .String getEffectiveMaintenanceVersion () {
536+ return effectiveMaintenanceVersion ;
537+ }
538+
539+ /**
540+ * Output only. This field represents the actual maintenance version of the cluster.
541+ * @param effectiveMaintenanceVersion effectiveMaintenanceVersion or {@code null} for none
542+ */
543+ public Cluster setEffectiveMaintenanceVersion (java .lang .String effectiveMaintenanceVersion ) {
544+ this .effectiveMaintenanceVersion = effectiveMaintenanceVersion ;
545+ return this ;
546+ }
547+
497548 /**
498549 * Output only. Encryption information of the data at rest of the cluster.
499550 * @return value or {@code null} for none
0 commit comments