Skip to content

Commit 9c81ed9

Browse files
1 parent e1d4345 commit 9c81ed9

18 files changed

+480
-38
lines changed

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

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterWeeklyMaintenanceWindow.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,29 @@
3131
public final class ClusterWeeklyMaintenanceWindow extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Allows to define schedule that runs specified day of the week.
34+
* Optional. Allows to define schedule that runs specified day of the week.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String day;
3939

4040
/**
41-
* Start time of the window in UTC.
41+
* Optional. Start time of the window in UTC.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
4545
private TimeOfDay startTime;
4646

4747
/**
48-
* Allows to define schedule that runs specified day of the week.
48+
* Optional. Allows to define schedule that runs specified day of the week.
4949
* @return value or {@code null} for none
5050
*/
5151
public java.lang.String getDay() {
5252
return day;
5353
}
5454

5555
/**
56-
* Allows to define schedule that runs specified day of the week.
56+
* Optional. Allows to define schedule that runs specified day of the week.
5757
* @param day day or {@code null} for none
5858
*/
5959
public ClusterWeeklyMaintenanceWindow setDay(java.lang.String day) {
@@ -62,15 +62,15 @@ public ClusterWeeklyMaintenanceWindow setDay(java.lang.String day) {
6262
}
6363

6464
/**
65-
* Start time of the window in UTC.
65+
* Optional. Start time of the window in UTC.
6666
* @return value or {@code null} for none
6767
*/
6868
public TimeOfDay getStartTime() {
6969
return startTime;
7070
}
7171

7272
/**
73-
* Start time of the window in UTC.
73+
* Optional. Start time of the window in UTC.
7474
* @param startTime startTime or {@code null} for none
7575
*/
7676
public ClusterWeeklyMaintenanceWindow setStartTime(TimeOfDay startTime) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
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.v1.model;
18+
19+
/**
20+
* Config based signal data. This is used to send signals to Condor which are based on the DB level
21+
* configurations. These will be used to send signals for self managed databases.
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 ConfigBasedSignalData extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Required. Full Resource name of the source resource.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String fullResourceName;
40+
41+
/**
42+
* Required. Last time signal was refreshed
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String lastRefreshTime;
47+
48+
/**
49+
* Database resource id.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private DatabaseResourceId resourceId;
54+
55+
/**
56+
* Signal data for boolean signals.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.Boolean signalBoolValue;
61+
62+
/**
63+
* Required. Signal type of the signal
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.String signalType;
68+
69+
/**
70+
* Required. Full Resource name of the source resource.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getFullResourceName() {
74+
return fullResourceName;
75+
}
76+
77+
/**
78+
* Required. Full Resource name of the source resource.
79+
* @param fullResourceName fullResourceName or {@code null} for none
80+
*/
81+
public ConfigBasedSignalData setFullResourceName(java.lang.String fullResourceName) {
82+
this.fullResourceName = fullResourceName;
83+
return this;
84+
}
85+
86+
/**
87+
* Required. Last time signal was refreshed
88+
* @return value or {@code null} for none
89+
*/
90+
public String getLastRefreshTime() {
91+
return lastRefreshTime;
92+
}
93+
94+
/**
95+
* Required. Last time signal was refreshed
96+
* @param lastRefreshTime lastRefreshTime or {@code null} for none
97+
*/
98+
public ConfigBasedSignalData setLastRefreshTime(String lastRefreshTime) {
99+
this.lastRefreshTime = lastRefreshTime;
100+
return this;
101+
}
102+
103+
/**
104+
* Database resource id.
105+
* @return value or {@code null} for none
106+
*/
107+
public DatabaseResourceId getResourceId() {
108+
return resourceId;
109+
}
110+
111+
/**
112+
* Database resource id.
113+
* @param resourceId resourceId or {@code null} for none
114+
*/
115+
public ConfigBasedSignalData setResourceId(DatabaseResourceId resourceId) {
116+
this.resourceId = resourceId;
117+
return this;
118+
}
119+
120+
/**
121+
* Signal data for boolean signals.
122+
* @return value or {@code null} for none
123+
*/
124+
public java.lang.Boolean getSignalBoolValue() {
125+
return signalBoolValue;
126+
}
127+
128+
/**
129+
* Signal data for boolean signals.
130+
* @param signalBoolValue signalBoolValue or {@code null} for none
131+
*/
132+
public ConfigBasedSignalData setSignalBoolValue(java.lang.Boolean signalBoolValue) {
133+
this.signalBoolValue = signalBoolValue;
134+
return this;
135+
}
136+
137+
/**
138+
* Required. Signal type of the signal
139+
* @return value or {@code null} for none
140+
*/
141+
public java.lang.String getSignalType() {
142+
return signalType;
143+
}
144+
145+
/**
146+
* Required. Signal type of the signal
147+
* @param signalType signalType or {@code null} for none
148+
*/
149+
public ConfigBasedSignalData setSignalType(java.lang.String signalType) {
150+
this.signalType = signalType;
151+
return this;
152+
}
153+
154+
@Override
155+
public ConfigBasedSignalData set(String fieldName, Object value) {
156+
return (ConfigBasedSignalData) super.set(fieldName, value);
157+
}
158+
159+
@Override
160+
public ConfigBasedSignalData clone() {
161+
return (ConfigBasedSignalData) super.clone();
162+
}
163+
164+
}

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/CrossClusterReplicationConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class CrossClusterReplicationConfig extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The role of the cluster in cross cluster replication.
34+
* Output only. The role of the cluster in cross cluster replication.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -74,15 +74,15 @@ public final class CrossClusterReplicationConfig extends com.google.api.client.j
7474
private String updateTime;
7575

7676
/**
77-
* The role of the cluster in cross cluster replication.
77+
* Output only. The role of the cluster in cross cluster replication.
7878
* @return value or {@code null} for none
7979
*/
8080
public java.lang.String getClusterRole() {
8181
return clusterRole;
8282
}
8383

8484
/**
85-
* The role of the cluster in cross cluster replication.
85+
* Output only. The role of the cluster in cross cluster replication.
8686
* @param clusterRole clusterRole or {@code null} for none
8787
*/
8888
public CrossClusterReplicationConfig setClusterRole(java.lang.String clusterRole) {

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceFeed.java

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource
21-
* level events into Condor platform. Next ID: 8
21+
* level events into Condor platform. Next ID: 9
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
@@ -31,6 +31,14 @@
3131
@SuppressWarnings("javadoc")
3232
public final class DatabaseResourceFeed extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Config based signal data is used to ingest signals that are generated based on the
36+
* configuration of the database resource.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private ConfigBasedSignalData configBasedSignalData;
41+
3442
/**
3543
* Required. Timestamp when feed is generated.
3644
* The value may be {@code null}.
@@ -77,6 +85,25 @@ public final class DatabaseResourceFeed extends com.google.api.client.json.Gener
7785
@com.google.api.client.util.Key
7886
private DatabaseResourceMetadata resourceMetadata;
7987

88+
/**
89+
* Config based signal data is used to ingest signals that are generated based on the
90+
* configuration of the database resource.
91+
* @return value or {@code null} for none
92+
*/
93+
public ConfigBasedSignalData getConfigBasedSignalData() {
94+
return configBasedSignalData;
95+
}
96+
97+
/**
98+
* Config based signal data is used to ingest signals that are generated based on the
99+
* configuration of the database resource.
100+
* @param configBasedSignalData configBasedSignalData or {@code null} for none
101+
*/
102+
public DatabaseResourceFeed setConfigBasedSignalData(ConfigBasedSignalData configBasedSignalData) {
103+
this.configBasedSignalData = configBasedSignalData;
104+
return this;
105+
}
106+
80107
/**
81108
* Required. Timestamp when feed is generated.
82109
* @return value or {@code null} for none

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Product.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ public final class Product extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private java.lang.String engine;
3939

40+
/**
41+
* Minor version of the underlying database engine. Example values: For MySQL, it could be
42+
* "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", "15.3" etc..
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String minorVersion;
47+
4048
/**
4149
* Type of specific database product. It could be CloudSQL, AlloyDB etc..
4250
* The value may be {@code null}.
@@ -69,6 +77,25 @@ public Product setEngine(java.lang.String engine) {
6977
return this;
7078
}
7179

80+
/**
81+
* Minor version of the underlying database engine. Example values: For MySQL, it could be
82+
* "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", "15.3" etc..
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getMinorVersion() {
86+
return minorVersion;
87+
}
88+
89+
/**
90+
* Minor version of the underlying database engine. Example values: For MySQL, it could be
91+
* "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", "15.3" etc..
92+
* @param minorVersion minorVersion or {@code null} for none
93+
*/
94+
public Product setMinorVersion(java.lang.String minorVersion) {
95+
this.minorVersion = minorVersion;
96+
return this;
97+
}
98+
7299
/**
73100
* Type of specific database product. It could be CloudSQL, AlloyDB etc..
74101
* @return value or {@code null} for none

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RemoteCluster.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
public final class RemoteCluster extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The full resource path of the remote cluster in the format: projects//locations//clusters/
34+
* Output only. The full resource path of the remote cluster in the format:
35+
* projects//locations//clusters/
3536
* The value may be {@code null}.
3637
*/
3738
@com.google.api.client.util.Key
@@ -45,15 +46,17 @@ public final class RemoteCluster extends com.google.api.client.json.GenericJson
4546
private java.lang.String uid;
4647

4748
/**
48-
* The full resource path of the remote cluster in the format: projects//locations//clusters/
49+
* Output only. The full resource path of the remote cluster in the format:
50+
* projects//locations//clusters/
4951
* @return value or {@code null} for none
5052
*/
5153
public java.lang.String getCluster() {
5254
return cluster;
5355
}
5456

5557
/**
56-
* The full resource path of the remote cluster in the format: projects//locations//clusters/
58+
* Output only. The full resource path of the remote cluster in the format:
59+
* projects//locations//clusters/
5760
* @param cluster cluster or {@code null} for none
5861
*/
5962
public RemoteCluster setCluster(java.lang.String cluster) {

clients/google-api-services-redis/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-redis</artifactId>
11-
<version>v1-rev20250627-2.0.0</version>
12-
<name>Google Cloud Memorystore for Redis API v1-rev20250627-2.0.0</name>
11+
<version>v1-rev20250701-2.0.0</version>
12+
<name>Google Cloud Memorystore for Redis API v1-rev20250701-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)