diff --git a/clients/google-api-services-firestore/v1/2.0.0/README.md b/clients/google-api-services-firestore/v1/2.0.0/README.md index deedc176bc2..00a0857b422 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/README.md +++ b/clients/google-api-services-firestore/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-firestore - v1-rev20230806-2.0.0 + v1-rev20230905-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firestore:v1-rev20230806-2.0.0' + implementation 'com.google.apis:google-api-services-firestore:v1-rev20230905-2.0.0' } ``` diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java index e3a19102f2a..4327cbc08d2 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java @@ -1209,15 +1209,14 @@ public Patch set(String parameterName, Object value) { } } /** - * Create a new database by restore from an existing backup. The new database must be in the same + * Creates a new database by restoring from an existing backup. The new database must be in the same * cloud region or multi-region location as the existing backup. This behaves similar to * FirestoreAdmin.CreateDatabase except instead of creating a new empty database, a new database is * created with the database type, index configuration, and documents from an existing backup. The * long-running operation can be used to track the progress of the restore, with the Operation's * metadata field type being the RestoreDatabaseMetadata. The response type is the Database if the * restore was successful. The new database is not readable or writeable until the LRO has - * completed. Cancelling the returned operation will stop the restore and delete the in-progress - * database, if the restore is still active. + * completed. * * Create a request for the method "databases.restore". * @@ -1242,15 +1241,14 @@ public class Restore extends FirestoreRequest getFields() { @@ -114,18 +90,6 @@ public java.util.Map getFields() { } /** - * The document's fields. The map keys represent field names. A simple field name contains only - * characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For - * example, `foo_bar_17`. Field names matching the regular expression `__.*__` are reserved. - * Reserved field names are forbidden except in certain documented contexts. The map keys, - * represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used - * in other contexts to refer to structured fields defined here. For `map_value`, the field path - * is represented by the simple or quoted field names of the containing fields, delimited by `.`. - * For example, the structured field `"foo" : { map_value: { "x" : { string_value: "hello" }}}` - * would be represented by the field path `foo.x`. Within a field path, a quoted field name starts - * and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must - * be escaped using a `\`. For example, `` `x` `` represents `x` and `` `bak\`tik` `` represents - * `` bak`tik ``. * @param fields fields or {@code null} for none */ public Document setFields(java.util.Map fields) { diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/FieldReference.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/FieldReference.java index 9734962f43a..fdf83efda6f 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/FieldReference.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/FieldReference.java @@ -30,16 +30,16 @@ public final class FieldReference extends com.google.api.client.json.GenericJson { /** - * The relative path of the document being referenced. Requires: * Conform to document field name - * limitations. + * A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of + * segments, where each segment conforms to document field name limitations. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fieldPath; /** - * The relative path of the document being referenced. Requires: * Conform to document field name - * limitations. + * A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of + * segments, where each segment conforms to document field name limitations. * @return value or {@code null} for none */ public java.lang.String getFieldPath() { @@ -47,8 +47,8 @@ public java.lang.String getFieldPath() { } /** - * The relative path of the document being referenced. Requires: * Conform to document field name - * limitations. + * A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of + * segments, where each segment conforms to document field name limitations. * @param fieldPath fieldPath or {@code null} for none */ public FieldReference setFieldPath(java.lang.String fieldPath) { diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Backup.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Backup.java index 99c54039029..e683b9b26d3 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Backup.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Backup.java @@ -18,7 +18,7 @@ /** * A Backup of a Cloud Firestore Database. The backup contains all documents and index - * configurations for the given database at specific point in time. + * configurations for the given database at a specific point in time. * *

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 Cloud Firestore API. For a detailed explanation see: diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java new file mode 100644 index 00000000000..5ae72dcd007 --- /dev/null +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java @@ -0,0 +1,42 @@ +/* + * 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.firestore.v1.model; + +/** + * Metadata related to the create database operation. + * + *

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 Cloud Firestore 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 GoogleFirestoreAdminV1CreateDatabaseMetadata extends com.google.api.client.json.GenericJson { + + @Override + public GoogleFirestoreAdminV1CreateDatabaseMetadata set(String fieldName, Object value) { + return (GoogleFirestoreAdminV1CreateDatabaseMetadata) super.set(fieldName, value); + } + + @Override + public GoogleFirestoreAdminV1CreateDatabaseMetadata clone() { + return (GoogleFirestoreAdminV1CreateDatabaseMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Database.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Database.java index e7be79b8fc6..0c0cbb7eab9 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Database.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Database.java @@ -17,8 +17,7 @@ package com.google.api.services.firestore.v1.model; /** - * A Cloud Firestore Database. Currently only one database is allowed per cloud project; this - * database must have a `database_id` of '(default)'. + * A Cloud Firestore Database. * *

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 Cloud Firestore API. For a detailed explanation see: diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java new file mode 100644 index 00000000000..89e1885913d --- /dev/null +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java @@ -0,0 +1,42 @@ +/* + * 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.firestore.v1.model; + +/** + * Metadata related to the delete database operation. + * + *

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 Cloud Firestore 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 GoogleFirestoreAdminV1DeleteDatabaseMetadata extends com.google.api.client.json.GenericJson { + + @Override + public GoogleFirestoreAdminV1DeleteDatabaseMetadata set(String fieldName, Object value) { + return (GoogleFirestoreAdminV1DeleteDatabaseMetadata) super.set(fieldName, value); + } + + @Override + public GoogleFirestoreAdminV1DeleteDatabaseMetadata clone() { + return (GoogleFirestoreAdminV1DeleteDatabaseMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/Target.java b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/Target.java index 8a9b31f2e2d..a62ee3f168f 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/Target.java +++ b/clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/Target.java @@ -78,6 +78,15 @@ public final class Target extends com.google.api.client.json.GenericJson { /** * The target ID that identifies the target on the stream. Must be a positive number and non-zero. + * If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return + * that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent + * targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent + * to the server after a target with `target_id=0` is added, the server will immediately send a + * response with a `TargetChange::Remove` event. Note that if the client sends multiple + * `AddTarget` requests without an ID, the order of IDs returned in `TargetChage.target_ids` are + * undefined. Therefore, clients should provide a target ID instead of relying on the server to + * assign one. If `target_id` is non-zero, there must not be an existing active target on this + * stream with the same ID. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -227,6 +236,15 @@ public Target encodeResumeToken(byte[] resumeToken) { /** * The target ID that identifies the target on the stream. Must be a positive number and non-zero. + * If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return + * that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent + * targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent + * to the server after a target with `target_id=0` is added, the server will immediately send a + * response with a `TargetChange::Remove` event. Note that if the client sends multiple + * `AddTarget` requests without an ID, the order of IDs returned in `TargetChage.target_ids` are + * undefined. Therefore, clients should provide a target ID instead of relying on the server to + * assign one. If `target_id` is non-zero, there must not be an existing active target on this + * stream with the same ID. * @return value or {@code null} for none */ public java.lang.Integer getTargetId() { @@ -235,6 +253,15 @@ public java.lang.Integer getTargetId() { /** * The target ID that identifies the target on the stream. Must be a positive number and non-zero. + * If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return + * that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent + * targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent + * to the server after a target with `target_id=0` is added, the server will immediately send a + * response with a `TargetChange::Remove` event. Note that if the client sends multiple + * `AddTarget` requests without an ID, the order of IDs returned in `TargetChage.target_ids` are + * undefined. Therefore, clients should provide a target ID instead of relying on the server to + * assign one. If `target_id` is non-zero, there must not be an existing active target on this + * stream with the same ID. * @param targetId targetId or {@code null} for none */ public Target setTargetId(java.lang.Integer targetId) { diff --git a/clients/google-api-services-firestore/v1/2.0.0/pom.xml b/clients/google-api-services-firestore/v1/2.0.0/pom.xml index 65848cffbba..c22d1f0c806 100644 --- a/clients/google-api-services-firestore/v1/2.0.0/pom.xml +++ b/clients/google-api-services-firestore/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firestore - v1-rev20230806-2.0.0 - Cloud Firestore API v1-rev20230806-2.0.0 + v1-rev20230905-2.0.0 + Cloud Firestore API v1-rev20230905-2.0.0 jar 2011 diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/README.md b/clients/google-api-services-firestore/v1beta1/2.0.0/README.md index 133e2361737..159e3e0e583 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firestore - v1beta1-rev20230806-2.0.0 + v1beta1-rev20230905-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firestore:v1beta1-rev20230806-2.0.0' + implementation 'com.google.apis:google-api-services-firestore:v1beta1-rev20230905-2.0.0' } ``` diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Document.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Document.java index caa8160dd0d..0ca57227230 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Document.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Document.java @@ -39,18 +39,6 @@ public final class Document extends com.google.api.client.json.GenericJson { private String createTime; /** - * The document's fields. The map keys represent field names. A simple field name contains only - * characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For - * example, `foo_bar_17`. Field names matching the regular expression `__.*__` are reserved. - * Reserved field names are forbidden except in certain documented contexts. The map keys, - * represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used - * in other contexts to refer to structured fields defined here. For `map_value`, the field path - * is represented by the simple or quoted field names of the containing fields, delimited by `.`. - * For example, the structured field `"foo" : { map_value: { "x" : { string_value: "hello" }}}` - * would be represented by the field path `foo.x`. Within a field path, a quoted field name starts - * and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must - * be escaped using a `\`. For example, `` `x` `` represents `x` and `` `bak\`tik` `` represents - * `` bak`tik ``. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -95,18 +83,6 @@ public Document setCreateTime(String createTime) { } /** - * The document's fields. The map keys represent field names. A simple field name contains only - * characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For - * example, `foo_bar_17`. Field names matching the regular expression `__.*__` are reserved. - * Reserved field names are forbidden except in certain documented contexts. The map keys, - * represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used - * in other contexts to refer to structured fields defined here. For `map_value`, the field path - * is represented by the simple or quoted field names of the containing fields, delimited by `.`. - * For example, the structured field `"foo" : { map_value: { "x" : { string_value: "hello" }}}` - * would be represented by the field path `foo.x`. Within a field path, a quoted field name starts - * and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must - * be escaped using a `\`. For example, `` `x` `` represents `x` and `` `bak\`tik` `` represents - * `` bak`tik ``. * @return value or {@code null} for none */ public java.util.Map getFields() { @@ -114,18 +90,6 @@ public java.util.Map getFields() { } /** - * The document's fields. The map keys represent field names. A simple field name contains only - * characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For - * example, `foo_bar_17`. Field names matching the regular expression `__.*__` are reserved. - * Reserved field names are forbidden except in certain documented contexts. The map keys, - * represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used - * in other contexts to refer to structured fields defined here. For `map_value`, the field path - * is represented by the simple or quoted field names of the containing fields, delimited by `.`. - * For example, the structured field `"foo" : { map_value: { "x" : { string_value: "hello" }}}` - * would be represented by the field path `foo.x`. Within a field path, a quoted field name starts - * and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must - * be escaped using a `\`. For example, `` `x` `` represents `x` and `` `bak\`tik` `` represents - * `` bak`tik ``. * @param fields fields or {@code null} for none */ public Document setFields(java.util.Map fields) { diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/FieldReference.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/FieldReference.java index 00dd3bad928..bd95e437e79 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/FieldReference.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/FieldReference.java @@ -30,16 +30,16 @@ public final class FieldReference extends com.google.api.client.json.GenericJson { /** - * The relative path of the document being referenced. Requires: * Conform to document field name - * limitations. + * A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of + * segments, where each segment conforms to document field name limitations. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fieldPath; /** - * The relative path of the document being referenced. Requires: * Conform to document field name - * limitations. + * A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of + * segments, where each segment conforms to document field name limitations. * @return value or {@code null} for none */ public java.lang.String getFieldPath() { @@ -47,8 +47,8 @@ public java.lang.String getFieldPath() { } /** - * The relative path of the document being referenced. Requires: * Conform to document field name - * limitations. + * A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of + * segments, where each segment conforms to document field name limitations. * @param fieldPath fieldPath or {@code null} for none */ public FieldReference setFieldPath(java.lang.String fieldPath) { diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java new file mode 100644 index 00000000000..1e13814bc83 --- /dev/null +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java @@ -0,0 +1,42 @@ +/* + * 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.firestore.v1beta1.model; + +/** + * Metadata related to the create database operation. + * + *

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 Cloud Firestore 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 GoogleFirestoreAdminV1CreateDatabaseMetadata extends com.google.api.client.json.GenericJson { + + @Override + public GoogleFirestoreAdminV1CreateDatabaseMetadata set(String fieldName, Object value) { + return (GoogleFirestoreAdminV1CreateDatabaseMetadata) super.set(fieldName, value); + } + + @Override + public GoogleFirestoreAdminV1CreateDatabaseMetadata clone() { + return (GoogleFirestoreAdminV1CreateDatabaseMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java new file mode 100644 index 00000000000..c6f19b9aade --- /dev/null +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java @@ -0,0 +1,42 @@ +/* + * 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.firestore.v1beta1.model; + +/** + * Metadata related to the delete database operation. + * + *

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 Cloud Firestore 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 GoogleFirestoreAdminV1DeleteDatabaseMetadata extends com.google.api.client.json.GenericJson { + + @Override + public GoogleFirestoreAdminV1DeleteDatabaseMetadata set(String fieldName, Object value) { + return (GoogleFirestoreAdminV1DeleteDatabaseMetadata) super.set(fieldName, value); + } + + @Override + public GoogleFirestoreAdminV1DeleteDatabaseMetadata clone() { + return (GoogleFirestoreAdminV1DeleteDatabaseMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Target.java b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Target.java index 7307e6aeb66..cff198ab772 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Target.java +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/com/google/api/services/firestore/v1beta1/model/Target.java @@ -78,6 +78,15 @@ public final class Target extends com.google.api.client.json.GenericJson { /** * The target ID that identifies the target on the stream. Must be a positive number and non-zero. + * If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return + * that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent + * targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent + * to the server after a target with `target_id=0` is added, the server will immediately send a + * response with a `TargetChange::Remove` event. Note that if the client sends multiple + * `AddTarget` requests without an ID, the order of IDs returned in `TargetChage.target_ids` are + * undefined. Therefore, clients should provide a target ID instead of relying on the server to + * assign one. If `target_id` is non-zero, there must not be an existing active target on this + * stream with the same ID. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -227,6 +236,15 @@ public Target encodeResumeToken(byte[] resumeToken) { /** * The target ID that identifies the target on the stream. Must be a positive number and non-zero. + * If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return + * that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent + * targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent + * to the server after a target with `target_id=0` is added, the server will immediately send a + * response with a `TargetChange::Remove` event. Note that if the client sends multiple + * `AddTarget` requests without an ID, the order of IDs returned in `TargetChage.target_ids` are + * undefined. Therefore, clients should provide a target ID instead of relying on the server to + * assign one. If `target_id` is non-zero, there must not be an existing active target on this + * stream with the same ID. * @return value or {@code null} for none */ public java.lang.Integer getTargetId() { @@ -235,6 +253,15 @@ public java.lang.Integer getTargetId() { /** * The target ID that identifies the target on the stream. Must be a positive number and non-zero. + * If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return + * that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent + * targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent + * to the server after a target with `target_id=0` is added, the server will immediately send a + * response with a `TargetChange::Remove` event. Note that if the client sends multiple + * `AddTarget` requests without an ID, the order of IDs returned in `TargetChage.target_ids` are + * undefined. Therefore, clients should provide a target ID instead of relying on the server to + * assign one. If `target_id` is non-zero, there must not be an existing active target on this + * stream with the same ID. * @param targetId targetId or {@code null} for none */ public Target setTargetId(java.lang.Integer targetId) { diff --git a/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml b/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml index 057c9381bd0..b21820c514b 100644 --- a/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-firestore/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firestore - v1beta1-rev20230806-2.0.0 - Cloud Firestore API v1beta1-rev20230806-2.0.0 + v1beta1-rev20230905-2.0.0 + Cloud Firestore API v1beta1-rev20230905-2.0.0 jar 2011 diff --git a/clients/google-api-services-firestore/v1beta2/2.0.0/README.md b/clients/google-api-services-firestore/v1beta2/2.0.0/README.md index df5f9f78e52..4b366be5f9d 100644 --- a/clients/google-api-services-firestore/v1beta2/2.0.0/README.md +++ b/clients/google-api-services-firestore/v1beta2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firestore - v1beta2-rev20230806-2.0.0 + v1beta2-rev20230905-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firestore:v1beta2-rev20230806-2.0.0' + implementation 'com.google.apis:google-api-services-firestore:v1beta2-rev20230905-2.0.0' } ``` diff --git a/clients/google-api-services-firestore/v1beta2/2.0.0/com/google/api/services/firestore/v1beta2/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java b/clients/google-api-services-firestore/v1beta2/2.0.0/com/google/api/services/firestore/v1beta2/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java new file mode 100644 index 00000000000..c7dfae02e7c --- /dev/null +++ b/clients/google-api-services-firestore/v1beta2/2.0.0/com/google/api/services/firestore/v1beta2/model/GoogleFirestoreAdminV1CreateDatabaseMetadata.java @@ -0,0 +1,42 @@ +/* + * 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.firestore.v1beta2.model; + +/** + * Metadata related to the create database operation. + * + *

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 Cloud Firestore 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 GoogleFirestoreAdminV1CreateDatabaseMetadata extends com.google.api.client.json.GenericJson { + + @Override + public GoogleFirestoreAdminV1CreateDatabaseMetadata set(String fieldName, Object value) { + return (GoogleFirestoreAdminV1CreateDatabaseMetadata) super.set(fieldName, value); + } + + @Override + public GoogleFirestoreAdminV1CreateDatabaseMetadata clone() { + return (GoogleFirestoreAdminV1CreateDatabaseMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1beta2/2.0.0/com/google/api/services/firestore/v1beta2/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java b/clients/google-api-services-firestore/v1beta2/2.0.0/com/google/api/services/firestore/v1beta2/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java new file mode 100644 index 00000000000..30578ad1156 --- /dev/null +++ b/clients/google-api-services-firestore/v1beta2/2.0.0/com/google/api/services/firestore/v1beta2/model/GoogleFirestoreAdminV1DeleteDatabaseMetadata.java @@ -0,0 +1,42 @@ +/* + * 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.firestore.v1beta2.model; + +/** + * Metadata related to the delete database operation. + * + *

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 Cloud Firestore 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 GoogleFirestoreAdminV1DeleteDatabaseMetadata extends com.google.api.client.json.GenericJson { + + @Override + public GoogleFirestoreAdminV1DeleteDatabaseMetadata set(String fieldName, Object value) { + return (GoogleFirestoreAdminV1DeleteDatabaseMetadata) super.set(fieldName, value); + } + + @Override + public GoogleFirestoreAdminV1DeleteDatabaseMetadata clone() { + return (GoogleFirestoreAdminV1DeleteDatabaseMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-firestore/v1beta2/2.0.0/pom.xml b/clients/google-api-services-firestore/v1beta2/2.0.0/pom.xml index 9354ca262e6..21609f36255 100644 --- a/clients/google-api-services-firestore/v1beta2/2.0.0/pom.xml +++ b/clients/google-api-services-firestore/v1beta2/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firestore - v1beta2-rev20230806-2.0.0 - Cloud Firestore API v1beta2-rev20230806-2.0.0 + v1beta2-rev20230905-2.0.0 + Cloud Firestore API v1beta2-rev20230905-2.0.0 jar 2011