Skip to content

Commit 6d38294

Browse files
1 parent 1ea5436 commit 6d38294

File tree

11 files changed

+114
-18
lines changed

11 files changed

+114
-18
lines changed

clients/google-api-services-alloydb/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alloydb</artifactId>
25-
<version>v1-rev20240417-2.0.0</version>
25+
<version>v1-rev20240424-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20240417-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20240424-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Cluster.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
147147
@com.google.api.client.util.Key
148148
private java.util.Map<String, java.lang.String> labels;
149149

150+
/**
151+
* Output only. The maintenance schedule for the cluster, generated for a specific rollout if a
152+
* maintenance window is set.
153+
* The value may be {@code null}.
154+
*/
155+
@com.google.api.client.util.Key
156+
private MaintenanceSchedule maintenanceSchedule;
157+
150158
/**
151159
* Optional. The maintenance update policy determines when to allow or deny updates.
152160
* The value may be {@code null}.
@@ -532,6 +540,25 @@ public Cluster setLabels(java.util.Map<String, java.lang.String> labels) {
532540
return this;
533541
}
534542

543+
/**
544+
* Output only. The maintenance schedule for the cluster, generated for a specific rollout if a
545+
* maintenance window is set.
546+
* @return value or {@code null} for none
547+
*/
548+
public MaintenanceSchedule getMaintenanceSchedule() {
549+
return maintenanceSchedule;
550+
}
551+
552+
/**
553+
* Output only. The maintenance schedule for the cluster, generated for a specific rollout if a
554+
* maintenance window is set.
555+
* @param maintenanceSchedule maintenanceSchedule or {@code null} for none
556+
*/
557+
public Cluster setMaintenanceSchedule(MaintenanceSchedule maintenanceSchedule) {
558+
this.maintenanceSchedule = maintenanceSchedule;
559+
return this;
560+
}
561+
535562
/**
536563
* Optional. The maintenance update policy determines when to allow or deny updates.
537564
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.alloydb.v1.model;
18+
19+
/**
20+
* MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy,
21+
* once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no
22+
* conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be
23+
* manually changed; modify the MaintenanceUpdatePolicy instead.
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
27+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class MaintenanceSchedule extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Output only. The scheduled start time for the maintenance.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private String startTime;
41+
42+
/**
43+
* Output only. The scheduled start time for the maintenance.
44+
* @return value or {@code null} for none
45+
*/
46+
public String getStartTime() {
47+
return startTime;
48+
}
49+
50+
/**
51+
* Output only. The scheduled start time for the maintenance.
52+
* @param startTime startTime or {@code null} for none
53+
*/
54+
public MaintenanceSchedule setStartTime(String startTime) {
55+
this.startTime = startTime;
56+
return this;
57+
}
58+
59+
@Override
60+
public MaintenanceSchedule set(String fieldName, Object value) {
61+
return (MaintenanceSchedule) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public MaintenanceSchedule clone() {
66+
return (MaintenanceSchedule) super.clone();
67+
}
68+
69+
}

clients/google-api-services-alloydb/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-alloydb</artifactId>
11-
<version>v1-rev20240417-2.0.0</version>
12-
<name>AlloyDB API v1-rev20240417-2.0.0</name>
11+
<version>v1-rev20240424-2.0.0</version>
12+
<name>AlloyDB API v1-rev20240424-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-alloydb/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alloydb</artifactId>
25-
<version>v1-rev20240417-2.0.0</version>
25+
<version>v1-rev20240424-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20240417-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20240424-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1alpha/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alloydb</artifactId>
25-
<version>v1alpha-rev20240417-2.0.0</version>
25+
<version>v1alpha-rev20240424-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20240417-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20240424-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1alpha/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-alloydb</artifactId>
11-
<version>v1alpha-rev20240417-2.0.0</version>
12-
<name>AlloyDB API v1alpha-rev20240417-2.0.0</name>
11+
<version>v1alpha-rev20240424-2.0.0</version>
12+
<name>AlloyDB API v1alpha-rev20240424-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-alloydb/v1alpha/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alloydb</artifactId>
25-
<version>v1alpha-rev20240417-2.0.0</version>
25+
<version>v1alpha-rev20240424-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20240417-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20240424-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1beta/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-alloydb</artifactId>
25-
<version>v1beta-rev20240417-2.0.0</version>
25+
<version>v1beta-rev20240424-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20240417-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20240424-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-alloydb/v1beta/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-alloydb</artifactId>
11-
<version>v1beta-rev20240417-2.0.0</version>
12-
<name>AlloyDB API v1beta-rev20240417-2.0.0</name>
11+
<version>v1beta-rev20240424-2.0.0</version>
12+
<name>AlloyDB API v1beta-rev20240424-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)