diff --git a/Dms/src/V1/Gapic/DataMigrationServiceGapicClient.php b/Dms/src/V1/Gapic/DataMigrationServiceGapicClient.php index 23796d24eee9..7dc8cd68cbb3 100644 --- a/Dms/src/V1/Gapic/DataMigrationServiceGapicClient.php +++ b/Dms/src/V1/Gapic/DataMigrationServiceGapicClient.php @@ -114,7 +114,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -131,7 +131,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -573,7 +573,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -590,7 +590,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -668,7 +668,7 @@ public function applyConversionWorkspace($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -685,7 +685,7 @@ public function applyConversionWorkspace($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -737,7 +737,7 @@ public function commitConversionWorkspace($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -754,7 +754,7 @@ public function commitConversionWorkspace($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -830,7 +830,7 @@ public function convertConversionWorkspace(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -847,7 +847,7 @@ public function convertConversionWorkspace(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -928,7 +928,7 @@ public function createConnectionProfile($parent, $connectionProfileId, $connecti * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -945,7 +945,7 @@ public function createConnectionProfile($parent, $connectionProfileId, $connecti * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1069,7 +1069,7 @@ public function createMappingRule($parent, $mappingRuleId, $mappingRule, array $ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1086,7 +1086,7 @@ public function createMappingRule($parent, $mappingRuleId, $mappingRule, array $ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1153,7 +1153,7 @@ public function createMigrationJob($parent, $migrationJobId, $migrationJob, arra * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1170,7 +1170,7 @@ public function createMigrationJob($parent, $migrationJobId, $migrationJob, arra * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2166,7 +2166,7 @@ public function getPrivateConnection($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2183,7 +2183,7 @@ public function getPrivateConnection($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2667,7 +2667,7 @@ public function listPrivateConnections($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2684,7 +2684,7 @@ public function listPrivateConnections($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2736,7 +2736,7 @@ public function promoteMigrationJob(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2753,7 +2753,7 @@ public function promoteMigrationJob(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2811,7 +2811,7 @@ public function restartMigrationJob(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2828,7 +2828,7 @@ public function restartMigrationJob(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2879,7 +2879,7 @@ public function resumeMigrationJob(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2896,7 +2896,7 @@ public function resumeMigrationJob(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -3011,7 +3011,7 @@ public function searchBackgroundJobs($conversionWorkspace, array $optionalArgs = * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -3028,7 +3028,7 @@ public function searchBackgroundJobs($conversionWorkspace, array $optionalArgs = * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -3100,7 +3100,7 @@ public function seedConversionWorkspace(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -3117,7 +3117,7 @@ public function seedConversionWorkspace(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -3174,7 +3174,7 @@ public function startMigrationJob(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -3191,7 +3191,7 @@ public function startMigrationJob(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -3243,7 +3243,7 @@ public function stopMigrationJob(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -3260,7 +3260,7 @@ public function stopMigrationJob(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -3339,7 +3339,7 @@ public function updateConnectionProfile($updateMask, $connectionProfile, array $ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -3356,7 +3356,7 @@ public function updateConnectionProfile($updateMask, $connectionProfile, array $ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -3419,7 +3419,7 @@ public function updateConversionWorkspace($updateMask, $conversionWorkspace, arr * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -3436,7 +3436,7 @@ public function updateConversionWorkspace($updateMask, $conversionWorkspace, arr * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -3498,7 +3498,7 @@ public function updateMigrationJob($updateMask, $migrationJob, array $optionalAr * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -3515,7 +3515,7 @@ public function updateMigrationJob($updateMask, $migrationJob, array $optionalAr * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/DocumentAi/src/V1/Gapic/DocumentProcessorServiceGapicClient.php b/DocumentAi/src/V1/Gapic/DocumentProcessorServiceGapicClient.php index 617e44a8b273..9d6870ef61bf 100644 --- a/DocumentAi/src/V1/Gapic/DocumentProcessorServiceGapicClient.php +++ b/DocumentAi/src/V1/Gapic/DocumentProcessorServiceGapicClient.php @@ -103,7 +103,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -120,7 +120,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -583,7 +583,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -600,7 +600,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -897,7 +897,7 @@ public function deleteProcessorVersion($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -914,7 +914,7 @@ public function deleteProcessorVersion($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -970,7 +970,7 @@ public function deployProcessorVersion($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -987,7 +987,7 @@ public function deployProcessorVersion($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1043,7 +1043,7 @@ public function disableProcessor($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1060,7 +1060,7 @@ public function disableProcessor($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1117,7 +1117,7 @@ public function enableProcessor($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1134,7 +1134,7 @@ public function enableProcessor($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1862,7 +1862,7 @@ public function processDocument($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1879,7 +1879,7 @@ public function processDocument($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1969,7 +1969,7 @@ public function reviewDocument($humanReviewConfig, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1986,7 +1986,7 @@ public function reviewDocument($humanReviewConfig, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2055,7 +2055,7 @@ public function setDefaultProcessorVersion( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2072,7 +2072,7 @@ public function setDefaultProcessorVersion( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2166,7 +2166,7 @@ public function trainProcessorVersion( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2183,7 +2183,7 @@ public function trainProcessorVersion( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/Domains/src/V1alpha2/Gapic/DomainsGapicClient.php b/Domains/src/V1alpha2/Gapic/DomainsGapicClient.php index 9b147f7b2fe3..55e6da4ee1e8 100644 --- a/Domains/src/V1alpha2/Gapic/DomainsGapicClient.php +++ b/Domains/src/V1alpha2/Gapic/DomainsGapicClient.php @@ -80,7 +80,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -97,7 +97,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -395,7 +395,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -412,7 +412,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -487,7 +487,7 @@ public function configureContactSettings($registration, $updateMask, array $opti * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -504,7 +504,7 @@ public function configureContactSettings($registration, $updateMask, array $opti * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -577,7 +577,7 @@ public function configureDnsSettings($registration, $updateMask, array $optional * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -594,7 +594,7 @@ public function configureDnsSettings($registration, $updateMask, array $optional * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -745,7 +745,7 @@ public function deleteRegistration($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -762,7 +762,7 @@ public function deleteRegistration($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -960,7 +960,7 @@ public function listRegistrations($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -977,7 +977,7 @@ public function listRegistrations($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1313,7 +1313,7 @@ public function searchDomains($query, $location, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1330,7 +1330,7 @@ public function searchDomains($query, $location, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1419,7 +1419,7 @@ public function transferDomain($parent, $registration, $yearlyPrice, array $opti * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1436,7 +1436,7 @@ public function transferDomain($parent, $registration, $yearlyPrice, array $opti * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/Domains/src/V1beta1/Gapic/DomainsGapicClient.php b/Domains/src/V1beta1/Gapic/DomainsGapicClient.php index f34ec934b98e..8eb18a66fe9a 100644 --- a/Domains/src/V1beta1/Gapic/DomainsGapicClient.php +++ b/Domains/src/V1beta1/Gapic/DomainsGapicClient.php @@ -80,7 +80,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -97,7 +97,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -395,7 +395,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -412,7 +412,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -487,7 +487,7 @@ public function configureContactSettings($registration, $updateMask, array $opti * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -504,7 +504,7 @@ public function configureContactSettings($registration, $updateMask, array $opti * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -577,7 +577,7 @@ public function configureDnsSettings($registration, $updateMask, array $optional * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -594,7 +594,7 @@ public function configureDnsSettings($registration, $updateMask, array $optional * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -745,7 +745,7 @@ public function deleteRegistration($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -762,7 +762,7 @@ public function deleteRegistration($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -960,7 +960,7 @@ public function listRegistrations($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -977,7 +977,7 @@ public function listRegistrations($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1313,7 +1313,7 @@ public function searchDomains($query, $location, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1330,7 +1330,7 @@ public function searchDomains($query, $location, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1419,7 +1419,7 @@ public function transferDomain($parent, $registration, $yearlyPrice, array $opti * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1436,7 +1436,7 @@ public function transferDomain($parent, $registration, $yearlyPrice, array $opti * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/Eventarc/src/V1/Gapic/EventarcGapicClient.php b/Eventarc/src/V1/Gapic/EventarcGapicClient.php index e40837dc5f7c..e80ecf72148c 100644 --- a/Eventarc/src/V1/Gapic/EventarcGapicClient.php +++ b/Eventarc/src/V1/Gapic/EventarcGapicClient.php @@ -94,7 +94,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -111,7 +111,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -693,7 +693,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -710,7 +710,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -780,7 +780,7 @@ public function createChannel( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -797,7 +797,7 @@ public function createChannel( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -864,7 +864,7 @@ public function createChannelConnection( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -881,7 +881,7 @@ public function createChannelConnection( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -950,7 +950,7 @@ public function createTrigger( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -967,7 +967,7 @@ public function createTrigger( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1029,7 +1029,7 @@ public function deleteChannel( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1046,7 +1046,7 @@ public function deleteChannel( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1103,7 +1103,7 @@ public function deleteChannelConnection($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1120,7 +1120,7 @@ public function deleteChannelConnection($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1785,7 +1785,7 @@ public function listTriggers($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1802,7 +1802,7 @@ public function listTriggers($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1932,7 +1932,7 @@ public function updateGoogleChannelConfig( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1949,7 +1949,7 @@ public function updateGoogleChannelConfig( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/Filestore/src/V1/Gapic/CloudFilestoreManagerGapicClient.php b/Filestore/src/V1/Gapic/CloudFilestoreManagerGapicClient.php index 8a3a67d6277f..2ec2f6665456 100644 --- a/Filestore/src/V1/Gapic/CloudFilestoreManagerGapicClient.php +++ b/Filestore/src/V1/Gapic/CloudFilestoreManagerGapicClient.php @@ -95,7 +95,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -112,7 +112,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -493,7 +493,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -510,7 +510,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -587,7 +587,7 @@ public function createBackup( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -604,7 +604,7 @@ public function createBackup( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -673,7 +673,7 @@ public function createInstance( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -690,7 +690,7 @@ public function createInstance( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1416,7 +1416,7 @@ public function listSnapshots($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1433,7 +1433,7 @@ public function listSnapshots($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1501,7 +1501,7 @@ public function restoreInstance($name, $fileShare, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1518,7 +1518,7 @@ public function restoreInstance($name, $fileShare, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1584,7 +1584,7 @@ public function revertInstance( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1601,7 +1601,7 @@ public function revertInstance( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1659,7 +1659,7 @@ public function updateBackup($backup, $updateMask, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1676,7 +1676,7 @@ public function updateBackup($backup, $updateMask, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1748,7 +1748,7 @@ public function updateInstance(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1765,7 +1765,7 @@ public function updateInstance(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/Firestore/src/Admin/V1/Gapic/FirestoreAdminGapicClient.php b/Firestore/src/Admin/V1/Gapic/FirestoreAdminGapicClient.php index 5c211d26b320..865d07fceee5 100644 --- a/Firestore/src/Admin/V1/Gapic/FirestoreAdminGapicClient.php +++ b/Firestore/src/Admin/V1/Gapic/FirestoreAdminGapicClient.php @@ -106,7 +106,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -123,7 +123,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -504,7 +504,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -521,7 +521,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -585,7 +585,7 @@ public function createDatabase($parent, $database, $databaseId, array $optionalA * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -602,7 +602,7 @@ public function createDatabase($parent, $database, $databaseId, array $optionalA * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -652,7 +652,7 @@ public function createIndexLRO($parent, $index, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -669,7 +669,7 @@ public function createIndexLRO($parent, $index, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -773,7 +773,7 @@ public function deleteIndex($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -790,7 +790,7 @@ public function deleteIndex($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1298,7 +1298,7 @@ public function listIndexes($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1315,7 +1315,7 @@ public function listIndexes($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1383,7 +1383,7 @@ public function updateDatabase($database, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1400,7 +1400,7 @@ public function updateDatabase($database, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/Functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php b/Functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php index 18ef863ca7f5..b154bb19fe46 100644 --- a/Functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php +++ b/Functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php @@ -502,7 +502,7 @@ public function callFunction($name, $data, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -519,7 +519,7 @@ public function callFunction($name, $data, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1133,7 +1133,7 @@ public function testIamPermissions( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1150,7 +1150,7 @@ public function testIamPermissions( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/Functions/src/V2/Gapic/FunctionServiceGapicClient.php b/Functions/src/V2/Gapic/FunctionServiceGapicClient.php index adfced6c836f..370c847ece95 100644 --- a/Functions/src/V2/Gapic/FunctionServiceGapicClient.php +++ b/Functions/src/V2/Gapic/FunctionServiceGapicClient.php @@ -80,7 +80,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -97,7 +97,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -713,7 +713,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -730,7 +730,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1217,7 +1217,7 @@ public function listRuntimes($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1234,7 +1234,7 @@ public function listRuntimes($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/GkeBackup/src/V1/Gapic/BackupForGKEGapicClient.php b/GkeBackup/src/V1/Gapic/BackupForGKEGapicClient.php index 0d5a9416c5e7..9d999175ff00 100644 --- a/GkeBackup/src/V1/Gapic/BackupForGKEGapicClient.php +++ b/GkeBackup/src/V1/Gapic/BackupForGKEGapicClient.php @@ -100,7 +100,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -117,7 +117,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -689,7 +689,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -706,7 +706,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -784,7 +784,7 @@ public function createBackup($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -801,7 +801,7 @@ public function createBackup($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -875,7 +875,7 @@ public function createBackupPlan( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -892,7 +892,7 @@ public function createBackupPlan( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -966,7 +966,7 @@ public function createRestore( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -983,7 +983,7 @@ public function createRestore( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2233,7 +2233,7 @@ public function listVolumeRestores($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2250,7 +2250,7 @@ public function listVolumeRestores($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2320,7 +2320,7 @@ public function updateBackup($backup, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2337,7 +2337,7 @@ public function updateBackup($backup, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2408,7 +2408,7 @@ public function updateBackupPlan($backupPlan, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2425,7 +2425,7 @@ public function updateBackupPlan($backupPlan, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2495,7 +2495,7 @@ public function updateRestore($restore, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2512,7 +2512,7 @@ public function updateRestore($restore, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/GkeHub/src/V1beta1/Gapic/GkeHubMembershipServiceGapicClient.php b/GkeHub/src/V1beta1/Gapic/GkeHubMembershipServiceGapicClient.php index 13b844b90bc6..7fae3c3a3608 100644 --- a/GkeHub/src/V1beta1/Gapic/GkeHubMembershipServiceGapicClient.php +++ b/GkeHub/src/V1beta1/Gapic/GkeHubMembershipServiceGapicClient.php @@ -90,7 +90,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -107,7 +107,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -409,7 +409,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -426,7 +426,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -896,7 +896,7 @@ public function listMemberships($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -913,7 +913,7 @@ public function listMemberships($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/GkeMultiCloud/src/V1/Gapic/AttachedClustersGapicClient.php b/GkeMultiCloud/src/V1/Gapic/AttachedClustersGapicClient.php index f1bb957df66f..a713b7d9542f 100644 --- a/GkeMultiCloud/src/V1/Gapic/AttachedClustersGapicClient.php +++ b/GkeMultiCloud/src/V1/Gapic/AttachedClustersGapicClient.php @@ -71,7 +71,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -88,7 +88,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -434,7 +434,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -451,7 +451,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -968,7 +968,7 @@ public function getAttachedServerConfig($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -985,7 +985,7 @@ public function getAttachedServerConfig($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1163,7 +1163,7 @@ public function listAttachedClusters($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1180,7 +1180,7 @@ public function listAttachedClusters($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/GkeMultiCloud/src/V1/Gapic/AwsClustersGapicClient.php b/GkeMultiCloud/src/V1/Gapic/AwsClustersGapicClient.php index 78bac170dca7..0aeb1b938e0e 100644 --- a/GkeMultiCloud/src/V1/Gapic/AwsClustersGapicClient.php +++ b/GkeMultiCloud/src/V1/Gapic/AwsClustersGapicClient.php @@ -80,7 +80,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -97,7 +97,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -478,7 +478,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -495,7 +495,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -588,7 +588,7 @@ public function createAwsCluster( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -605,7 +605,7 @@ public function createAwsCluster( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1548,7 +1548,7 @@ public function listAwsNodePools($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1565,7 +1565,7 @@ public function listAwsNodePools($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1637,7 +1637,7 @@ public function rollbackAwsNodePoolUpdate($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1654,7 +1654,7 @@ public function rollbackAwsNodePoolUpdate($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1753,7 +1753,7 @@ public function updateAwsCluster( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1770,7 +1770,7 @@ public function updateAwsCluster( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/GkeMultiCloud/src/V1/Gapic/AzureClustersGapicClient.php b/GkeMultiCloud/src/V1/Gapic/AzureClustersGapicClient.php index 10fdadb26390..a66f1fc6aa42 100644 --- a/GkeMultiCloud/src/V1/Gapic/AzureClustersGapicClient.php +++ b/GkeMultiCloud/src/V1/Gapic/AzureClustersGapicClient.php @@ -85,7 +85,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -102,7 +102,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -521,7 +521,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -538,7 +538,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -631,7 +631,7 @@ public function createAzureClient( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -648,7 +648,7 @@ public function createAzureClient( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -742,7 +742,7 @@ public function createAzureCluster( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -759,7 +759,7 @@ public function createAzureCluster( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1929,7 +1929,7 @@ public function listAzureNodePools($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1946,7 +1946,7 @@ public function listAzureNodePools($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -2035,7 +2035,7 @@ public function updateAzureCluster( * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2052,7 +2052,7 @@ public function updateAzureCluster( * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error)