Skip to content

Commit 56bd9a7

Browse files
chore: regenerate redis client
1 parent 5ec85f7 commit 56bd9a7

20 files changed

+778
-44
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-rev20251104-2.0.0</version>
25+
<version>v1-rev20260129-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-rev20251104-2.0.0'
38+
implementation 'com.google.apis:google-api-services-redis:v1-rev20260129-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: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
312312
}
313313
}
314314
/**
315-
* Lists information about the supported locations for this service.
315+
* Lists information about the supported locations for this service. This method can be called in
316+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318+
* public locations as well as private or other locations specifically visible to the project.
316319
*
317320
* Create a request for the method "locations.list".
318321
*
@@ -336,7 +339,10 @@ public class List extends CloudRedisRequest<com.google.api.services.redis.v1.mod
336339
java.util.regex.Pattern.compile("^projects/[^/]+$");
337340

338341
/**
339-
* Lists information about the supported locations for this service.
342+
* Lists information about the supported locations for this service. This method can be called in
343+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345+
* public locations as well as private or other locations specifically visible to the project.
340346
*
341347
* Create a request for the method "locations.list".
342348
*
@@ -5369,30 +5375,31 @@ public List setPageToken(java.lang.String pageToken) {
53695375

53705376
/**
53715377
* When set to `true`, operations that are reachable are returned as normal, and those
5372-
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
5373-
* This can only be `true` when reading across collections e.g. when `parent` is set to
5374-
* `"projects/example/locations/-"`. This field is not by default supported and will
5378+
* that are unreachable are returned in the ListOperationsResponse.unreachable field. This
5379+
* can only be `true` when reading across collections. For example, when `parent` is set
5380+
* to `"projects/example/locations/-"`. This field is not supported by default and will
53755381
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
53765382
* service or product specific documentation.
53775383
*/
53785384
@com.google.api.client.util.Key
53795385
private java.lang.Boolean returnPartialSuccess;
53805386

53815387
/** When set to `true`, operations that are reachable are returned as normal, and those that are
5382-
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
5383-
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
5384-
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
5385-
explicitly documented otherwise in service or product specific documentation.
5388+
unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
5389+
when reading across collections. For example, when `parent` is set to
5390+
`"projects/example/locations/-"`. This field is not supported by default and will result in an
5391+
`UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
5392+
documentation.
53865393
*/
53875394
public java.lang.Boolean getReturnPartialSuccess() {
53885395
return returnPartialSuccess;
53895396
}
53905397

53915398
/**
53925399
* When set to `true`, operations that are reachable are returned as normal, and those
5393-
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
5394-
* This can only be `true` when reading across collections e.g. when `parent` is set to
5395-
* `"projects/example/locations/-"`. This field is not by default supported and will
5400+
* that are unreachable are returned in the ListOperationsResponse.unreachable field. This
5401+
* can only be `true` when reading across collections. For example, when `parent` is set
5402+
* to `"projects/example/locations/-"`. This field is not supported by default and will
53965403
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
53975404
* service or product specific documentation.
53985405
*/

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/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.v1.model;
1818

1919
/**
20-
* Common model for database resource instance metadata. Next ID: 30
20+
* Common model for database resource instance metadata. Next ID: 31
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
@@ -185,6 +185,13 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
185185
@com.google.api.client.util.Key
186186
private java.lang.String resourceContainer;
187187

188+
/**
189+
* Optional. List of resource flags for the database resource.
190+
* The value may be {@code null}.
191+
*/
192+
@com.google.api.client.util.Key
193+
private java.util.List<ResourceFlags> resourceFlags;
194+
188195
/**
189196
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
190197
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new
@@ -604,6 +611,23 @@ public DatabaseResourceMetadata setResourceContainer(java.lang.String resourceCo
604611
return this;
605612
}
606613

614+
/**
615+
* Optional. List of resource flags for the database resource.
616+
* @return value or {@code null} for none
617+
*/
618+
public java.util.List<ResourceFlags> getResourceFlags() {
619+
return resourceFlags;
620+
}
621+
622+
/**
623+
* Optional. List of resource flags for the database resource.
624+
* @param resourceFlags resourceFlags or {@code null} for none
625+
*/
626+
public DatabaseResourceMetadata setResourceFlags(java.util.List<ResourceFlags> resourceFlags) {
627+
this.resourceFlags = resourceFlags;
628+
return this;
629+
}
630+
607631
/**
608632
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
609633
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen
4646

4747
/**
4848
* Unordered list. Unreachable resources. Populated when the request sets
49-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
49+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
5050
* attempting to list all resources across all supported locations.
5151
* The value may be {@code null}.
5252
*/
@@ -89,7 +89,7 @@ public ListOperationsResponse setOperations(java.util.List<Operation> operations
8989

9090
/**
9191
* Unordered list. Unreachable resources. Populated when the request sets
92-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
92+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
9393
* attempting to list all resources across all supported locations.
9494
* @return value or {@code null} for none
9595
*/
@@ -99,7 +99,7 @@ public java.util.List<java.lang.String> getUnreachable() {
9999

100100
/**
101101
* Unordered list. Unreachable resources. Populated when the request sets
102-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
102+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
103103
* attempting to list all resources across all supported locations.
104104
* @param unreachable unreachable or {@code null} for none
105105
*/

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

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

33+
/**
34+
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
38+
private java.lang.Long baselineSlots;
39+
3340
/**
3441
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations
3542
* again after bug fix.
@@ -38,6 +45,13 @@ public final class MachineConfiguration extends com.google.api.client.json.Gener
3845
@com.google.api.client.util.Key
3946
private java.lang.Integer cpuCount;
4047

48+
/**
49+
* Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
53+
private java.lang.Long maxReservationSlots;
54+
4155
/**
4256
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
4357
* The value may be {@code null}.
@@ -59,6 +73,23 @@ public final class MachineConfiguration extends com.google.api.client.json.Gener
5973
@com.google.api.client.util.Key
6074
private java.lang.Double vcpuCount;
6175

76+
/**
77+
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
78+
* @return value or {@code null} for none
79+
*/
80+
public java.lang.Long getBaselineSlots() {
81+
return baselineSlots;
82+
}
83+
84+
/**
85+
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
86+
* @param baselineSlots baselineSlots or {@code null} for none
87+
*/
88+
public MachineConfiguration setBaselineSlots(java.lang.Long baselineSlots) {
89+
this.baselineSlots = baselineSlots;
90+
return this;
91+
}
92+
6293
/**
6394
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations
6495
* again after bug fix.
@@ -78,6 +109,23 @@ public MachineConfiguration setCpuCount(java.lang.Integer cpuCount) {
78109
return this;
79110
}
80111

112+
/**
113+
* Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
114+
* @return value or {@code null} for none
115+
*/
116+
public java.lang.Long getMaxReservationSlots() {
117+
return maxReservationSlots;
118+
}
119+
120+
/**
121+
* Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
122+
* @param maxReservationSlots maxReservationSlots or {@code null} for none
123+
*/
124+
public MachineConfiguration setMaxReservationSlots(java.lang.Long maxReservationSlots) {
125+
this.maxReservationSlots = maxReservationSlots;
126+
return this;
127+
}
128+
81129
/**
82130
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
83131
* @return value or {@code null} for none
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* Message type for storing resource flags.
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 ResourceFlags extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Key of the resource flag.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String key;
39+
40+
/**
41+
* Optional. Value of the resource flag.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String value;
46+
47+
/**
48+
* Optional. Key of the resource flag.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getKey() {
52+
return key;
53+
}
54+
55+
/**
56+
* Optional. Key of the resource flag.
57+
* @param key key or {@code null} for none
58+
*/
59+
public ResourceFlags setKey(java.lang.String key) {
60+
this.key = key;
61+
return this;
62+
}
63+
64+
/**
65+
* Optional. Value of the resource flag.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getValue() {
69+
return value;
70+
}
71+
72+
/**
73+
* Optional. Value of the resource flag.
74+
* @param value value or {@code null} for none
75+
*/
76+
public ResourceFlags setValue(java.lang.String value) {
77+
this.value = value;
78+
return this;
79+
}
80+
81+
@Override
82+
public ResourceFlags set(String fieldName, Object value) {
83+
return (ResourceFlags) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public ResourceFlags clone() {
88+
return (ResourceFlags) super.clone();
89+
}
90+
91+
}

0 commit comments

Comments
 (0)