Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [Many APIs] update C# generator to v1.4.17 #6259

Merged
merged 4 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -523,7 +523,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 @@ -540,7 +540,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 @@ -621,7 +621,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 @@ -638,7 +638,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 @@ -709,7 +709,7 @@ public function createAccessLevel(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -726,7 +726,7 @@ public function createAccessLevel(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -843,7 +843,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 @@ -860,7 +860,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 @@ -930,7 +930,7 @@ public function createGcpUserAccessBinding(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -947,7 +947,7 @@ public function createGcpUserAccessBinding(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -1953,7 +1953,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 @@ -1970,7 +1970,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 @@ -2065,7 +2065,7 @@ public function replaceAccessLevels(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2082,7 +2082,7 @@ public function replaceAccessLevels(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2305,7 +2305,7 @@ public function testIamPermissions(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2322,7 +2322,7 @@ public function testIamPermissions(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2393,7 +2393,7 @@ public function updateAccessLevel(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2410,7 +2410,7 @@ public function updateAccessLevel(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2476,7 +2476,7 @@ public function updateAccessPolicy(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2493,7 +2493,7 @@ public function updateAccessPolicy(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -2570,7 +2570,7 @@ public function updateGcpUserAccessBinding(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -2587,7 +2587,7 @@ public function updateGcpUserAccessBinding(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down
16 changes: 8 additions & 8 deletions AiPlatform/src/V1/Gapic/DatasetServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -104,7 +104,7 @@
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -518,7 +518,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 @@ -535,7 +535,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 @@ -668,7 +668,7 @@ public function deleteDataset($name, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -685,7 +685,7 @@ public function deleteDataset($name, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -856,7 +856,7 @@ public function getDataset($name, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -873,7 +873,7 @@ public function getDataset($name, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down
20 changes: 10 additions & 10 deletions AiPlatform/src/V1/Gapic/EndpointServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -92,7 +92,7 @@
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -567,7 +567,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 @@ -584,7 +584,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 @@ -736,7 +736,7 @@ public function deleteEndpoint($name, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -753,7 +753,7 @@ public function deleteEndpoint($name, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -1011,7 +1011,7 @@ public function listEndpoints($parent, array $optionalArgs = [])
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -1028,7 +1028,7 @@ public function listEndpoints($parent, array $optionalArgs = [])
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down Expand Up @@ -1108,7 +1108,7 @@ public function mutateDeployedModel(
* $operationResponse->pollUntilComplete();
* if ($operationResponse->operationSucceeded()) {
* $result = $operationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $operationResponse->getError();
* // handleError($error)
Expand All @@ -1125,7 +1125,7 @@ public function mutateDeployedModel(
* }
* if ($newOperationResponse->operationSucceeded()) {
* $result = $newOperationResponse->getResult();
* // doSomethingWith($result)
* // doSomethingWith($result)
* } else {
* $error = $newOperationResponse->getError();
* // handleError($error)
Expand Down
Loading