Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-redis/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-redis</artifactId>
<version>v1-rev20251104-2.0.0</version>
<version>v1-rev20260129-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-redis:v1-rev20251104-2.0.0'
implementation 'com.google.apis:google-api-services-redis:v1-rev20260129-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class CloudRedis extends com.google.api.client.googleapis.services.json.A
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method can be called in
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
* public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
Expand All @@ -336,7 +339,10 @@ public class List extends CloudRedisRequest<com.google.api.services.redis.v1.mod
java.util.regex.Pattern.compile("^projects/[^/]+$");

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

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

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

/**
* When set to `true`, operations that are reachable are returned as normal, and those
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
* This can only be `true` when reading across collections e.g. when `parent` is set to
* `"projects/example/locations/-"`. This field is not by default supported and will
* that are unreachable are returned in the ListOperationsResponse.unreachable field. This
* can only be `true` when reading across collections. For example, when `parent` is set
* to `"projects/example/locations/-"`. This field is not supported by default and will
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
* service or product specific documentation.
*/
Expand Down Expand Up @@ -5443,8 +5450,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.api.services.redis.v1.model;

/**
* Common model for database resource instance metadata. Next ID: 30
* Common model for database resource instance metadata. Next ID: 31
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
Expand Down Expand Up @@ -185,6 +185,13 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
@com.google.api.client.util.Key
private java.lang.String resourceContainer;

/**
* Optional. List of resource flags for the database resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<ResourceFlags> resourceFlags;

/**
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new
Expand Down Expand Up @@ -604,6 +611,23 @@ public DatabaseResourceMetadata setResourceContainer(java.lang.String resourceCo
return this;
}

/**
* Optional. List of resource flags for the database resource.
* @return value or {@code null} for none
*/
public java.util.List<ResourceFlags> getResourceFlags() {
return resourceFlags;
}

/**
* Optional. List of resource flags for the database resource.
* @param resourceFlags resourceFlags or {@code null} for none
*/
public DatabaseResourceMetadata setResourceFlags(java.util.List<ResourceFlags> resourceFlags) {
this.resourceFlags = resourceFlags;
return this;
}

/**
* Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time.
* That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen

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

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

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
* attempting to list all resources across all supported locations.
* @param unreachable unreachable or {@code null} for none
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class MachineConfiguration extends com.google.api.client.json.GenericJson {

/**
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long baselineSlots;

/**
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations
* again after bug fix.
Expand All @@ -38,6 +45,13 @@ public final class MachineConfiguration extends com.google.api.client.json.Gener
@com.google.api.client.util.Key
private java.lang.Integer cpuCount;

/**
* Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long maxReservationSlots;

/**
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
* The value may be {@code null}.
Expand All @@ -59,6 +73,23 @@ public final class MachineConfiguration extends com.google.api.client.json.Gener
@com.google.api.client.util.Key
private java.lang.Double vcpuCount;

/**
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
* @return value or {@code null} for none
*/
public java.lang.Long getBaselineSlots() {
return baselineSlots;
}

/**
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
* @param baselineSlots baselineSlots or {@code null} for none
*/
public MachineConfiguration setBaselineSlots(java.lang.Long baselineSlots) {
this.baselineSlots = baselineSlots;
return this;
}

/**
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations
* again after bug fix.
Expand All @@ -78,6 +109,23 @@ public MachineConfiguration setCpuCount(java.lang.Integer cpuCount) {
return this;
}

/**
* Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
* @return value or {@code null} for none
*/
public java.lang.Long getMaxReservationSlots() {
return maxReservationSlots;
}

/**
* Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
* @param maxReservationSlots maxReservationSlots or {@code null} for none
*/
public MachineConfiguration setMaxReservationSlots(java.lang.Long maxReservationSlots) {
this.maxReservationSlots = maxReservationSlots;
return this;
}

/**
* Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.redis.v1.model;

/**
* Message type for storing resource flags.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
* detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ResourceFlags extends com.google.api.client.json.GenericJson {

/**
* Optional. Key of the resource flag.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String key;

/**
* Optional. Value of the resource flag.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String value;

/**
* Optional. Key of the resource flag.
* @return value or {@code null} for none
*/
public java.lang.String getKey() {
return key;
}

/**
* Optional. Key of the resource flag.
* @param key key or {@code null} for none
*/
public ResourceFlags setKey(java.lang.String key) {
this.key = key;
return this;
}

/**
* Optional. Value of the resource flag.
* @return value or {@code null} for none
*/
public java.lang.String getValue() {
return value;
}

/**
* Optional. Value of the resource flag.
* @param value value or {@code null} for none
*/
public ResourceFlags setValue(java.lang.String value) {
this.value = value;
return this;
}

@Override
public ResourceFlags set(String fieldName, Object value) {
return (ResourceFlags) super.set(fieldName, value);
}

@Override
public ResourceFlags clone() {
return (ResourceFlags) super.clone();
}

}
Loading
Loading