Skip to content

Commit

Permalink
Merge branch 'main' into firestore-sum-avg
Browse files Browse the repository at this point in the history
  • Loading branch information
yash30201 committed Nov 2, 2023
2 parents 6b2030f + 6b5bb82 commit 16de7d7
Show file tree
Hide file tree
Showing 301 changed files with 18,109 additions and 2,973 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/spanner-emulator-system-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ jobs:
Spanner/vendor/bin/phpunit -c Spanner/phpunit-system.xml.dist
env:
SPANNER_EMULATOR_HOST: localhost:9010
GOOGLE_CLOUD_PHP_TESTS_KEY_PATH: '.github/emulator/example-key.json'
GOOGLE_CLOUD_PHP_WHITELIST_TESTS_KEY_PATH: '.github/emulator/example-key.json'
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -119,7 +119,7 @@
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -527,7 +527,7 @@ public function __construct(array $options = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -544,7 +544,7 @@ public function __construct(array $options = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -625,7 +625,7 @@ public function commitServicePerimeters($parent, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -642,7 +642,7 @@ public function commitServicePerimeters($parent, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -713,7 +713,7 @@ public function createAccessLevel(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -730,7 +730,7 @@ public function createAccessLevel(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -847,7 +847,7 @@ public function createAccessPolicy(array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -864,7 +864,7 @@ public function createAccessPolicy(array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -934,7 +934,7 @@ public function createGcpUserAccessBinding(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -951,7 +951,7 @@ public function createGcpUserAccessBinding(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -1957,7 +1957,7 @@ public function listServicePerimeters($parent, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -1974,7 +1974,7 @@ public function listServicePerimeters($parent, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2069,7 +2069,7 @@ public function replaceAccessLevels(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2086,7 +2086,7 @@ public function replaceAccessLevels(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2309,7 +2309,7 @@ public function testIamPermissions(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2326,7 +2326,7 @@ public function testIamPermissions(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2397,7 +2397,7 @@ public function updateAccessLevel(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2414,7 +2414,7 @@ public function updateAccessLevel(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2480,7 +2480,7 @@ public function updateAccessPolicy(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2497,7 +2497,7 @@ public function updateAccessPolicy(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2574,7 +2574,7 @@ public function updateGcpUserAccessBinding(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2591,7 +2591,7 @@ public function updateGcpUserAccessBinding(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down
24 changes: 12 additions & 12 deletions AiPlatform/src/V1/Gapic/DatasetServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -111,7 +111,7 @@
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -568,7 +568,7 @@ public function __construct(array $options = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -585,7 +585,7 @@ public function __construct(array $options = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -645,7 +645,7 @@ public function createDataset($parent, $dataset, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -662,7 +662,7 @@ public function createDataset($parent, $dataset, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -947,7 +947,7 @@ public function deleteSavedQuery($name, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -964,7 +964,7 @@ public function deleteSavedQuery($name, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -1191,7 +1191,7 @@ public function getDatasetVersion($name, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -1208,7 +1208,7 @@ public function getDatasetVersion($name, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -1776,7 +1776,7 @@ public function listSavedQueries($parent, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -1793,7 +1793,7 @@ public function listSavedQueries($parent, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down
Loading

0 comments on commit 16de7d7

Please sign in to comment.