Skip to content

Commit 99a2a00

Browse files
1 parent 7558905 commit 99a2a00

File tree

10 files changed

+438
-14
lines changed

10 files changed

+438
-14
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-rev20250718-2.0.0</version>
25+
<version>v1-rev20250729-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-rev20250718-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20250729-2.0.0'
3939
}
4040
```
4141

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
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+
* BackupDRMetadata contains information about the backup and disaster recovery metadata of a
21+
* database resource.
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 BackupDRMetadata extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Backup configuration for this instance.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private BackupConfiguration backupConfiguration;
40+
41+
/**
42+
* Latest backup run information for this instance.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private BackupRun backupRun;
47+
48+
/**
49+
* BackupDR configuration for this instance.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private BackupDRConfiguration backupdrConfiguration;
54+
55+
/**
56+
* Required. Full resource name of this instance.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String fullResourceName;
61+
62+
/**
63+
* Required. Last time backup configuration was refreshed.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private String lastRefreshTime;
68+
69+
/**
70+
* Required. Database resource id.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private DatabaseResourceId resourceId;
75+
76+
/**
77+
* Backup configuration for this instance.
78+
* @return value or {@code null} for none
79+
*/
80+
public BackupConfiguration getBackupConfiguration() {
81+
return backupConfiguration;
82+
}
83+
84+
/**
85+
* Backup configuration for this instance.
86+
* @param backupConfiguration backupConfiguration or {@code null} for none
87+
*/
88+
public BackupDRMetadata setBackupConfiguration(BackupConfiguration backupConfiguration) {
89+
this.backupConfiguration = backupConfiguration;
90+
return this;
91+
}
92+
93+
/**
94+
* Latest backup run information for this instance.
95+
* @return value or {@code null} for none
96+
*/
97+
public BackupRun getBackupRun() {
98+
return backupRun;
99+
}
100+
101+
/**
102+
* Latest backup run information for this instance.
103+
* @param backupRun backupRun or {@code null} for none
104+
*/
105+
public BackupDRMetadata setBackupRun(BackupRun backupRun) {
106+
this.backupRun = backupRun;
107+
return this;
108+
}
109+
110+
/**
111+
* BackupDR configuration for this instance.
112+
* @return value or {@code null} for none
113+
*/
114+
public BackupDRConfiguration getBackupdrConfiguration() {
115+
return backupdrConfiguration;
116+
}
117+
118+
/**
119+
* BackupDR configuration for this instance.
120+
* @param backupdrConfiguration backupdrConfiguration or {@code null} for none
121+
*/
122+
public BackupDRMetadata setBackupdrConfiguration(BackupDRConfiguration backupdrConfiguration) {
123+
this.backupdrConfiguration = backupdrConfiguration;
124+
return this;
125+
}
126+
127+
/**
128+
* Required. Full resource name of this instance.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.lang.String getFullResourceName() {
132+
return fullResourceName;
133+
}
134+
135+
/**
136+
* Required. Full resource name of this instance.
137+
* @param fullResourceName fullResourceName or {@code null} for none
138+
*/
139+
public BackupDRMetadata setFullResourceName(java.lang.String fullResourceName) {
140+
this.fullResourceName = fullResourceName;
141+
return this;
142+
}
143+
144+
/**
145+
* Required. Last time backup configuration was refreshed.
146+
* @return value or {@code null} for none
147+
*/
148+
public String getLastRefreshTime() {
149+
return lastRefreshTime;
150+
}
151+
152+
/**
153+
* Required. Last time backup configuration was refreshed.
154+
* @param lastRefreshTime lastRefreshTime or {@code null} for none
155+
*/
156+
public BackupDRMetadata setLastRefreshTime(String lastRefreshTime) {
157+
this.lastRefreshTime = lastRefreshTime;
158+
return this;
159+
}
160+
161+
/**
162+
* Required. Database resource id.
163+
* @return value or {@code null} for none
164+
*/
165+
public DatabaseResourceId getResourceId() {
166+
return resourceId;
167+
}
168+
169+
/**
170+
* Required. Database resource id.
171+
* @param resourceId resourceId or {@code null} for none
172+
*/
173+
public BackupDRMetadata setResourceId(DatabaseResourceId resourceId) {
174+
this.resourceId = resourceId;
175+
return this;
176+
}
177+
178+
@Override
179+
public BackupDRMetadata set(String fieldName, Object value) {
180+
return (BackupDRMetadata) super.set(fieldName, value);
181+
}
182+
183+
@Override
184+
public BackupDRMetadata clone() {
185+
return (BackupDRMetadata) super.clone();
186+
}
187+
188+
}

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

Lines changed: 25 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: 9
21+
* level events into Condor platform. Next ID: 10
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,13 @@
3131
@SuppressWarnings("javadoc")
3232
public final class DatabaseResourceFeed extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* BackupDR metadata is used to ingest metadata from BackupDR.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private BackupDRMetadata backupdrMetadata;
40+
3441
/**
3542
* Config based signal data is used to ingest signals that are generated based on the
3643
* configuration of the database resource.
@@ -85,6 +92,23 @@ public final class DatabaseResourceFeed extends com.google.api.client.json.Gener
8592
@com.google.api.client.util.Key
8693
private DatabaseResourceMetadata resourceMetadata;
8794

95+
/**
96+
* BackupDR metadata is used to ingest metadata from BackupDR.
97+
* @return value or {@code null} for none
98+
*/
99+
public BackupDRMetadata getBackupdrMetadata() {
100+
return backupdrMetadata;
101+
}
102+
103+
/**
104+
* BackupDR metadata is used to ingest metadata from BackupDR.
105+
* @param backupdrMetadata backupdrMetadata or {@code null} for none
106+
*/
107+
public DatabaseResourceFeed setBackupdrMetadata(BackupDRMetadata backupdrMetadata) {
108+
this.backupdrMetadata = backupdrMetadata;
109+
return this;
110+
}
111+
88112
/**
89113
* Config based signal data is used to ingest signals that are generated based on the
90114
* configuration of the database resource.

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-rev20250718-2.0.0</version>
12-
<name>Google Cloud Memorystore for Redis API v1-rev20250718-2.0.0</name>
11+
<version>v1-rev20250729-2.0.0</version>
12+
<name>Google Cloud Memorystore for Redis API v1-rev20250729-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

0 commit comments

Comments
 (0)