Skip to content

Commit 0cecb69

Browse files
1 parent eb2f5d1 commit 0cecb69

File tree

12 files changed

+176
-20
lines changed

12 files changed

+176
-20
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-rev20240918-2.0.0</version>
25+
<version>v1-rev20240924-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-rev20240918-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20240924-2.0.0'
3939
}
4040
```
4141

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

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

1919
/**
20-
* Common model for database resource instance metadata. Next ID: 21
20+
* Common model for database resource instance metadata. Next ID: 23
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
@@ -73,6 +73,14 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
7373
@com.google.api.client.util.Key
7474
private CustomMetadataData customMetadata;
7575

76+
/**
77+
* Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This
78+
* information is core to Cloud SQL only and is used to identify the edition of the instance.
79+
* The value may be {@code null}.
80+
*/
81+
@com.google.api.client.util.Key
82+
private java.lang.String edition;
83+
7684
/**
7785
* Entitlements associated with the resource
7886
* The value may be {@code null}.
@@ -125,6 +133,14 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
125133
@com.google.api.client.util.Key
126134
private DatabaseResourceId primaryResourceId;
127135

136+
/**
137+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is
138+
* getting ingested, otherwise optional.
139+
* The value may be {@code null}.
140+
*/
141+
@com.google.api.client.util.Key
142+
private java.lang.String primaryResourceLocation;
143+
128144
/**
129145
* The product this resource represents.
130146
* The value may be {@code null}.
@@ -276,6 +292,25 @@ public DatabaseResourceMetadata setCustomMetadata(CustomMetadataData customMetad
276292
return this;
277293
}
278294

295+
/**
296+
* Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This
297+
* information is core to Cloud SQL only and is used to identify the edition of the instance.
298+
* @return value or {@code null} for none
299+
*/
300+
public java.lang.String getEdition() {
301+
return edition;
302+
}
303+
304+
/**
305+
* Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This
306+
* information is core to Cloud SQL only and is used to identify the edition of the instance.
307+
* @param edition edition or {@code null} for none
308+
*/
309+
public DatabaseResourceMetadata setEdition(java.lang.String edition) {
310+
this.edition = edition;
311+
return this;
312+
}
313+
279314
/**
280315
* Entitlements associated with the resource
281316
* @return value or {@code null} for none
@@ -401,6 +436,25 @@ public DatabaseResourceMetadata setPrimaryResourceId(DatabaseResourceId primaryR
401436
return this;
402437
}
403438

439+
/**
440+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is
441+
* getting ingested, otherwise optional.
442+
* @return value or {@code null} for none
443+
*/
444+
public java.lang.String getPrimaryResourceLocation() {
445+
return primaryResourceLocation;
446+
}
447+
448+
/**
449+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is
450+
* getting ingested, otherwise optional.
451+
* @param primaryResourceLocation primaryResourceLocation or {@code null} for none
452+
*/
453+
public DatabaseResourceMetadata setPrimaryResourceLocation(java.lang.String primaryResourceLocation) {
454+
this.primaryResourceLocation = primaryResourceLocation;
455+
return this;
456+
}
457+
404458
/**
405459
* The product this resource represents.
406460
* @return value or {@code null} for none

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public final class PscConnection extends com.google.api.client.json.GenericJson
6161
private java.lang.String projectId;
6262

6363
/**
64-
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
64+
* Required. The PSC connection id of the forwarding rule connected to the service attachment.
6565
* The value may be {@code null}.
6666
*/
6767
@com.google.api.client.util.Key
@@ -148,15 +148,15 @@ public PscConnection setProjectId(java.lang.String projectId) {
148148
}
149149

150150
/**
151-
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
151+
* Required. The PSC connection id of the forwarding rule connected to the service attachment.
152152
* @return value or {@code null} for none
153153
*/
154154
public java.lang.String getPscConnectionId() {
155155
return pscConnectionId;
156156
}
157157

158158
/**
159-
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
159+
* Required. The PSC connection id of the forwarding rule connected to the service attachment.
160160
* @param pscConnectionId pscConnectionId or {@code null} for none
161161
*/
162162
public PscConnection setPscConnectionId(java.lang.String pscConnectionId) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class RetentionSettings extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Duration based retention period i.e. 172800 seconds (2 days)
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String durationBasedRetention;
39+
3340
/**
3441
* The value may be {@code null}.
3542
*/
@@ -49,6 +56,23 @@ public final class RetentionSettings extends com.google.api.client.json.GenericJ
4956
@com.google.api.client.util.Key
5057
private String timeBasedRetention;
5158

59+
/**
60+
* Duration based retention period i.e. 172800 seconds (2 days)
61+
* @return value or {@code null} for none
62+
*/
63+
public String getDurationBasedRetention() {
64+
return durationBasedRetention;
65+
}
66+
67+
/**
68+
* Duration based retention period i.e. 172800 seconds (2 days)
69+
* @param durationBasedRetention durationBasedRetention or {@code null} for none
70+
*/
71+
public RetentionSettings setDurationBasedRetention(String durationBasedRetention) {
72+
this.durationBasedRetention = durationBasedRetention;
73+
return this;
74+
}
75+
5276
/**
5377
* @return value or {@code null} for none
5478
*/

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-rev20240918-2.0.0</version>
12-
<name>Google Cloud Memorystore for Redis API v1-rev20240918-2.0.0</name>
11+
<version>v1-rev20240924-2.0.0</version>
12+
<name>Google Cloud Memorystore for Redis API v1-rev20240924-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-rev20240918-2.0.0</version>
25+
<version>v1-rev20240924-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-rev20240918-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20240924-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-rev20240918-2.0.0</version>
25+
<version>v1beta1-rev20240924-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-rev20240918-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20240924-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 55 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: 21
20+
* Common model for database resource instance metadata. Next ID: 23
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
@@ -73,6 +73,14 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
7373
@com.google.api.client.util.Key
7474
private CustomMetadataData customMetadata;
7575

76+
/**
77+
* Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This
78+
* information is core to Cloud SQL only and is used to identify the edition of the instance.
79+
* The value may be {@code null}.
80+
*/
81+
@com.google.api.client.util.Key
82+
private java.lang.String edition;
83+
7684
/**
7785
* Entitlements associated with the resource
7886
* The value may be {@code null}.
@@ -125,6 +133,14 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
125133
@com.google.api.client.util.Key
126134
private DatabaseResourceId primaryResourceId;
127135

136+
/**
137+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is
138+
* getting ingested, otherwise optional.
139+
* The value may be {@code null}.
140+
*/
141+
@com.google.api.client.util.Key
142+
private java.lang.String primaryResourceLocation;
143+
128144
/**
129145
* The product this resource represents.
130146
* The value may be {@code null}.
@@ -276,6 +292,25 @@ public DatabaseResourceMetadata setCustomMetadata(CustomMetadataData customMetad
276292
return this;
277293
}
278294

295+
/**
296+
* Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This
297+
* information is core to Cloud SQL only and is used to identify the edition of the instance.
298+
* @return value or {@code null} for none
299+
*/
300+
public java.lang.String getEdition() {
301+
return edition;
302+
}
303+
304+
/**
305+
* Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This
306+
* information is core to Cloud SQL only and is used to identify the edition of the instance.
307+
* @param edition edition or {@code null} for none
308+
*/
309+
public DatabaseResourceMetadata setEdition(java.lang.String edition) {
310+
this.edition = edition;
311+
return this;
312+
}
313+
279314
/**
280315
* Entitlements associated with the resource
281316
* @return value or {@code null} for none
@@ -401,6 +436,25 @@ public DatabaseResourceMetadata setPrimaryResourceId(DatabaseResourceId primaryR
401436
return this;
402437
}
403438

439+
/**
440+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is
441+
* getting ingested, otherwise optional.
442+
* @return value or {@code null} for none
443+
*/
444+
public java.lang.String getPrimaryResourceLocation() {
445+
return primaryResourceLocation;
446+
}
447+
448+
/**
449+
* Primary resource location. REQUIRED if the immediate parent exists when first time resource is
450+
* getting ingested, otherwise optional.
451+
* @param primaryResourceLocation primaryResourceLocation or {@code null} for none
452+
*/
453+
public DatabaseResourceMetadata setPrimaryResourceLocation(java.lang.String primaryResourceLocation) {
454+
this.primaryResourceLocation = primaryResourceLocation;
455+
return this;
456+
}
457+
404458
/**
405459
* The product this resource represents.
406460
* @return value or {@code null} for none

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public final class PscConnection extends com.google.api.client.json.GenericJson
6161
private java.lang.String projectId;
6262

6363
/**
64-
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
64+
* Required. The PSC connection id of the forwarding rule connected to the service attachment.
6565
* The value may be {@code null}.
6666
*/
6767
@com.google.api.client.util.Key
@@ -148,15 +148,15 @@ public PscConnection setProjectId(java.lang.String projectId) {
148148
}
149149

150150
/**
151-
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
151+
* Required. The PSC connection id of the forwarding rule connected to the service attachment.
152152
* @return value or {@code null} for none
153153
*/
154154
public java.lang.String getPscConnectionId() {
155155
return pscConnectionId;
156156
}
157157

158158
/**
159-
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
159+
* Required. The PSC connection id of the forwarding rule connected to the service attachment.
160160
* @param pscConnectionId pscConnectionId or {@code null} for none
161161
*/
162162
public PscConnection setPscConnectionId(java.lang.String pscConnectionId) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class RetentionSettings extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Duration based retention period i.e. 172800 seconds (2 days)
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String durationBasedRetention;
39+
3340
/**
3441
* The value may be {@code null}.
3542
*/
@@ -49,6 +56,23 @@ public final class RetentionSettings extends com.google.api.client.json.GenericJ
4956
@com.google.api.client.util.Key
5057
private String timeBasedRetention;
5158

59+
/**
60+
* Duration based retention period i.e. 172800 seconds (2 days)
61+
* @return value or {@code null} for none
62+
*/
63+
public String getDurationBasedRetention() {
64+
return durationBasedRetention;
65+
}
66+
67+
/**
68+
* Duration based retention period i.e. 172800 seconds (2 days)
69+
* @param durationBasedRetention durationBasedRetention or {@code null} for none
70+
*/
71+
public RetentionSettings setDurationBasedRetention(String durationBasedRetention) {
72+
this.durationBasedRetention = durationBasedRetention;
73+
return this;
74+
}
75+
5276
/**
5377
* @return value or {@code null} for none
5478
*/

0 commit comments

Comments
 (0)