Skip to content

Commit

Permalink
feat: publish proto definitions for SUM/AVG in Firestore (#6520)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 552607134
Source-Link: googleapis/googleapis@88a9a5f
Source-Link: googleapis/googleapis-gen@047d73a
Copy-Tag: eyJwIjoiRmlyZXN0b3JlLy5Pd2xCb3QueWFtbCIsImgiOiIwNDdkNzNhZTJmZDRlNTI2YjQ3NGE2MTdlMTY4MzM5ZDY5MWIyNTEwIn0=
  • Loading branch information
gcf-owl-bot[bot] committed Aug 1, 2023
1 parent 06b48ef commit 554efa5
Show file tree
Hide file tree
Showing 15 changed files with 371 additions and 60 deletions.
Binary file modified Firestore/metadata/V1/Query.php
Binary file not shown.
12 changes: 9 additions & 3 deletions Firestore/src/V1/BatchGetDocumentsRequest.php

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

48 changes: 24 additions & 24 deletions Firestore/src/V1/ExistenceFilter.php

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

35 changes: 26 additions & 9 deletions Firestore/src/V1/Gapic/FirestoreGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,10 @@ public function __construct(array $options = [])
* stream.
* @type Timestamp $readTime
* Reads documents as they were at the given time.
* This may not be older than 270 seconds.
*
* 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 $timeoutMillis
* Timeout to use for this call.
* }
Expand Down Expand Up @@ -586,7 +589,10 @@ public function deleteDocument($name, array $optionalArgs = [])
* Reads the document in a transaction.
* @type Timestamp $readTime
* Reads the version of the document at the given time.
* This may not be older than 270 seconds.
*
* 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 RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
Expand Down Expand Up @@ -664,7 +670,10 @@ public function getDocument($name, array $optionalArgs = [])
* been generated by a previous call to the API.
* @type Timestamp $readTime
* Reads documents as they were at the given time.
* This may not be older than 270 seconds.
*
* 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 RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
Expand Down Expand Up @@ -768,7 +777,9 @@ public function listCollectionIds($parent, array $optionalArgs = [])
* @type Timestamp $readTime
* Perform the read at the provided time.
*
* This may not be older than 270 seconds.
* 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 bool $showMissing
* If the list should show missing documents.
*
Expand Down Expand Up @@ -952,7 +963,10 @@ public function listen(array $optionalArgs = [])
* there are additional values to be retrieved.
* @type Timestamp $readTime
* Reads documents as they were at the given time.
* This may not be older than 270 seconds.
*
* 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 RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
Expand Down Expand Up @@ -1091,9 +1105,9 @@ public function rollback($database, $transaction, array $optionalArgs = [])
* @type Timestamp $readTime
* Executes the query at the given timestamp.
*
* Requires:
*
* * Cannot be more than 270 seconds in the past.
* 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 $timeoutMillis
* Timeout to use for this call.
* }
Expand Down Expand Up @@ -1169,7 +1183,10 @@ public function runAggregationQuery($parent, array $optionalArgs = [])
* stream.
* @type Timestamp $readTime
* Reads documents as they were at the given time.
* This may not be older than 270 seconds.
*
* 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 $timeoutMillis
* Timeout to use for this call.
* }
Expand Down
12 changes: 9 additions & 3 deletions Firestore/src/V1/GetDocumentRequest.php

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

12 changes: 9 additions & 3 deletions Firestore/src/V1/ListCollectionIdsRequest.php

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

12 changes: 9 additions & 3 deletions Firestore/src/V1/ListDocumentsRequest.php

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

12 changes: 9 additions & 3 deletions Firestore/src/V1/PartitionQueryRequest.php

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

Loading

0 comments on commit 554efa5

Please sign in to comment.