Skip to content

Commit 46ceeb6

Browse files
1 parent 1112366 commit 46ceeb6

35 files changed

+5398
-22
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-rev20241017-2.0.0</version>
25+
<version>v1-rev20241114-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-rev20241017-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20241114-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 1195 additions & 2 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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+
* The automated backup config for a cluster.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
24+
* detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AutomatedBackupConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String automatedBackupMode;
39+
40+
/**
41+
* Optional. Trigger automated backups at a fixed frequency.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private FixedFrequencySchedule fixedFrequencySchedule;
46+
47+
/**
48+
* Optional. How long to keep automated backups before the backups are deleted. If not specified,
49+
* the default value is 100 years which is also the maximum value supported. The minimum value is
50+
* 1 day.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private String retention;
55+
56+
/**
57+
* Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getAutomatedBackupMode() {
61+
return automatedBackupMode;
62+
}
63+
64+
/**
65+
* Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
66+
* @param automatedBackupMode automatedBackupMode or {@code null} for none
67+
*/
68+
public AutomatedBackupConfig setAutomatedBackupMode(java.lang.String automatedBackupMode) {
69+
this.automatedBackupMode = automatedBackupMode;
70+
return this;
71+
}
72+
73+
/**
74+
* Optional. Trigger automated backups at a fixed frequency.
75+
* @return value or {@code null} for none
76+
*/
77+
public FixedFrequencySchedule getFixedFrequencySchedule() {
78+
return fixedFrequencySchedule;
79+
}
80+
81+
/**
82+
* Optional. Trigger automated backups at a fixed frequency.
83+
* @param fixedFrequencySchedule fixedFrequencySchedule or {@code null} for none
84+
*/
85+
public AutomatedBackupConfig setFixedFrequencySchedule(FixedFrequencySchedule fixedFrequencySchedule) {
86+
this.fixedFrequencySchedule = fixedFrequencySchedule;
87+
return this;
88+
}
89+
90+
/**
91+
* Optional. How long to keep automated backups before the backups are deleted. If not specified,
92+
* the default value is 100 years which is also the maximum value supported. The minimum value is
93+
* 1 day.
94+
* @return value or {@code null} for none
95+
*/
96+
public String getRetention() {
97+
return retention;
98+
}
99+
100+
/**
101+
* Optional. How long to keep automated backups before the backups are deleted. If not specified,
102+
* the default value is 100 years which is also the maximum value supported. The minimum value is
103+
* 1 day.
104+
* @param retention retention or {@code null} for none
105+
*/
106+
public AutomatedBackupConfig setRetention(String retention) {
107+
this.retention = retention;
108+
return this;
109+
}
110+
111+
@Override
112+
public AutomatedBackupConfig set(String fieldName, Object value) {
113+
return (AutomatedBackupConfig) super.set(fieldName, value);
114+
}
115+
116+
@Override
117+
public AutomatedBackupConfig clone() {
118+
return (AutomatedBackupConfig) super.clone();
119+
}
120+
121+
}

0 commit comments

Comments
 (0)