Skip to content

Commit a55a4cf

Browse files
1 parent 48b1780 commit a55a4cf

File tree

9 files changed

+550
-7
lines changed

9 files changed

+550
-7
lines changed

clients/google-api-services-redis/v1beta1/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-redis</artifactId>
25-
<version>v1beta1-rev20250909-2.0.0</version>
25+
<version>v1beta1-rev20250930-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-redis:v1beta1-rev20250909-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20250930-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/Cluster.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
149149
@com.google.api.client.util.Key
150150
private ClusterMaintenanceSchedule maintenanceSchedule;
151151

152+
/**
153+
* Optional. This field can be used to trigger self service update to indicate the desired
154+
* maintenance version. The input to this field can be determined by the
155+
* available_maintenance_versions field.
156+
* The value may be {@code null}.
157+
*/
158+
@com.google.api.client.util.Key
159+
private java.lang.String maintenanceVersion;
160+
152161
/**
153162
* Optional. Backups generated and managed by memorystore service.
154163
* The value may be {@code null}.
@@ -591,6 +600,27 @@ public Cluster setMaintenanceSchedule(ClusterMaintenanceSchedule maintenanceSche
591600
return this;
592601
}
593602

603+
/**
604+
* Optional. This field can be used to trigger self service update to indicate the desired
605+
* maintenance version. The input to this field can be determined by the
606+
* available_maintenance_versions field.
607+
* @return value or {@code null} for none
608+
*/
609+
public java.lang.String getMaintenanceVersion() {
610+
return maintenanceVersion;
611+
}
612+
613+
/**
614+
* Optional. This field can be used to trigger self service update to indicate the desired
615+
* maintenance version. The input to this field can be determined by the
616+
* available_maintenance_versions field.
617+
* @param maintenanceVersion maintenanceVersion or {@code null} for none
618+
*/
619+
public Cluster setMaintenanceVersion(java.lang.String maintenanceVersion) {
620+
this.maintenanceVersion = maintenanceVersion;
621+
return this;
622+
}
623+
594624
/**
595625
* Optional. Backups generated and managed by memorystore service.
596626
* @return value or {@code null} for none

clients/google-api-services-redis/v1beta1/2.0.0/com/google/api/services/redis/v1beta1/model/DatabaseResourceMetadata.java

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.redis.v1beta1.model;
1818

1919
/**
20-
* Common model for database resource instance metadata. Next ID: 27
20+
* Common model for database resource instance metadata. Next ID: 29
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
@@ -138,6 +138,13 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
138138
@com.google.api.client.util.Key
139139
private MachineConfiguration machineConfiguration;
140140

141+
/**
142+
* Optional. Maintenance info for the resource.
143+
* The value may be {@code null}.
144+
*/
145+
@com.google.api.client.util.Key
146+
private ResourceMaintenanceInfo maintenanceInfo;
147+
141148
/**
142149
* Identifier for this resource's immediate parent/primary resource if the current resource is a
143150
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
@@ -478,6 +485,23 @@ public DatabaseResourceMetadata setMachineConfiguration(MachineConfiguration mac
478485
return this;
479486
}
480487

488+
/**
489+
* Optional. Maintenance info for the resource.
490+
* @return value or {@code null} for none
491+
*/
492+
public ResourceMaintenanceInfo getMaintenanceInfo() {
493+
return maintenanceInfo;
494+
}
495+
496+
/**
497+
* Optional. Maintenance info for the resource.
498+
* @param maintenanceInfo maintenanceInfo or {@code null} for none
499+
*/
500+
public DatabaseResourceMetadata setMaintenanceInfo(ResourceMaintenanceInfo maintenanceInfo) {
501+
this.maintenanceInfo = maintenanceInfo;
502+
return this;
503+
}
504+
481505
/**
482506
* Identifier for this resource's immediate parent/primary resource if the current resource is a
483507
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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.redis.v1beta1.model;
18+
19+
/**
20+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone
21+
* are either specified elsewhere or are insignificant. The date is relative to the Gregorian
22+
* Calendar. This can represent one of the following: * A full date, with non-zero year, month, and
23+
* day values. * A month and day, with a zero year (for example, an anniversary). * A year on its
24+
* own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit
25+
* card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime *
26+
* google.protobuf.Timestamp
27+
*
28+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
29+
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
30+
* detailed explanation see:
31+
* <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>
32+
* </p>
33+
*
34+
* @author Google, Inc.
35+
*/
36+
@SuppressWarnings("javadoc")
37+
public final class Date extends com.google.api.client.json.GenericJson {
38+
39+
/**
40+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
41+
* by itself or a year and month where the day isn't significant.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Integer day;
46+
47+
/**
48+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Integer month;
53+
54+
/**
55+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.Integer year;
60+
61+
/**
62+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
63+
* by itself or a year and month where the day isn't significant.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.Integer getDay() {
67+
return day;
68+
}
69+
70+
/**
71+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
72+
* by itself or a year and month where the day isn't significant.
73+
* @param day day or {@code null} for none
74+
*/
75+
public Date setDay(java.lang.Integer day) {
76+
this.day = day;
77+
return this;
78+
}
79+
80+
/**
81+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.Integer getMonth() {
85+
return month;
86+
}
87+
88+
/**
89+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
90+
* @param month month or {@code null} for none
91+
*/
92+
public Date setMonth(java.lang.Integer month) {
93+
this.month = month;
94+
return this;
95+
}
96+
97+
/**
98+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.Integer getYear() {
102+
return year;
103+
}
104+
105+
/**
106+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
107+
* @param year year or {@code null} for none
108+
*/
109+
public Date setYear(java.lang.Integer year) {
110+
this.year = year;
111+
return this;
112+
}
113+
114+
@Override
115+
public Date set(String fieldName, Object value) {
116+
return (Date) super.set(fieldName, value);
117+
}
118+
119+
@Override
120+
public Date clone() {
121+
return (Date) super.clone();
122+
}
123+
124+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
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.redis.v1beta1.model;
18+
19+
/**
20+
* Deny maintenance period for the database resource. It specifies the time range during which the
21+
* maintenance cannot start. This is configured by the customer.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
25+
* detailed explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class ResourceMaintenanceDenySchedule extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. Deny period end date.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private Date endDate;
40+
41+
/**
42+
* Optional. The start date of the deny maintenance period.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private Date startDate;
47+
48+
/**
49+
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private TimeOfDay time;
54+
55+
/**
56+
* Optional. Deny period end date.
57+
* @return value or {@code null} for none
58+
*/
59+
public Date getEndDate() {
60+
return endDate;
61+
}
62+
63+
/**
64+
* Optional. Deny period end date.
65+
* @param endDate endDate or {@code null} for none
66+
*/
67+
public ResourceMaintenanceDenySchedule setEndDate(Date endDate) {
68+
this.endDate = endDate;
69+
return this;
70+
}
71+
72+
/**
73+
* Optional. The start date of the deny maintenance period.
74+
* @return value or {@code null} for none
75+
*/
76+
public Date getStartDate() {
77+
return startDate;
78+
}
79+
80+
/**
81+
* Optional. The start date of the deny maintenance period.
82+
* @param startDate startDate or {@code null} for none
83+
*/
84+
public ResourceMaintenanceDenySchedule setStartDate(Date startDate) {
85+
this.startDate = startDate;
86+
return this;
87+
}
88+
89+
/**
90+
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
91+
* @return value or {@code null} for none
92+
*/
93+
public TimeOfDay getTime() {
94+
return time;
95+
}
96+
97+
/**
98+
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
99+
* @param time time or {@code null} for none
100+
*/
101+
public ResourceMaintenanceDenySchedule setTime(TimeOfDay time) {
102+
this.time = time;
103+
return this;
104+
}
105+
106+
@Override
107+
public ResourceMaintenanceDenySchedule set(String fieldName, Object value) {
108+
return (ResourceMaintenanceDenySchedule) super.set(fieldName, value);
109+
}
110+
111+
@Override
112+
public ResourceMaintenanceDenySchedule clone() {
113+
return (ResourceMaintenanceDenySchedule) super.clone();
114+
}
115+
116+
}

0 commit comments

Comments
 (0)