Skip to content

Commit

Permalink
fix!: remove types QueryMode, QueryPlan, ResultSetStats (#7003)
Browse files Browse the repository at this point in the history
fix!: remove QueryMode field from RunQueryRequest
fix!: remove ResultSetStats field from RunQueryResponse
fix!: remove QueryMode field from RunAggregationQueryRequest
fix!: remove ResultSetStats field from RunAggregationQueryResponse
PiperOrigin-RevId: 601486523
Source-Link: googleapis/googleapis@a8b027a
Source-Link: googleapis/googleapis-gen@b9b571f
Copy-Tag: eyJwIjoiRmlyZXN0b3JlLy5Pd2xCb3QueWFtbCIsImgiOiJiOWI1NzFmNTg1NDFjMGFjZTFmZjk0YmYyMmFmM2QwNjNlZWJmYjdjIn0=

Release-As: v1.41.0
  • Loading branch information
gcf-owl-bot[bot] authored Jan 26, 2024
1 parent 0878a66 commit 40a852c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 214 deletions.
Binary file modified Firestore/metadata/V1/Firestore.php
Binary file not shown.
18 changes: 0 additions & 18 deletions Firestore/src/V1/Gapic/FirestoreGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1114,11 +1114,6 @@ public function rollback($database, $transaction, array $optionalArgs = [])
* This must be a microsecond precision timestamp within the past one hour,
* or if Point-in-Time Recovery is enabled, can additionally be a whole
* minute timestamp within the past 7 days.
* @type int $mode
* Optional. The mode in which the query request is processed. This field is
* optional, and when not provided, it defaults to `NORMAL` mode where no
* additional statistics will be returned with the query results.
* For allowed values, use constants defined on {@see \Google\Cloud\Firestore\V1\QueryMode}
* @type int $timeoutMillis
* Timeout to use for this call.
* }
Expand Down Expand Up @@ -1149,10 +1144,6 @@ public function runAggregationQuery($parent, array $optionalArgs = [])
$request->setReadTime($optionalArgs['readTime']);
}

if (isset($optionalArgs['mode'])) {
$request->setMode($optionalArgs['mode']);
}

$requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
$optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
return $this->startCall('RunAggregationQuery', RunAggregationQueryResponse::class, $optionalArgs, $request, Call::SERVER_STREAMING_CALL);
Expand Down Expand Up @@ -1202,11 +1193,6 @@ public function runAggregationQuery($parent, array $optionalArgs = [])
* This must be a microsecond precision timestamp within the past one hour,
* or if Point-in-Time Recovery is enabled, can additionally be a whole
* minute timestamp within the past 7 days.
* @type int $mode
* Optional. The mode in which the query request is processed. This field is
* optional, and when not provided, it defaults to `NORMAL` mode where no
* additional statistics will be returned with the query results.
* For allowed values, use constants defined on {@see \Google\Cloud\Firestore\V1\QueryMode}
* @type int $timeoutMillis
* Timeout to use for this call.
* }
Expand Down Expand Up @@ -1237,10 +1223,6 @@ public function runQuery($parent, array $optionalArgs = [])
$request->setReadTime($optionalArgs['readTime']);
}

if (isset($optionalArgs['mode'])) {
$request->setMode($optionalArgs['mode']);
}

$requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
$optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
return $this->startCall('RunQuery', RunQueryResponse::class, $optionalArgs, $request, Call::SERVER_STREAMING_CALL);
Expand Down
42 changes: 0 additions & 42 deletions Firestore/src/V1/RunAggregationQueryRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 0 additions & 56 deletions Firestore/src/V1/RunAggregationQueryResponse.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 0 additions & 42 deletions Firestore/src/V1/RunQueryRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 0 additions & 56 deletions Firestore/src/V1/RunQueryResponse.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 40a852c

Please sign in to comment.