Skip to content
Open
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
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-firebasedataconnect</artifactId>
<version>v1-rev20260111-2.0.0</version>
<version>v1-rev20260201-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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".
*
Expand All @@ -337,7 +340,10 @@ public class List extends FirebaseDataConnectRequest<com.google.api.services.fir
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/*
* 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;

/**
* Client caching settings of a connector.
*
* <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 Firebase Data Connect 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 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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, java.lang.String> 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}.
Expand Down Expand Up @@ -121,6 +128,23 @@ public Connector setAnnotations(java.util.Map<String, java.lang.String> 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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <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 Firebase Data Connect 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 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<java.lang.String> 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<java.lang.Object> 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<java.lang.String> 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<java.lang.String> 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<java.lang.Object> 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<java.lang.Object> 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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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<GraphqlError> 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
Expand Down Expand Up @@ -78,6 +85,23 @@ public ExecuteMutationResponse setErrors(java.util.List<GraphqlError> 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);
Expand Down
Loading