From e8e5461b7bd9438a3b216fedc6c827cfc7481e24 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 7 Feb 2026 17:17:12 -0800 Subject: [PATCH] chore: regenerate firebasedataconnect client --- .../v1/2.0.0/README.md | 4 +- .../v1/FirebaseDataConnect.java | 10 +- .../v1/model/ClientCache.java | 118 ++++++++++++++ .../v1/model/Connector.java | 24 +++ .../v1/model/DataConnectProperties.java | 148 ++++++++++++++++++ .../v1/model/ExecuteMutationResponse.java | 24 +++ .../v1/model/ExecuteQueryResponse.java | 24 +++ .../v1/model/GraphqlResponse.java | 33 +++- .../v1/model/GraphqlResponseExtensions.java | 74 +++++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta/2.0.0/README.md | 4 +- .../v1beta/FirebaseDataConnect.java | 10 +- .../v1beta/model/ClientCache.java | 118 ++++++++++++++ .../v1beta/model/Connector.java | 24 +++ .../v1beta/model/DataConnectProperties.java | 148 ++++++++++++++++++ .../v1beta/model/ExecuteMutationResponse.java | 24 +++ .../v1beta/model/ExecuteQueryResponse.java | 24 +++ .../v1beta/model/GraphqlResponse.java | 33 +++- .../model/GraphqlResponseExtensions.java | 74 +++++++++ .../v1beta/2.0.0/pom.xml | 4 +- .../v1beta/README.md | 4 +- 22 files changed, 912 insertions(+), 22 deletions(-) create mode 100644 clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ClientCache.java create mode 100644 clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/DataConnectProperties.java create mode 100644 clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponseExtensions.java create mode 100644 clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ClientCache.java create mode 100644 clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/DataConnectProperties.java create mode 100644 clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponseExtensions.java diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md b/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md index 6c2a3125696..55c2db31f15 100644 --- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebasedataconnect - v1-rev20260111-2.0.0 + v1-rev20260201-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebasedataconnect:v1-rev20260111-2.0.0' + implementation 'com.google.apis:google-api-services-firebasedataconnect:v1-rev20260201-2.0.0' } ``` diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java index f648b5fec6d..7ad26f2174b 100644 --- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java @@ -313,7 +313,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". * @@ -337,7 +340,10 @@ public class List extends FirebaseDataConnectRequest 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 Firebase Data Connect API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ClientCache extends com.google.api.client.json.GenericJson { + + /** + * Optional. A field that, if true, means that responses served by this connector will include + * entityIds in GraphQL response extensions. This helps the client SDK cache responses in an + * improved way, known as "normalized caching", if caching is enabled on the client. Each entityId + * is a stable key based on primary key values. Therefore, this field should only be set to true + * if the primary keys of accessed tables do not contain sensitive information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean entityIdIncluded; + + /** + * Optional. A field that, if true, enables stricter validation on the connector source code to + * make sure the operation response shapes are suitable for client-side caching. This can include + * additional errors and warnings. For example, using the same alias for different fields is + * disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off + * by default for compatibility, but enabling it is highly recommended to catch common caching + * pitfalls.) + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean strictValidationEnabled; + + /** + * Optional. A field that, if true, means that responses served by this connector will include + * entityIds in GraphQL response extensions. This helps the client SDK cache responses in an + * improved way, known as "normalized caching", if caching is enabled on the client. Each entityId + * is a stable key based on primary key values. Therefore, this field should only be set to true + * if the primary keys of accessed tables do not contain sensitive information. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEntityIdIncluded() { + return entityIdIncluded; + } + + /** + * Optional. A field that, if true, means that responses served by this connector will include + * entityIds in GraphQL response extensions. This helps the client SDK cache responses in an + * improved way, known as "normalized caching", if caching is enabled on the client. Each entityId + * is a stable key based on primary key values. Therefore, this field should only be set to true + * if the primary keys of accessed tables do not contain sensitive information. + * @param entityIdIncluded entityIdIncluded or {@code null} for none + */ + public ClientCache setEntityIdIncluded(java.lang.Boolean entityIdIncluded) { + this.entityIdIncluded = entityIdIncluded; + return this; + } + + /** + * Optional. A field that, if true, enables stricter validation on the connector source code to + * make sure the operation response shapes are suitable for client-side caching. This can include + * additional errors and warnings. For example, using the same alias for different fields is + * disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off + * by default for compatibility, but enabling it is highly recommended to catch common caching + * pitfalls.) + * @return value or {@code null} for none + */ + public java.lang.Boolean getStrictValidationEnabled() { + return strictValidationEnabled; + } + + /** + * Optional. A field that, if true, enables stricter validation on the connector source code to + * make sure the operation response shapes are suitable for client-side caching. This can include + * additional errors and warnings. For example, using the same alias for different fields is + * disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off + * by default for compatibility, but enabling it is highly recommended to catch common caching + * pitfalls.) + * @param strictValidationEnabled strictValidationEnabled or {@code null} for none + */ + public ClientCache setStrictValidationEnabled(java.lang.Boolean strictValidationEnabled) { + this.strictValidationEnabled = strictValidationEnabled; + return this; + } + + @Override + public ClientCache set(String fieldName, Object value) { + return (ClientCache) super.set(fieldName, value); + } + + @Override + public ClientCache clone() { + return (ClientCache) super.clone(); + } + +} diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Connector.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Connector.java index 548d8d9defb..e46af5f44cc 100644 --- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Connector.java +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Connector.java @@ -37,6 +37,13 @@ public final class Connector extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map annotations; + /** + * Optional. The client cache settings of the connector. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ClientCache clientCache; + /** * Output only. [Output only] Create time stamp. * The value may be {@code null}. @@ -121,6 +128,23 @@ public Connector setAnnotations(java.util.Map annotati return this; } + /** + * Optional. The client cache settings of the connector. + * @return value or {@code null} for none + */ + public ClientCache getClientCache() { + return clientCache; + } + + /** + * Optional. The client cache settings of the connector. + * @param clientCache clientCache or {@code null} for none + */ + public Connector setClientCache(ClientCache clientCache) { + this.clientCache = clientCache; + return this; + } + /** * Output only. [Output only] Create time stamp. * @return value or {@code null} for none diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/DataConnectProperties.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/DataConnectProperties.java new file mode 100644 index 00000000000..790a37efb74 --- /dev/null +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/DataConnectProperties.java @@ -0,0 +1,148 @@ +/* + * 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.firebasedataconnect.v1.model; + +/** + * Data Connect specific properties for a path under response.data. + * + *

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 Firebase Data Connect API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class DataConnectProperties extends com.google.api.client.json.GenericJson { + + /** + * A single Entity ID. Set if the path points to a single entity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String entityId; + + /** + * A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each + * element of the array at the corresponding index. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List entityIds; + + /** + * The server-suggested duration before data under path is considered stale. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String maxAge; + + /** + * The path under response.data where the rest of the fields apply. Each element may be a string + * (field name) or number (array index). The root of response.data is denoted by the empty list + * `[]`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List path; + + /** + * A single Entity ID. Set if the path points to a single entity. + * @return value or {@code null} for none + */ + public java.lang.String getEntityId() { + return entityId; + } + + /** + * A single Entity ID. Set if the path points to a single entity. + * @param entityId entityId or {@code null} for none + */ + public DataConnectProperties setEntityId(java.lang.String entityId) { + this.entityId = entityId; + return this; + } + + /** + * A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each + * element of the array at the corresponding index. + * @return value or {@code null} for none + */ + public java.util.List getEntityIds() { + return entityIds; + } + + /** + * A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each + * element of the array at the corresponding index. + * @param entityIds entityIds or {@code null} for none + */ + public DataConnectProperties setEntityIds(java.util.List entityIds) { + this.entityIds = entityIds; + return this; + } + + /** + * The server-suggested duration before data under path is considered stale. + * @return value or {@code null} for none + */ + public String getMaxAge() { + return maxAge; + } + + /** + * The server-suggested duration before data under path is considered stale. + * @param maxAge maxAge or {@code null} for none + */ + public DataConnectProperties setMaxAge(String maxAge) { + this.maxAge = maxAge; + return this; + } + + /** + * The path under response.data where the rest of the fields apply. Each element may be a string + * (field name) or number (array index). The root of response.data is denoted by the empty list + * `[]`. + * @return value or {@code null} for none + */ + public java.util.List getPath() { + return path; + } + + /** + * The path under response.data where the rest of the fields apply. Each element may be a string + * (field name) or number (array index). The root of response.data is denoted by the empty list + * `[]`. + * @param path path or {@code null} for none + */ + public DataConnectProperties setPath(java.util.List path) { + this.path = path; + return this; + } + + @Override + public DataConnectProperties set(String fieldName, Object value) { + return (DataConnectProperties) super.set(fieldName, value); + } + + @Override + public DataConnectProperties clone() { + return (DataConnectProperties) super.clone(); + } + +} diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteMutationResponse.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteMutationResponse.java index e0272790cff..bcacf0fa36c 100644 --- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteMutationResponse.java +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteMutationResponse.java @@ -44,6 +44,13 @@ public final class ExecuteMutationResponse extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.util.List errors; + /** + * Additional response information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GraphqlResponseExtensions extensions; + /** * The result of executing the requested operation. * @return value or {@code null} for none @@ -78,6 +85,23 @@ public ExecuteMutationResponse setErrors(java.util.List errors) { return this; } + /** + * Additional response information. + * @return value or {@code null} for none + */ + public GraphqlResponseExtensions getExtensions() { + return extensions; + } + + /** + * Additional response information. + * @param extensions extensions or {@code null} for none + */ + public ExecuteMutationResponse setExtensions(GraphqlResponseExtensions extensions) { + this.extensions = extensions; + return this; + } + @Override public ExecuteMutationResponse set(String fieldName, Object value) { return (ExecuteMutationResponse) super.set(fieldName, value); diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteQueryResponse.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteQueryResponse.java index f209aad5518..a1b939da05a 100644 --- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteQueryResponse.java +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/ExecuteQueryResponse.java @@ -44,6 +44,13 @@ public final class ExecuteQueryResponse extends com.google.api.client.json.Gener @com.google.api.client.util.Key private java.util.List errors; + /** + * Additional response information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GraphqlResponseExtensions extensions; + /** * The result of executing the requested operation. * @return value or {@code null} for none @@ -78,6 +85,23 @@ public ExecuteQueryResponse setErrors(java.util.List errors) { return this; } + /** + * Additional response information. + * @return value or {@code null} for none + */ + public GraphqlResponseExtensions getExtensions() { + return extensions; + } + + /** + * Additional response information. + * @param extensions extensions or {@code null} for none + */ + public ExecuteQueryResponse setExtensions(GraphqlResponseExtensions extensions) { + this.extensions = extensions; + return this; + } + @Override public ExecuteQueryResponse set(String fieldName, Object value) { return (ExecuteQueryResponse) super.set(fieldName, value); diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponse.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponse.java index 641f9ea9a4a..e49627b96ca 100644 --- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponse.java +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponse.java @@ -45,7 +45,7 @@ public final class GraphqlResponse extends com.google.api.client.json.GenericJso /** * Errors of this response. If the data entry in the response is not present, the errors entry - * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors. + * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors . * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -57,6 +57,14 @@ public final class GraphqlResponse extends com.google.api.client.json.GenericJso com.google.api.client.util.Data.nullOf(GraphqlError.class); } + /** + * Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions + * . + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GraphqlResponseExtensions extensions; + /** * The result of the execution of the requested operation. If an error was raised before execution * begins, the data entry should not be present in the result. (a request error: @@ -84,7 +92,7 @@ public GraphqlResponse setData(java.util.Map data) { /** * Errors of this response. If the data entry in the response is not present, the errors entry - * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors. + * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors . * @return value or {@code null} for none */ public java.util.List getErrors() { @@ -93,7 +101,7 @@ public java.util.List getErrors() { /** * Errors of this response. If the data entry in the response is not present, the errors entry - * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors. + * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors . * @param errors errors or {@code null} for none */ public GraphqlResponse setErrors(java.util.List errors) { @@ -101,6 +109,25 @@ public GraphqlResponse setErrors(java.util.List errors) { return this; } + /** + * Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions + * . + * @return value or {@code null} for none + */ + public GraphqlResponseExtensions getExtensions() { + return extensions; + } + + /** + * Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions + * . + * @param extensions extensions or {@code null} for none + */ + public GraphqlResponse setExtensions(GraphqlResponseExtensions extensions) { + this.extensions = extensions; + return this; + } + @Override public GraphqlResponse set(String fieldName, Object value) { return (GraphqlResponse) super.set(fieldName, value); diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponseExtensions.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponseExtensions.java new file mode 100644 index 00000000000..419bb6f4aa4 --- /dev/null +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/GraphqlResponseExtensions.java @@ -0,0 +1,74 @@ +/* + * 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.firebasedataconnect.v1.model; + +/** + * GraphqlResponseExtensions contains additional information of `GraphqlResponse` or + * `ExecuteQueryResponse`. + * + *

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 Firebase Data Connect API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GraphqlResponseExtensions extends com.google.api.client.json.GenericJson { + + /** + * Data Connect specific GraphQL extension, a list of paths and properties. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dataConnect; + + static { + // hack to force ProGuard to consider DataConnectProperties used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(DataConnectProperties.class); + } + + /** + * Data Connect specific GraphQL extension, a list of paths and properties. + * @return value or {@code null} for none + */ + public java.util.List getDataConnect() { + return dataConnect; + } + + /** + * Data Connect specific GraphQL extension, a list of paths and properties. + * @param dataConnect dataConnect or {@code null} for none + */ + public GraphqlResponseExtensions setDataConnect(java.util.List dataConnect) { + this.dataConnect = dataConnect; + return this; + } + + @Override + public GraphqlResponseExtensions set(String fieldName, Object value) { + return (GraphqlResponseExtensions) super.set(fieldName, value); + } + + @Override + public GraphqlResponseExtensions clone() { + return (GraphqlResponseExtensions) super.clone(); + } + +} diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml b/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml index 3882de2c317..df4ae410af7 100644 --- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml +++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firebasedataconnect - v1-rev20260111-2.0.0 - Firebase Data Connect API v1-rev20260111-2.0.0 + v1-rev20260201-2.0.0 + Firebase Data Connect API v1-rev20260201-2.0.0 jar 2011 diff --git a/clients/google-api-services-firebasedataconnect/v1/README.md b/clients/google-api-services-firebasedataconnect/v1/README.md index 6c2a3125696..55c2db31f15 100644 --- a/clients/google-api-services-firebasedataconnect/v1/README.md +++ b/clients/google-api-services-firebasedataconnect/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebasedataconnect - v1-rev20260111-2.0.0 + v1-rev20260201-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebasedataconnect:v1-rev20260111-2.0.0' + implementation 'com.google.apis:google-api-services-firebasedataconnect:v1-rev20260201-2.0.0' } ``` diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/README.md b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/README.md index f293eae5a37..faea13c2b8d 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/README.md +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebasedataconnect - v1beta-rev20260111-2.0.0 + v1beta-rev20260201-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebasedataconnect:v1beta-rev20260111-2.0.0' + implementation 'com.google.apis:google-api-services-firebasedataconnect:v1beta-rev20260201-2.0.0' } ``` diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/FirebaseDataConnect.java b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/FirebaseDataConnect.java index de251fb2fc8..0a38c71f9cc 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/FirebaseDataConnect.java +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/FirebaseDataConnect.java @@ -313,7 +313,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". * @@ -337,7 +340,10 @@ public class List extends FirebaseDataConnectRequest 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 Firebase Data Connect API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ClientCache extends com.google.api.client.json.GenericJson { + + /** + * Optional. A field that, if true, means that responses served by this connector will include + * entityIds in GraphQL response extensions. This helps the client SDK cache responses in an + * improved way, known as "normalized caching", if caching is enabled on the client. Each entityId + * is a stable key based on primary key values. Therefore, this field should only be set to true + * if the primary keys of accessed tables do not contain sensitive information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean entityIdIncluded; + + /** + * Optional. A field that, if true, enables stricter validation on the connector source code to + * make sure the operation response shapes are suitable for client-side caching. This can include + * additional errors and warnings. For example, using the same alias for different fields is + * disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off + * by default for compatibility, but enabling it is highly recommended to catch common caching + * pitfalls.) + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean strictValidationEnabled; + + /** + * Optional. A field that, if true, means that responses served by this connector will include + * entityIds in GraphQL response extensions. This helps the client SDK cache responses in an + * improved way, known as "normalized caching", if caching is enabled on the client. Each entityId + * is a stable key based on primary key values. Therefore, this field should only be set to true + * if the primary keys of accessed tables do not contain sensitive information. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEntityIdIncluded() { + return entityIdIncluded; + } + + /** + * Optional. A field that, if true, means that responses served by this connector will include + * entityIds in GraphQL response extensions. This helps the client SDK cache responses in an + * improved way, known as "normalized caching", if caching is enabled on the client. Each entityId + * is a stable key based on primary key values. Therefore, this field should only be set to true + * if the primary keys of accessed tables do not contain sensitive information. + * @param entityIdIncluded entityIdIncluded or {@code null} for none + */ + public ClientCache setEntityIdIncluded(java.lang.Boolean entityIdIncluded) { + this.entityIdIncluded = entityIdIncluded; + return this; + } + + /** + * Optional. A field that, if true, enables stricter validation on the connector source code to + * make sure the operation response shapes are suitable for client-side caching. This can include + * additional errors and warnings. For example, using the same alias for different fields is + * disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off + * by default for compatibility, but enabling it is highly recommended to catch common caching + * pitfalls.) + * @return value or {@code null} for none + */ + public java.lang.Boolean getStrictValidationEnabled() { + return strictValidationEnabled; + } + + /** + * Optional. A field that, if true, enables stricter validation on the connector source code to + * make sure the operation response shapes are suitable for client-side caching. This can include + * additional errors and warnings. For example, using the same alias for different fields is + * disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off + * by default for compatibility, but enabling it is highly recommended to catch common caching + * pitfalls.) + * @param strictValidationEnabled strictValidationEnabled or {@code null} for none + */ + public ClientCache setStrictValidationEnabled(java.lang.Boolean strictValidationEnabled) { + this.strictValidationEnabled = strictValidationEnabled; + return this; + } + + @Override + public ClientCache set(String fieldName, Object value) { + return (ClientCache) super.set(fieldName, value); + } + + @Override + public ClientCache clone() { + return (ClientCache) super.clone(); + } + +} diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/Connector.java b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/Connector.java index 5133095d8a1..bd4f983c7da 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/Connector.java +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/Connector.java @@ -37,6 +37,13 @@ public final class Connector extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map annotations; + /** + * Optional. The client cache settings of the connector. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ClientCache clientCache; + /** * Output only. [Output only] Create time stamp. * The value may be {@code null}. @@ -121,6 +128,23 @@ public Connector setAnnotations(java.util.Map annotati return this; } + /** + * Optional. The client cache settings of the connector. + * @return value or {@code null} for none + */ + public ClientCache getClientCache() { + return clientCache; + } + + /** + * Optional. The client cache settings of the connector. + * @param clientCache clientCache or {@code null} for none + */ + public Connector setClientCache(ClientCache clientCache) { + this.clientCache = clientCache; + return this; + } + /** * Output only. [Output only] Create time stamp. * @return value or {@code null} for none diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/DataConnectProperties.java b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/DataConnectProperties.java new file mode 100644 index 00000000000..87564bbd79b --- /dev/null +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/DataConnectProperties.java @@ -0,0 +1,148 @@ +/* + * 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.firebasedataconnect.v1beta.model; + +/** + * Data Connect specific properties for a path under response.data. + * + *

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 Firebase Data Connect API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class DataConnectProperties extends com.google.api.client.json.GenericJson { + + /** + * A single Entity ID. Set if the path points to a single entity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String entityId; + + /** + * A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each + * element of the array at the corresponding index. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List entityIds; + + /** + * The server-suggested duration before data under path is considered stale. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String maxAge; + + /** + * The path under response.data where the rest of the fields apply. Each element may be a string + * (field name) or number (array index). The root of response.data is denoted by the empty list + * `[]`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List path; + + /** + * A single Entity ID. Set if the path points to a single entity. + * @return value or {@code null} for none + */ + public java.lang.String getEntityId() { + return entityId; + } + + /** + * A single Entity ID. Set if the path points to a single entity. + * @param entityId entityId or {@code null} for none + */ + public DataConnectProperties setEntityId(java.lang.String entityId) { + this.entityId = entityId; + return this; + } + + /** + * A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each + * element of the array at the corresponding index. + * @return value or {@code null} for none + */ + public java.util.List getEntityIds() { + return entityIds; + } + + /** + * A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each + * element of the array at the corresponding index. + * @param entityIds entityIds or {@code null} for none + */ + public DataConnectProperties setEntityIds(java.util.List entityIds) { + this.entityIds = entityIds; + return this; + } + + /** + * The server-suggested duration before data under path is considered stale. + * @return value or {@code null} for none + */ + public String getMaxAge() { + return maxAge; + } + + /** + * The server-suggested duration before data under path is considered stale. + * @param maxAge maxAge or {@code null} for none + */ + public DataConnectProperties setMaxAge(String maxAge) { + this.maxAge = maxAge; + return this; + } + + /** + * The path under response.data where the rest of the fields apply. Each element may be a string + * (field name) or number (array index). The root of response.data is denoted by the empty list + * `[]`. + * @return value or {@code null} for none + */ + public java.util.List getPath() { + return path; + } + + /** + * The path under response.data where the rest of the fields apply. Each element may be a string + * (field name) or number (array index). The root of response.data is denoted by the empty list + * `[]`. + * @param path path or {@code null} for none + */ + public DataConnectProperties setPath(java.util.List path) { + this.path = path; + return this; + } + + @Override + public DataConnectProperties set(String fieldName, Object value) { + return (DataConnectProperties) super.set(fieldName, value); + } + + @Override + public DataConnectProperties clone() { + return (DataConnectProperties) super.clone(); + } + +} diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteMutationResponse.java b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteMutationResponse.java index 8b17f53fcb4..59f4b61a2fa 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteMutationResponse.java +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteMutationResponse.java @@ -44,6 +44,13 @@ public final class ExecuteMutationResponse extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.util.List errors; + /** + * Additional response information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GraphqlResponseExtensions extensions; + /** * The result of executing the requested operation. * @return value or {@code null} for none @@ -78,6 +85,23 @@ public ExecuteMutationResponse setErrors(java.util.List errors) { return this; } + /** + * Additional response information. + * @return value or {@code null} for none + */ + public GraphqlResponseExtensions getExtensions() { + return extensions; + } + + /** + * Additional response information. + * @param extensions extensions or {@code null} for none + */ + public ExecuteMutationResponse setExtensions(GraphqlResponseExtensions extensions) { + this.extensions = extensions; + return this; + } + @Override public ExecuteMutationResponse set(String fieldName, Object value) { return (ExecuteMutationResponse) super.set(fieldName, value); diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteQueryResponse.java b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteQueryResponse.java index ed205ee781a..5b07d523655 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteQueryResponse.java +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/ExecuteQueryResponse.java @@ -44,6 +44,13 @@ public final class ExecuteQueryResponse extends com.google.api.client.json.Gener @com.google.api.client.util.Key private java.util.List errors; + /** + * Additional response information. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GraphqlResponseExtensions extensions; + /** * The result of executing the requested operation. * @return value or {@code null} for none @@ -78,6 +85,23 @@ public ExecuteQueryResponse setErrors(java.util.List errors) { return this; } + /** + * Additional response information. + * @return value or {@code null} for none + */ + public GraphqlResponseExtensions getExtensions() { + return extensions; + } + + /** + * Additional response information. + * @param extensions extensions or {@code null} for none + */ + public ExecuteQueryResponse setExtensions(GraphqlResponseExtensions extensions) { + this.extensions = extensions; + return this; + } + @Override public ExecuteQueryResponse set(String fieldName, Object value) { return (ExecuteQueryResponse) super.set(fieldName, value); diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponse.java b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponse.java index 171f4967722..43f7048bfc5 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponse.java +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponse.java @@ -45,7 +45,7 @@ public final class GraphqlResponse extends com.google.api.client.json.GenericJso /** * Errors of this response. If the data entry in the response is not present, the errors entry - * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors. + * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors . * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -57,6 +57,14 @@ public final class GraphqlResponse extends com.google.api.client.json.GenericJso com.google.api.client.util.Data.nullOf(GraphqlError.class); } + /** + * Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions + * . + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GraphqlResponseExtensions extensions; + /** * The result of the execution of the requested operation. If an error was raised before execution * begins, the data entry should not be present in the result. (a request error: @@ -84,7 +92,7 @@ public GraphqlResponse setData(java.util.Map data) { /** * Errors of this response. If the data entry in the response is not present, the errors entry - * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors. + * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors . * @return value or {@code null} for none */ public java.util.List getErrors() { @@ -93,7 +101,7 @@ public java.util.List getErrors() { /** * Errors of this response. If the data entry in the response is not present, the errors entry - * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors. + * must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors . * @param errors errors or {@code null} for none */ public GraphqlResponse setErrors(java.util.List errors) { @@ -101,6 +109,25 @@ public GraphqlResponse setErrors(java.util.List errors) { return this; } + /** + * Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions + * . + * @return value or {@code null} for none + */ + public GraphqlResponseExtensions getExtensions() { + return extensions; + } + + /** + * Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions + * . + * @param extensions extensions or {@code null} for none + */ + public GraphqlResponse setExtensions(GraphqlResponseExtensions extensions) { + this.extensions = extensions; + return this; + } + @Override public GraphqlResponse set(String fieldName, Object value) { return (GraphqlResponse) super.set(fieldName, value); diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponseExtensions.java b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponseExtensions.java new file mode 100644 index 00000000000..bf36716cfdf --- /dev/null +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/com/google/api/services/firebasedataconnect/v1beta/model/GraphqlResponseExtensions.java @@ -0,0 +1,74 @@ +/* + * 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.firebasedataconnect.v1beta.model; + +/** + * GraphqlResponseExtensions contains additional information of `GraphqlResponse` or + * `ExecuteQueryResponse`. + * + *

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 Firebase Data Connect API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GraphqlResponseExtensions extends com.google.api.client.json.GenericJson { + + /** + * Data Connect specific GraphQL extension, a list of paths and properties. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dataConnect; + + static { + // hack to force ProGuard to consider DataConnectProperties used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(DataConnectProperties.class); + } + + /** + * Data Connect specific GraphQL extension, a list of paths and properties. + * @return value or {@code null} for none + */ + public java.util.List getDataConnect() { + return dataConnect; + } + + /** + * Data Connect specific GraphQL extension, a list of paths and properties. + * @param dataConnect dataConnect or {@code null} for none + */ + public GraphqlResponseExtensions setDataConnect(java.util.List dataConnect) { + this.dataConnect = dataConnect; + return this; + } + + @Override + public GraphqlResponseExtensions set(String fieldName, Object value) { + return (GraphqlResponseExtensions) super.set(fieldName, value); + } + + @Override + public GraphqlResponseExtensions clone() { + return (GraphqlResponseExtensions) super.clone(); + } + +} diff --git a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/pom.xml b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/pom.xml index 32cced130bb..9d90631b441 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-firebasedataconnect/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firebasedataconnect - v1beta-rev20260111-2.0.0 - Firebase Data Connect API v1beta-rev20260111-2.0.0 + v1beta-rev20260201-2.0.0 + Firebase Data Connect API v1beta-rev20260201-2.0.0 jar 2011 diff --git a/clients/google-api-services-firebasedataconnect/v1beta/README.md b/clients/google-api-services-firebasedataconnect/v1beta/README.md index f293eae5a37..faea13c2b8d 100644 --- a/clients/google-api-services-firebasedataconnect/v1beta/README.md +++ b/clients/google-api-services-firebasedataconnect/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebasedataconnect - v1beta-rev20260111-2.0.0 + v1beta-rev20260201-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebasedataconnect:v1beta-rev20260111-2.0.0' + implementation 'com.google.apis:google-api-services-firebasedataconnect:v1beta-rev20260201-2.0.0' } ```