Skip to content

Commit 7194bda

Browse files
committed
Merge branch 'main' into PR #2227 to update
2 parents 820f52c + 05188e3 commit 7194bda

File tree

49 files changed

+13973
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+13973
-162
lines changed

.github/workflows/hermetic_library_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/[email protected].1
40+
- uses: googleapis/sdk-platform-java/.github/[email protected].2
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}

.github/workflows/unmanaged-dependency-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
shell: bash
1515
run: .kokoro/build.sh
1616
- name: Unmanaged dependency check
17-
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.54.1
17+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.54.2
1818
with:
1919
bom-path: google-cloud-firestore-bom/pom.xml

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If you are using Maven without the BOM, add this to your dependencies:
4949
If you are using Gradle 5.x or later, add this to your dependencies:
5050

5151
```Groovy
52-
implementation platform('com.google.cloud:libraries-bom:26.71.0')
52+
implementation platform('com.google.cloud:libraries-bom:26.72.0')
5353
5454
implementation 'com.google.cloud:google-cloud-firestore'
5555
```

generation_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
gapic_generator_version: 2.64.1
2-
googleapis_commitish: 5342712986262b93211b136eb4bd6fb79b3764af
3-
libraries_bom_version: 26.71.0
1+
gapic_generator_version: 2.64.2
2+
googleapis_commitish: b32495a713a68dd0dff90cf0b24021debfca048a
3+
libraries_bom_version: 26.72.0
44
libraries:
55
- api_shortname: firestore
66
name_pretty: Cloud Firestore

google-cloud-firestore-bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.google.cloud</groupId>
1010
<artifactId>sdk-platform-java-config</artifactId>
11-
<version>3.54.1</version>
11+
<version>3.54.2</version>
1212
</parent>
1313

1414
<name>Google Cloud Firestore BOM</name>

google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
import com.google.firestore.v1.DeleteDocumentRequest;
4343
import com.google.firestore.v1.Document;
4444
import com.google.firestore.v1.DocumentMask;
45+
import com.google.firestore.v1.ExecutePipelineRequest;
46+
import com.google.firestore.v1.ExecutePipelineResponse;
4547
import com.google.firestore.v1.GetDocumentRequest;
4648
import com.google.firestore.v1.ListCollectionIdsRequest;
4749
import com.google.firestore.v1.ListCollectionIdsResponse;
@@ -247,6 +249,16 @@
247249
* </td>
248250
* </tr>
249251
* <tr>
252+
* <td><p> ExecutePipeline</td>
253+
* <td><p> Executes a pipeline query.</td>
254+
* <td>
255+
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
256+
* <ul>
257+
* <li><p> executePipelineCallable()
258+
* </ul>
259+
* </td>
260+
* </tr>
261+
* <tr>
250262
* <td><p> RunAggregationQuery</td>
251263
* <td><p> Runs an aggregation query.
252264
* <p> Rather than producing [Document][google.firestore.v1.Document] results like [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API allows running an aggregation to produce a series of [AggregationResult][google.firestore.v1.AggregationResult] server-side.
@@ -1123,6 +1135,34 @@ public final ServerStreamingCallable<RunQueryRequest, RunQueryResponse> runQuery
11231135
return stub.runQueryCallable();
11241136
}
11251137

1138+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1139+
/**
1140+
* Executes a pipeline query.
1141+
*
1142+
* <p>Sample code:
1143+
*
1144+
* <pre>{@code
1145+
* // This snippet has been automatically generated and should be regarded as a code template only.
1146+
* // It will require modifications to work:
1147+
* // - It may require correct/in-range values for request initialization.
1148+
* // - It may require specifying regional endpoints when creating the service client as shown in
1149+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
1150+
* try (FirestoreClient firestoreClient = FirestoreClient.create()) {
1151+
* ExecutePipelineRequest request =
1152+
* ExecutePipelineRequest.newBuilder().setDatabase("database1789464955").build();
1153+
* ServerStream<ExecutePipelineResponse> stream =
1154+
* firestoreClient.executePipelineCallable().call(request);
1155+
* for (ExecutePipelineResponse response : stream) {
1156+
* // Do something when a response is received.
1157+
* }
1158+
* }
1159+
* }</pre>
1160+
*/
1161+
public final ServerStreamingCallable<ExecutePipelineRequest, ExecutePipelineResponse>
1162+
executePipelineCallable() {
1163+
return stub.executePipelineCallable();
1164+
}
1165+
11261166
// AUTO-GENERATED DOCUMENTATION AND METHOD.
11271167
/**
11281168
* Runs an aggregation query.

google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
import com.google.firestore.v1.CreateDocumentRequest;
4747
import com.google.firestore.v1.DeleteDocumentRequest;
4848
import com.google.firestore.v1.Document;
49+
import com.google.firestore.v1.ExecutePipelineRequest;
50+
import com.google.firestore.v1.ExecutePipelineResponse;
4951
import com.google.firestore.v1.GetDocumentRequest;
5052
import com.google.firestore.v1.ListCollectionIdsRequest;
5153
import com.google.firestore.v1.ListCollectionIdsResponse;
@@ -168,6 +170,12 @@ public ServerStreamingCallSettings<RunQueryRequest, RunQueryResponse> runQuerySe
168170
return ((FirestoreStubSettings) getStubSettings()).runQuerySettings();
169171
}
170172

173+
/** Returns the object with the settings used for calls to executePipeline. */
174+
public ServerStreamingCallSettings<ExecutePipelineRequest, ExecutePipelineResponse>
175+
executePipelineSettings() {
176+
return ((FirestoreStubSettings) getStubSettings()).executePipelineSettings();
177+
}
178+
171179
/** Returns the object with the settings used for calls to runAggregationQuery. */
172180
public ServerStreamingCallSettings<RunAggregationQueryRequest, RunAggregationQueryResponse>
173181
runAggregationQuerySettings() {
@@ -369,6 +377,12 @@ public UnaryCallSettings.Builder<RollbackRequest, Empty> rollbackSettings() {
369377
return getStubSettingsBuilder().runQuerySettings();
370378
}
371379

380+
/** Returns the builder for the settings used for calls to executePipeline. */
381+
public ServerStreamingCallSettings.Builder<ExecutePipelineRequest, ExecutePipelineResponse>
382+
executePipelineSettings() {
383+
return getStubSettingsBuilder().executePipelineSettings();
384+
}
385+
372386
/** Returns the builder for the settings used for calls to runAggregationQuery. */
373387
public ServerStreamingCallSettings.Builder<
374388
RunAggregationQueryRequest, RunAggregationQueryResponse>

0 commit comments

Comments
 (0)