Skip to content

Commit 650c8f6

Browse files
1 parent 3ad026d commit 650c8f6

File tree

7 files changed

+226
-6
lines changed

7 files changed

+226
-6
lines changed

clients/google-api-services-firestore/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-firestore</artifactId>
25-
<version>v1-rev20240822-2.0.0</version>
25+
<version>v1-rev20240904-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-firestore:v1-rev20240822-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firestore:v1-rev20240904-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/Firestore.java

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8188,6 +8188,40 @@ public List setParent(java.lang.String parent) {
81888188
return this;
81898189
}
81908190

8191+
/**
8192+
* An expression that filters the list of returned backups. A filter expression consists
8193+
* of a field name, a comparison operator, and a value for filtering. The value must be a
8194+
* string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`,
8195+
* `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case
8196+
* sensitive. The following fields in the Backup are eligible for filtering: *
8197+
* `database_uid` (supports `=` only)
8198+
*/
8199+
@com.google.api.client.util.Key
8200+
private java.lang.String filter;
8201+
8202+
/** An expression that filters the list of returned backups. A filter expression consists of a field
8203+
name, a comparison operator, and a value for filtering. The value must be a string, a number, or a
8204+
boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:`
8205+
is the contains operator. Filter rules are not case sensitive. The following fields in the Backup
8206+
are eligible for filtering: * `database_uid` (supports `=` only)
8207+
*/
8208+
public java.lang.String getFilter() {
8209+
return filter;
8210+
}
8211+
8212+
/**
8213+
* An expression that filters the list of returned backups. A filter expression consists
8214+
* of a field name, a comparison operator, and a value for filtering. The value must be a
8215+
* string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`,
8216+
* `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case
8217+
* sensitive. The following fields in the Backup are eligible for filtering: *
8218+
* `database_uid` (supports `=` only)
8219+
*/
8220+
public List setFilter(java.lang.String filter) {
8221+
this.filter = filter;
8222+
return this;
8223+
}
8224+
81918225
@Override
81928226
public List set(String parameterName, Object value) {
81938227
return (List) super.set(parameterName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.firestore.v1.model;
18+
19+
/**
20+
* Information about a backup that was used to restore a database.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Firestore API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleFirestoreAdminV1BackupSource extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The resource name of the backup that was used to restore this database. Format:
34+
* `projects/{project}/locations/{location}/backups/{backup}`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String backup;
39+
40+
/**
41+
* The resource name of the backup that was used to restore this database. Format:
42+
* `projects/{project}/locations/{location}/backups/{backup}`.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getBackup() {
46+
return backup;
47+
}
48+
49+
/**
50+
* The resource name of the backup that was used to restore this database. Format:
51+
* `projects/{project}/locations/{location}/backups/{backup}`.
52+
* @param backup backup or {@code null} for none
53+
*/
54+
public GoogleFirestoreAdminV1BackupSource setBackup(java.lang.String backup) {
55+
this.backup = backup;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleFirestoreAdminV1BackupSource set(String fieldName, Object value) {
61+
return (GoogleFirestoreAdminV1BackupSource) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleFirestoreAdminV1BackupSource clone() {
66+
return (GoogleFirestoreAdminV1BackupSource) super.clone();
67+
}
68+
69+
}

clients/google-api-services-firestore/v1/2.0.0/com/google/api/services/firestore/v1/model/GoogleFirestoreAdminV1Database.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ public final class GoogleFirestoreAdminV1Database extends com.google.api.client.
132132
@com.google.api.client.util.Key
133133
private java.lang.String previousId;
134134

135+
/**
136+
* Output only. Information about the provenance of this database.
137+
* The value may be {@code null}.
138+
*/
139+
@com.google.api.client.util.Key
140+
private GoogleFirestoreAdminV1SourceInfo sourceInfo;
141+
135142
/**
136143
* The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore
137144
* for information about how to choose.
@@ -410,6 +417,23 @@ public GoogleFirestoreAdminV1Database setPreviousId(java.lang.String previousId)
410417
return this;
411418
}
412419

420+
/**
421+
* Output only. Information about the provenance of this database.
422+
* @return value or {@code null} for none
423+
*/
424+
public GoogleFirestoreAdminV1SourceInfo getSourceInfo() {
425+
return sourceInfo;
426+
}
427+
428+
/**
429+
* Output only. Information about the provenance of this database.
430+
* @param sourceInfo sourceInfo or {@code null} for none
431+
*/
432+
public GoogleFirestoreAdminV1Database setSourceInfo(GoogleFirestoreAdminV1SourceInfo sourceInfo) {
433+
this.sourceInfo = sourceInfo;
434+
return this;
435+
}
436+
413437
/**
414438
* The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore
415439
* for information about how to choose.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.firestore.v1.model;
18+
19+
/**
20+
* Information about the provenance of this database.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Firestore API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleFirestoreAdminV1SourceInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* If set, this database was restored from the specified backup (or a snapshot thereof).
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleFirestoreAdminV1BackupSource backup;
38+
39+
/**
40+
* The associated long-running operation. This field may not be set after the operation has
41+
* completed. Format: `projects/{project}/databases/{database}/operations/{operation}`.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String operation;
46+
47+
/**
48+
* If set, this database was restored from the specified backup (or a snapshot thereof).
49+
* @return value or {@code null} for none
50+
*/
51+
public GoogleFirestoreAdminV1BackupSource getBackup() {
52+
return backup;
53+
}
54+
55+
/**
56+
* If set, this database was restored from the specified backup (or a snapshot thereof).
57+
* @param backup backup or {@code null} for none
58+
*/
59+
public GoogleFirestoreAdminV1SourceInfo setBackup(GoogleFirestoreAdminV1BackupSource backup) {
60+
this.backup = backup;
61+
return this;
62+
}
63+
64+
/**
65+
* The associated long-running operation. This field may not be set after the operation has
66+
* completed. Format: `projects/{project}/databases/{database}/operations/{operation}`.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.String getOperation() {
70+
return operation;
71+
}
72+
73+
/**
74+
* The associated long-running operation. This field may not be set after the operation has
75+
* completed. Format: `projects/{project}/databases/{database}/operations/{operation}`.
76+
* @param operation operation or {@code null} for none
77+
*/
78+
public GoogleFirestoreAdminV1SourceInfo setOperation(java.lang.String operation) {
79+
this.operation = operation;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleFirestoreAdminV1SourceInfo set(String fieldName, Object value) {
85+
return (GoogleFirestoreAdminV1SourceInfo) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleFirestoreAdminV1SourceInfo clone() {
90+
return (GoogleFirestoreAdminV1SourceInfo) super.clone();
91+
}
92+
93+
}

clients/google-api-services-firestore/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-firestore</artifactId>
11-
<version>v1-rev20240822-2.0.0</version>
12-
<name>Cloud Firestore API v1-rev20240822-2.0.0</name>
11+
<version>v1-rev20240904-2.0.0</version>
12+
<name>Cloud Firestore API v1-rev20240904-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-firestore/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-firestore</artifactId>
25-
<version>v1-rev20240822-2.0.0</version>
25+
<version>v1-rev20240904-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-firestore:v1-rev20240822-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firestore:v1-rev20240904-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)