Skip to content

Commit 783be29

Browse files
1 parent 45209f0 commit 783be29

13 files changed

+683
-10
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-rev20260323-2.0.0</version>
25+
<version>v1-rev20260327-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-rev20260323-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firestore:v1-rev20260327-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ public final class GoogleFirestoreAdminV1Index extends com.google.api.client.jso
8787
@com.google.api.client.util.Key
8888
private java.lang.String queryScope;
8989

90+
/**
91+
* Optional. Options for search indexes that are at the index definition level. This field is only
92+
* currently supported for indexes with MONGODB_COMPATIBLE_API ApiScope.
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private GoogleFirestoreAdminV1SearchIndexOptions searchIndexOptions;
97+
9098
/**
9199
* Optional. The number of shards for the index.
92100
* The value may be {@code null}.
@@ -243,6 +251,25 @@ public GoogleFirestoreAdminV1Index setQueryScope(java.lang.String queryScope) {
243251
return this;
244252
}
245253

254+
/**
255+
* Optional. Options for search indexes that are at the index definition level. This field is only
256+
* currently supported for indexes with MONGODB_COMPATIBLE_API ApiScope.
257+
* @return value or {@code null} for none
258+
*/
259+
public GoogleFirestoreAdminV1SearchIndexOptions getSearchIndexOptions() {
260+
return searchIndexOptions;
261+
}
262+
263+
/**
264+
* Optional. Options for search indexes that are at the index definition level. This field is only
265+
* currently supported for indexes with MONGODB_COMPATIBLE_API ApiScope.
266+
* @param searchIndexOptions searchIndexOptions or {@code null} for none
267+
*/
268+
public GoogleFirestoreAdminV1Index setSearchIndexOptions(GoogleFirestoreAdminV1SearchIndexOptions searchIndexOptions) {
269+
this.searchIndexOptions = searchIndexOptions;
270+
return this;
271+
}
272+
246273
/**
247274
* Optional. The number of shards for the index.
248275
* @return value or {@code null} for none

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ public final class GoogleFirestoreAdminV1IndexField extends com.google.api.clien
5353
@com.google.api.client.util.Key
5454
private java.lang.String order;
5555

56+
/**
57+
* Indicates that this field supports search operations. This field is only currently supported
58+
* for indexes with MONGODB_COMPATIBLE_API ApiScope.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private GoogleFirestoreAdminV1SearchConfig searchConfig;
63+
5664
/**
5765
* Indicates that this field supports nearest neighbor and distance operations on vector.
5866
* The value may be {@code null}.
@@ -115,6 +123,25 @@ public GoogleFirestoreAdminV1IndexField setOrder(java.lang.String order) {
115123
return this;
116124
}
117125

126+
/**
127+
* Indicates that this field supports search operations. This field is only currently supported
128+
* for indexes with MONGODB_COMPATIBLE_API ApiScope.
129+
* @return value or {@code null} for none
130+
*/
131+
public GoogleFirestoreAdminV1SearchConfig getSearchConfig() {
132+
return searchConfig;
133+
}
134+
135+
/**
136+
* Indicates that this field supports search operations. This field is only currently supported
137+
* for indexes with MONGODB_COMPATIBLE_API ApiScope.
138+
* @param searchConfig searchConfig or {@code null} for none
139+
*/
140+
public GoogleFirestoreAdminV1IndexField setSearchConfig(GoogleFirestoreAdminV1SearchConfig searchConfig) {
141+
this.searchConfig = searchConfig;
142+
return this;
143+
}
144+
118145
/**
119146
* Indicates that this field supports nearest neighbor and distance operations on vector.
120147
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* The configuration for how to index a field for search.
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 GoogleFirestoreAdminV1SearchConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The specification for building a geo search index for a field.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleFirestoreAdminV1SearchGeoSpec geoSpec;
38+
39+
/**
40+
* Optional. The specification for building a number search index for a field.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleFirestoreAdminV1SearchNumberSpec numberSpec;
45+
46+
/**
47+
* Optional. The specification for building a text search index for a field.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private GoogleFirestoreAdminV1SearchTextSpec textSpec;
52+
53+
/**
54+
* Optional. The specification for building a geo search index for a field.
55+
* @return value or {@code null} for none
56+
*/
57+
public GoogleFirestoreAdminV1SearchGeoSpec getGeoSpec() {
58+
return geoSpec;
59+
}
60+
61+
/**
62+
* Optional. The specification for building a geo search index for a field.
63+
* @param geoSpec geoSpec or {@code null} for none
64+
*/
65+
public GoogleFirestoreAdminV1SearchConfig setGeoSpec(GoogleFirestoreAdminV1SearchGeoSpec geoSpec) {
66+
this.geoSpec = geoSpec;
67+
return this;
68+
}
69+
70+
/**
71+
* Optional. The specification for building a number search index for a field.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleFirestoreAdminV1SearchNumberSpec getNumberSpec() {
75+
return numberSpec;
76+
}
77+
78+
/**
79+
* Optional. The specification for building a number search index for a field.
80+
* @param numberSpec numberSpec or {@code null} for none
81+
*/
82+
public GoogleFirestoreAdminV1SearchConfig setNumberSpec(GoogleFirestoreAdminV1SearchNumberSpec numberSpec) {
83+
this.numberSpec = numberSpec;
84+
return this;
85+
}
86+
87+
/**
88+
* Optional. The specification for building a text search index for a field.
89+
* @return value or {@code null} for none
90+
*/
91+
public GoogleFirestoreAdminV1SearchTextSpec getTextSpec() {
92+
return textSpec;
93+
}
94+
95+
/**
96+
* Optional. The specification for building a text search index for a field.
97+
* @param textSpec textSpec or {@code null} for none
98+
*/
99+
public GoogleFirestoreAdminV1SearchConfig setTextSpec(GoogleFirestoreAdminV1SearchTextSpec textSpec) {
100+
this.textSpec = textSpec;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleFirestoreAdminV1SearchConfig set(String fieldName, Object value) {
106+
return (GoogleFirestoreAdminV1SearchConfig) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleFirestoreAdminV1SearchConfig clone() {
111+
return (GoogleFirestoreAdminV1SearchConfig) super.clone();
112+
}
113+
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* The specification for how to build a geo search index for a field.
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 GoogleFirestoreAdminV1SearchGeoSpec extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean geoJsonIndexingDisabled;
38+
39+
/**
40+
* Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.Boolean getGeoJsonIndexingDisabled() {
44+
return geoJsonIndexingDisabled;
45+
}
46+
47+
/**
48+
* Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.
49+
* @param geoJsonIndexingDisabled geoJsonIndexingDisabled or {@code null} for none
50+
*/
51+
public GoogleFirestoreAdminV1SearchGeoSpec setGeoJsonIndexingDisabled(java.lang.Boolean geoJsonIndexingDisabled) {
52+
this.geoJsonIndexingDisabled = geoJsonIndexingDisabled;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleFirestoreAdminV1SearchGeoSpec set(String fieldName, Object value) {
58+
return (GoogleFirestoreAdminV1SearchGeoSpec) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleFirestoreAdminV1SearchGeoSpec clone() {
63+
return (GoogleFirestoreAdminV1SearchGeoSpec) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)