From 2b7b32db3949a0287781ed960707f6f0695d37e4 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Wed, 29 Jun 2022 08:01:23 -0700 Subject: [PATCH 1/3] fix RetrySettings reference --- src/Generation/GapicClientGenerator.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Generation/GapicClientGenerator.php b/src/Generation/GapicClientGenerator.php index 94afc5b8b..9b86eab31 100644 --- a/src/Generation/GapicClientGenerator.php +++ b/src/Generation/GapicClientGenerator.php @@ -312,7 +312,7 @@ private function operationMethods(): Vector if (!$this->serviceDetails->hasLro && !$this->serviceDetails->hasCustomOp) { return Vector::new([]); } - + $ctype = $this->serviceDetails->hasCustomOp ? $this->serviceDetails->customOperationServiceClientType : Type::fromName(OperationsClient::class); @@ -394,7 +394,7 @@ private function operationMethods(): Vector $this->serviceDetails->isGa() ? null : PhpDoc::experimental(), )); $methods = $methods->append($resumeOperation); - + return $methods; } @@ -804,10 +804,10 @@ private function rpcMethod(MethodDetails $method): PhpClassMember PhpDoc::text( // TODO(vNext): Don't use a fully-qualified type here. 'Retry settings to use for this call. Can be a ', - $this->ctx->Type($retrySettingsType, 1), + $this->ctx->Type($retrySettingsType), ' object, or an associative array of retry settings parameters. See the documentation on ', // TODO(vNext): Don't use a fully-qualified type here. - $this->ctx->Type($retrySettingsType, 1), + $this->ctx->Type($retrySettingsType), ' for example usage.' ) ) @@ -1064,7 +1064,7 @@ private static function explicitRequestParamsForFields(Map $headersByRootField, ? AST::param(null, AST::var($field->camelName)) : AST::index(AST::var('optionalArgs'), $root); $assignValue = $param; - + // Construct the getter chain if the routing header uses a nested field. $chain = $routing['getter']; if (count($chain) > 1) { @@ -1089,9 +1089,9 @@ private static function explicitRequestParamsForFields(Map $headersByRootField, if (isset($keyToMatcher[$key])) { $if = $keyToMatcher[$key]; $if = $if->elseif( - /* condition */ + /* condition */ AST::call(AST::PREG_MATCH)($routing['regex'], $assignValue, $matches), - /* then */ + /* then */ AST::assign( AST::index($paramsVar, $routing['key']), AST::index($matches, $routing['key']) From a53f28fc17bc29744c7691c0b44893999d64488d Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Wed, 29 Jun 2022 09:14:31 -0700 Subject: [PATCH 2/3] update goldens --- .../Basic/out/src/Gapic/BasicGapicClient.php | 14 +- .../src/Gapic/LibraryServiceGapicClient.php | 203 ++++++++---------- .../out/src/Gapic/BasicLroGapicClient.php | 21 +- .../out/src/Gapic/BasicOneofGapicClient.php | 7 +- .../src/Gapic/BasicPaginatedGapicClient.php | 7 +- .../out/src/Gapic/CustomLroGapicClient.php | 7 +- .../Gapic/CustomLroOperationsGapicClient.php | 21 +- .../Gapic/DeprecatedServiceGapicClient.php | 14 +- ...GrpcServiceConfigWithRetry1GapicClient.php | 28 ++- .../src/Gapic/ResourceNamesGapicClient.php | 56 +++-- .../src/Gapic/RoutingHeadersGapicClient.php | 84 ++++---- 11 files changed, 198 insertions(+), 264 deletions(-) diff --git a/tests/Unit/ProtoTests/Basic/out/src/Gapic/BasicGapicClient.php b/tests/Unit/ProtoTests/Basic/out/src/Gapic/BasicGapicClient.php index 0268dd4fe..3b897beb1 100644 --- a/tests/Unit/ProtoTests/Basic/out/src/Gapic/BasicGapicClient.php +++ b/tests/Unit/ProtoTests/Basic/out/src/Gapic/BasicGapicClient.php @@ -182,10 +182,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\Basic\Response @@ -224,10 +223,9 @@ public function aMethod(array $optionalArgs = []) * @type PartOfRequestB[] $partOfRequestB * @type PartOfRequestC $partOfRequestC * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\Basic\Response diff --git a/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryServiceGapicClient.php b/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryServiceGapicClient.php index 44afc6109..aa6c8e300 100644 --- a/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryServiceGapicClient.php +++ b/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryServiceGapicClient.php @@ -888,10 +888,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -930,10 +929,9 @@ public function addComments($name, $comments, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\AddTagResponse @@ -970,10 +968,9 @@ public function addTag($resource, $tag, array $optionalArgs = []) * @type string $source * @type string $archive * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\ArchiveBooksResponse @@ -1019,10 +1016,9 @@ public function archiveBooks(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookResponse @@ -1067,10 +1063,9 @@ public function createBook($name, $book, array $optionalArgs = []) * * @type InventoryResponse $inventory * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\InventoryResponse @@ -1115,10 +1110,9 @@ public function createInventory($parent, $asset, $parentAsset, $assets, array $o * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\ShelfResponse @@ -1151,10 +1145,9 @@ public function createShelf($shelf, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -1189,10 +1182,9 @@ public function deleteBook($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -1253,10 +1245,9 @@ public function deleteShelf($name, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1323,10 +1314,9 @@ public function findRelatedBooks($names, $shelves, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -1386,10 +1376,9 @@ public function getBigBook($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -1426,10 +1415,9 @@ public function getBigNothing($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookResponse @@ -1469,10 +1457,9 @@ public function getBook($name, array $optionalArgs = []) * An alternate book name, used to test proper processing of placeholders * within additional bindings. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookFromAnywhereResponse @@ -1521,10 +1508,9 @@ public function getBookFromAbsolutelyAnywhere($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookFromAnywhereResponse @@ -1566,10 +1552,9 @@ public function getBookFromAnywhere($name, $altBookName, $place, $folder, array * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookFromArchiveResponse @@ -1612,10 +1597,9 @@ public function getBookFromArchive($name, $parent, array $optionalArgs = []) * Field to verify that message-type query parameter gets flattened. * @type StringBuilder $stringBuilder * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\ShelfResponse @@ -1678,10 +1662,9 @@ public function getShelf($name, $options, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1744,10 +1727,9 @@ public function listAggregatedShelves(array $optionalArgs = []) * @type string $filter * To test python built-in wrapping. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1799,10 +1781,9 @@ public function listBooks($name, array $optionalArgs = []) * [ListShelvesResponse.next_page_token][google.example.library.v1.ListShelvesResponse.next_page_token] * returned from the previous call to `ListShelves` method. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\ListShelvesResponse @@ -1858,10 +1839,9 @@ public function listShelves(array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1929,10 +1909,9 @@ public function listStrings(array $optionalArgs = []) * @type string $source * @type string $archive * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -1980,10 +1959,9 @@ public function longRunningArchiveBooks(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\ShelfResponse @@ -2023,10 +2001,9 @@ public function mergeShelves($name, $otherShelfName, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookResponse @@ -2065,10 +2042,9 @@ public function moveBook($name, $otherShelfName, array $optionalArgs = []) * @type string[] $publishers * @type string $project * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\MoveBooksResponse @@ -2123,10 +2099,9 @@ public function moveBooks(array $optionalArgs = []) * [ListShelvesResponse.next_page_token][google.example.library.v1.ListShelvesResponse.next_page_token] * returned from the previous call to `ListShelves` method. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookResponse @@ -2173,10 +2148,9 @@ public function privateListShelves(array $optionalArgs = []) * @type string $publisher * The publisher of the series. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\PublishSeriesResponse @@ -2276,10 +2250,9 @@ public function publishSeries($shelf, $books, $seriesUuid, array $optionalArgs = * @type array $mapBoolKey * For testing accessing map fields in samplegen * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -2420,10 +2393,9 @@ public function saveBook($name, array $optionalArgs = []) * @type FieldMask $updateMask * A field mask to apply, rendered as an HTTP parameter. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicDiregapic\BookResponse @@ -2473,10 +2445,9 @@ public function updateBook($name, $book, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails diff --git a/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php b/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php index dad7ed64c..2d98051dc 100644 --- a/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php +++ b/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php @@ -265,10 +265,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -297,10 +296,9 @@ public function method1(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicLro\Request @@ -329,10 +327,9 @@ public function methodNonLro1(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicLro\Request diff --git a/tests/Unit/ProtoTests/BasicOneof/out/src/Gapic/BasicOneofGapicClient.php b/tests/Unit/ProtoTests/BasicOneof/out/src/Gapic/BasicOneofGapicClient.php index 9281e2726..8ba0319bd 100644 --- a/tests/Unit/ProtoTests/BasicOneof/out/src/Gapic/BasicOneofGapicClient.php +++ b/tests/Unit/ProtoTests/BasicOneof/out/src/Gapic/BasicOneofGapicClient.php @@ -194,10 +194,9 @@ public function __construct(array $options = []) * @type int $optionalCount * An optional count. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\BasicOneof\Response diff --git a/tests/Unit/ProtoTests/BasicPaginated/out/src/Gapic/BasicPaginatedGapicClient.php b/tests/Unit/ProtoTests/BasicPaginated/out/src/Gapic/BasicPaginatedGapicClient.php index 3cfd94824..45f6810e0 100644 --- a/tests/Unit/ProtoTests/BasicPaginated/out/src/Gapic/BasicPaginatedGapicClient.php +++ b/tests/Unit/ProtoTests/BasicPaginated/out/src/Gapic/BasicPaginatedGapicClient.php @@ -222,10 +222,9 @@ public function __construct(array $options = []) * @type PartOfRequestB[] $partOfRequestB * @type PartOfRequestC $partOfRequestC * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse diff --git a/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroGapicClient.php b/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroGapicClient.php index c08f6a139..5a07b1610 100644 --- a/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroGapicClient.php +++ b/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroGapicClient.php @@ -302,10 +302,9 @@ public function __construct(array $options = []) * * @type string $foo * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse diff --git a/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroOperationsGapicClient.php b/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroOperationsGapicClient.php index 486145241..6edaaaace 100644 --- a/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroOperationsGapicClient.php +++ b/tests/Unit/ProtoTests/CustomLro/out/src/Gapic/CustomLroOperationsGapicClient.php @@ -198,10 +198,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -231,10 +230,9 @@ public function cancel($operation, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -270,10 +268,9 @@ public function delete($operation, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\CustomLro\CustomOperationResponse diff --git a/tests/Unit/ProtoTests/DeprecatedService/out/src/Gapic/DeprecatedServiceGapicClient.php b/tests/Unit/ProtoTests/DeprecatedService/out/src/Gapic/DeprecatedServiceGapicClient.php index b716cb28a..b118d18b0 100644 --- a/tests/Unit/ProtoTests/DeprecatedService/out/src/Gapic/DeprecatedServiceGapicClient.php +++ b/tests/Unit/ProtoTests/DeprecatedService/out/src/Gapic/DeprecatedServiceGapicClient.php @@ -182,10 +182,9 @@ public function __construct(array $options = []) * @type int $value * The nth term to retrieve in the Fibonacci sequence. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -219,10 +218,9 @@ public function fastFibonacci(array $optionalArgs = []) * @type int $value * The nth term to retrieve in the Fibonacci sequence. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails diff --git a/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php b/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php index 6aef6e1ba..137e6ba6e 100644 --- a/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php +++ b/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php @@ -211,10 +211,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\GrpcServiceConfig\Response1 @@ -268,10 +267,9 @@ public function method1A(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -358,10 +356,9 @@ public function method1BidiStreaming(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\GrpcServiceConfig\Response1 @@ -390,10 +387,9 @@ public function method1CServiceLevelRetry(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\GrpcServiceConfig\Response1 diff --git a/tests/Unit/ProtoTests/ResourceNames/out/src/Gapic/ResourceNamesGapicClient.php b/tests/Unit/ProtoTests/ResourceNames/out/src/Gapic/ResourceNamesGapicClient.php index 45e746386..c4c83ba62 100644 --- a/tests/Unit/ProtoTests/ResourceNames/out/src/Gapic/ResourceNamesGapicClient.php +++ b/tests/Unit/ProtoTests/ResourceNames/out/src/Gapic/ResourceNamesGapicClient.php @@ -696,10 +696,9 @@ public function __construct(array $options = []) * @type string $folderMultiName * @type string $folderMultiWildcardName * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse @@ -746,10 +745,9 @@ public function fileLevelChildTypeRefMethod($reqFolderName, $reqFolderMultiName, * * @type string $fileName * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse @@ -783,10 +781,9 @@ public function fileLevelTypeRefMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse @@ -821,10 +818,9 @@ public function multiPatternMethod(array $optionalArgs = []) * @type string $realName * Test non-standard field name. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse @@ -858,10 +854,9 @@ public function singlePatternMethod(array $optionalArgs = []) * * @type string $parent * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse @@ -895,10 +890,9 @@ public function wildcardChildReferenceMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse @@ -932,10 +926,9 @@ public function wildcardMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse @@ -969,10 +962,9 @@ public function wildcardMultiMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\ResourceNames\PlaceholderResponse diff --git a/tests/Unit/ProtoTests/RoutingHeaders/out/src/Gapic/RoutingHeadersGapicClient.php b/tests/Unit/ProtoTests/RoutingHeaders/out/src/Gapic/RoutingHeadersGapicClient.php index ea10af4af..1aeef1d18 100644 --- a/tests/Unit/ProtoTests/RoutingHeaders/out/src/Gapic/RoutingHeadersGapicClient.php +++ b/tests/Unit/ProtoTests/RoutingHeaders/out/src/Gapic/RoutingHeadersGapicClient.php @@ -179,10 +179,9 @@ public function __construct(array $options = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -220,10 +219,9 @@ public function deleteMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -261,10 +259,9 @@ public function getMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -298,10 +295,9 @@ public function getNoPlaceholdersMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -343,10 +339,9 @@ public function getNoTemplateMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -390,10 +385,9 @@ public function nestedMethod($nest1, $anotherName, array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -447,10 +441,9 @@ public function nestedMultiMethod($nest1, $anotherName, array $optionalArgs = [] * @type string $bId * @type string $aa * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -508,10 +501,9 @@ public function orderingMethod($a, $b, $d, $c, $e, array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -549,10 +541,9 @@ public function patchMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -590,10 +581,9 @@ public function postMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -635,10 +625,9 @@ public function putMethod(array $optionalArgs = []) * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response @@ -678,10 +667,9 @@ public function routingRuleWithOutParameters($nest1, $anotherName, array $option * * @type string $name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Testing\RoutingHeaders\Response From e6309f47f1eb1f17b652d583c6d1e30f4dbb1872 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Wed, 29 Jun 2022 16:51:28 +0000 Subject: [PATCH 3/3] update all integration tests --- .../src/V1/Gapic/AssetServiceGapicClient.php | 91 +++---- .../src/V1/Gapic/AddressesGapicClient.php | 28 +-- .../V1/Gapic/RegionOperationsGapicClient.php | 7 +- .../V1/Gapic/ClusterManagerGapicClient.php | 224 ++++++++---------- .../AutoscalingPolicyServiceGapicClient.php | 35 ++- .../V1/Gapic/ClusterControllerGapicClient.php | 56 ++--- .../src/V1/Gapic/JobControllerGapicClient.php | 49 ++-- .../WorkflowTemplateServiceGapicClient.php | 49 ++-- .../CloudFunctionsServiceGapicClient.php | 77 +++--- .../iam/src/V1/Gapic/IAMPolicyGapicClient.php | 21 +- .../Gapic/KeyManagementServiceGapicClient.php | 182 ++++++-------- .../V2/Gapic/ConfigServiceV2GapicClient.php | 161 ++++++------- .../V2/Gapic/LoggingServiceV2GapicClient.php | 35 ++- .../V2/Gapic/MetricsServiceV2GapicClient.php | 35 ++- .../src/V1/Gapic/CloudRedisGapicClient.php | 63 +++-- .../Gapic/CatalogServiceGapicClient.php | 28 +-- .../Gapic/CompletionServiceGapicClient.php | 14 +- .../Gapic/PredictionServiceGapicClient.php | 7 +- .../Gapic/ProductServiceGapicClient.php | 63 +++-- .../Gapic/SearchServiceGapicClient.php | 7 +- .../Gapic/UserEventServiceGapicClient.php | 35 ++- .../V1/Gapic/SecurityCenterGapicClient.php | 161 ++++++------- .../speech/src/V1/Gapic/SpeechGapicClient.php | 14 +- .../Gapic/ApplicationServiceGapicClient.php | 35 ++- .../Gapic/CompanyServiceGapicClient.php | 35 ++- .../V4beta1/Gapic/CompletionGapicClient.php | 7 +- .../V4beta1/Gapic/EventServiceGapicClient.php | 7 +- .../V4beta1/Gapic/JobServiceGapicClient.php | 70 +++--- .../Gapic/ProfileServiceGapicClient.php | 42 ++-- .../Gapic/TenantServiceGapicClient.php | 35 ++- .../VideoIntelligenceServiceGapicClient.php | 7 +- 31 files changed, 720 insertions(+), 960 deletions(-) diff --git a/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php b/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php index 29221ac92..60cbfd234 100644 --- a/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php +++ b/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php @@ -436,10 +436,9 @@ public function __construct(array $options = []) * * Default is empty. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse @@ -515,10 +514,9 @@ public function analyzeIamPolicy($analysisQuery, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -573,10 +571,9 @@ public function analyzeIamPolicyLongrunning($analysisQuery, $outputConfig, array * analysis response. If unspecified, the default view is FULL. * For allowed values, use constants defined on {@see \Google\Cloud\Asset\V1\AnalyzeMoveRequest\AnalysisView} * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Asset\V1\AnalyzeMoveResponse @@ -662,10 +659,9 @@ public function analyzeMove($resource, $destinationParent, array $optionalArgs = * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all * supported asset types and relationship types. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Asset\V1\BatchGetAssetsHistoryResponse @@ -726,10 +722,9 @@ public function batchGetAssetsHistory($parent, $contentType, $readTimeWindow, ar * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Asset\V1\Feed @@ -771,10 +766,9 @@ public function createFeed($parent, $feedId, $feed, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -893,10 +887,9 @@ public function deleteFeed($name, array $optionalArgs = []) * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all * supported asset types and relationship types. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -953,10 +946,9 @@ public function exportAssets($parent, $outputConfig, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Asset\V1\Feed @@ -1063,10 +1055,9 @@ public function getFeed($name, array $optionalArgs = []) * Inventory](https://cloud.google.com/asset-inventory/docs/overview) * for all supported asset types and relationship types. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1129,10 +1120,9 @@ public function listAssets($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Asset\V1\ListFeedsResponse @@ -1275,10 +1265,9 @@ public function listFeeds($parent, array $optionalArgs = []) * All the other fields such as repeated fields (e.g., `folders`) and * non-primitive fields (e.g., `policy`) are not supported. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1477,10 +1466,9 @@ public function searchAllIamPolicies($scope, array $optionalArgs = []) * returned. * Any invalid field path will trigger INVALID_ARGUMENT error. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1549,10 +1537,9 @@ public function searchAllResources($scope, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Asset\V1\Feed diff --git a/tests/Integration/goldens/compute_small/src/V1/Gapic/AddressesGapicClient.php b/tests/Integration/goldens/compute_small/src/V1/Gapic/AddressesGapicClient.php index 6f6bee21b..c5a5a5863 100644 --- a/tests/Integration/goldens/compute_small/src/V1/Gapic/AddressesGapicClient.php +++ b/tests/Integration/goldens/compute_small/src/V1/Gapic/AddressesGapicClient.php @@ -309,10 +309,9 @@ public function __construct(array $options = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -402,10 +401,9 @@ public function aggregatedList($project, array $optionalArgs = []) * * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -483,10 +481,9 @@ public function delete($address, $project, $region, array $optionalArgs = []) * * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -565,10 +562,9 @@ public function insert($addressResource, $project, $region, array $optionalArgs * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse diff --git a/tests/Integration/goldens/compute_small/src/V1/Gapic/RegionOperationsGapicClient.php b/tests/Integration/goldens/compute_small/src/V1/Gapic/RegionOperationsGapicClient.php index d58a5d99a..b8c8e402c 100644 --- a/tests/Integration/goldens/compute_small/src/V1/Gapic/RegionOperationsGapicClient.php +++ b/tests/Integration/goldens/compute_small/src/V1/Gapic/RegionOperationsGapicClient.php @@ -204,10 +204,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Compute\V1\Operation diff --git a/tests/Integration/goldens/container/src/V1/Gapic/ClusterManagerGapicClient.php b/tests/Integration/goldens/container/src/V1/Gapic/ClusterManagerGapicClient.php index 4ca19328b..082c90509 100644 --- a/tests/Integration/goldens/container/src/V1/Gapic/ClusterManagerGapicClient.php +++ b/tests/Integration/goldens/container/src/V1/Gapic/ClusterManagerGapicClient.php @@ -244,10 +244,9 @@ public function __construct(array $options = []) * The name (project, location, operation id) of the operation to cancel. * Specified in the format `projects/*/locations/*/operations/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -313,10 +312,9 @@ public function cancelOperation(array $optionalArgs = []) * The name (project, location, cluster id) of the cluster to complete IP * rotation. Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -397,10 +395,9 @@ public function completeIPRotation(array $optionalArgs = []) * The parent (project and location) where the cluster will be created. * Specified in the format `projects/*/locations/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -467,10 +464,9 @@ public function createCluster($cluster, array $optionalArgs = []) * created. Specified in the format * `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -547,10 +543,9 @@ public function createNodePool($nodePool, array $optionalArgs = []) * The name (project, location, cluster) of the cluster to delete. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -622,10 +617,9 @@ public function deleteCluster(array $optionalArgs = []) * delete. Specified in the format * `projects/*/locations/*/clusters/*/nodePools/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -698,10 +692,9 @@ public function deleteNodePool(array $optionalArgs = []) * The name (project, location, cluster) of the cluster to retrieve. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Cluster @@ -760,10 +753,9 @@ public function getCluster(array $optionalArgs = []) * The cluster (project, location, cluster id) to get keys for. Specified in * the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\GetJSONWebKeysResponse @@ -820,10 +812,9 @@ public function getJSONWebKeys(array $optionalArgs = []) * get. Specified in the format * `projects/*/locations/*/clusters/*/nodePools/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\NodePool @@ -896,10 +887,9 @@ public function getNodePool(array $optionalArgs = []) * The name (project, location, operation id) of the operation to get. * Specified in the format `projects/*/locations/*/operations/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -964,10 +954,9 @@ public function getOperation(array $optionalArgs = []) * The name (project and location) of the server config to get, * specified in the format `projects/*/locations/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\ServerConfig @@ -1029,10 +1018,9 @@ public function getServerConfig(array $optionalArgs = []) * Specified in the format `projects/*/locations/*`. * Location "-" matches all zones and all regions. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\ListClustersResponse @@ -1095,10 +1083,9 @@ public function listClusters(array $optionalArgs = []) * The parent (project, location, cluster id) where the node pools will be * listed. Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\ListNodePoolsResponse @@ -1164,10 +1151,9 @@ public function listNodePools(array $optionalArgs = []) * Specified in the format `projects/*/locations/*`. * Location "-" matches all zones and all regions. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\ListOperationsResponse @@ -1244,10 +1230,9 @@ public function listOperations(array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1317,10 +1302,9 @@ public function listUsableSubnetworks(array $optionalArgs = []) * rollback upgrade. * Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1396,10 +1380,9 @@ public function rollbackNodePoolUpgrade(array $optionalArgs = []) * The name (project, location, cluster) of the cluster to set addons. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1477,10 +1460,9 @@ public function setAddonsConfig($addonsConfig, array $optionalArgs = []) * The name (project, location, cluster id) of the cluster to set labels. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1552,10 +1534,9 @@ public function setLabels($resourceLabels, $labelFingerprint, array $optionalArg * The name (project, location, cluster id) of the cluster to set legacy abac. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1635,10 +1616,9 @@ public function setLegacyAbac($enabled, array $optionalArgs = []) * The name (project, location, cluster) of the cluster to set locations. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1721,10 +1701,9 @@ public function setLocations($locations, array $optionalArgs = []) * The name (project, location, cluster) of the cluster to set logging. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1794,10 +1773,9 @@ public function setLoggingService($loggingService, array $optionalArgs = []) * policy. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1864,10 +1842,9 @@ public function setMaintenancePolicy($projectId, $zone, $clusterId, $maintenance * The name (project, location, cluster) of the cluster to set auth. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -1949,10 +1926,9 @@ public function setMasterAuth($action, $update, array $optionalArgs = []) * The name (project, location, cluster) of the cluster to set monitoring. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2023,10 +1999,9 @@ public function setMonitoringService($monitoringService, array $optionalArgs = [ * The name (project, location, cluster id) of the cluster to set networking * policy. Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2101,10 +2076,9 @@ public function setNetworkPolicy($networkPolicy, array $optionalArgs = []) * autoscaler settings. Specified in the format * `projects/*/locations/*/clusters/*/nodePools/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2184,10 +2158,9 @@ public function setNodePoolAutoscaling($autoscaling, array $optionalArgs = []) * management properties. Specified in the format * `projects/*/locations/*/clusters/*/nodePools/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2267,10 +2240,9 @@ public function setNodePoolManagement($management, array $optionalArgs = []) * size. * Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2346,10 +2318,9 @@ public function setNodePoolSize($nodeCount, array $optionalArgs = []) * @type bool $rotateCredentials * Whether to rotate credentials during IP rotation. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2423,10 +2394,9 @@ public function startIPRotation(array $optionalArgs = []) * The name (project, location, cluster) of the cluster to update. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2506,10 +2476,9 @@ public function updateCluster($update, array $optionalArgs = []) * The name (project, location, cluster) of the cluster to update. * Specified in the format `projects/*/locations/*/clusters/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation @@ -2606,10 +2575,9 @@ public function updateMaster($masterVersion, array $optionalArgs = []) * @type UpgradeSettings $upgradeSettings * Upgrade settings control disruption and speed of the upgrade. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Container\V1\Operation diff --git a/tests/Integration/goldens/dataproc/src/V1/Gapic/AutoscalingPolicyServiceGapicClient.php b/tests/Integration/goldens/dataproc/src/V1/Gapic/AutoscalingPolicyServiceGapicClient.php index 9a1d15e9a..b26c55a95 100644 --- a/tests/Integration/goldens/dataproc/src/V1/Gapic/AutoscalingPolicyServiceGapicClient.php +++ b/tests/Integration/goldens/dataproc/src/V1/Gapic/AutoscalingPolicyServiceGapicClient.php @@ -414,10 +414,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\AutoscalingPolicy @@ -465,10 +464,9 @@ public function createAutoscalingPolicy($parent, $policy, array $optionalArgs = * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -512,10 +510,9 @@ public function deleteAutoscalingPolicy($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\AutoscalingPolicy @@ -582,10 +579,9 @@ public function getAutoscalingPolicy($name, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -633,10 +629,9 @@ public function listAutoscalingPolicies($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\AutoscalingPolicy diff --git a/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php b/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php index 77d3dd94c..35dd5e73a 100644 --- a/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php +++ b/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php @@ -305,10 +305,9 @@ public function __construct(array $options = []) * Optional. Failure action when primary worker creation fails. * For allowed values, use constants defined on {@see \Google\Cloud\Dataproc\V1\FailureAction} * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -402,10 +401,9 @@ public function createCluster($projectId, $region, $cluster, array $optionalArgs * The ID must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). The maximum length is 40 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -490,10 +488,9 @@ public function deleteCluster($projectId, $region, $clusterName, array $optional * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -539,10 +536,9 @@ public function diagnoseCluster($projectId, $region, $clusterName, array $option * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\Cluster @@ -627,10 +623,9 @@ public function getCluster($projectId, $region, $clusterName, array $optionalArg * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -727,10 +722,9 @@ public function listClusters($projectId, $region, array $optionalArgs = []) * The ID must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). The maximum length is 40 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -825,10 +819,9 @@ public function startCluster($projectId, $region, $clusterName, array $optionalA * The ID must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). The maximum length is 40 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -988,10 +981,9 @@ public function stopCluster($projectId, $region, $clusterName, array $optionalAr * The ID must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). The maximum length is 40 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse diff --git a/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php b/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php index dba33f481..96a9eed4c 100644 --- a/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php +++ b/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php @@ -237,10 +237,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\Job @@ -287,10 +286,9 @@ public function cancelJob($projectId, $region, $jobId, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -334,10 +332,9 @@ public function deleteJob($projectId, $region, $jobId, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\Job @@ -426,10 +423,9 @@ public function getJob($projectId, $region, $jobId, array $optionalArgs = []) * * status.state = ACTIVE AND labels.env = staging AND labels.starred = * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -506,10 +502,9 @@ public function listJobs($projectId, $region, array $optionalArgs = []) * The id must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). The maximum length is 40 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\Job @@ -596,10 +591,9 @@ public function submitJob($projectId, $region, $job, array $optionalArgs = []) * The id must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). The maximum length is 40 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -657,10 +651,9 @@ public function submitJobAsOperation($projectId, $region, $job, array $optionalA * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\Job diff --git a/tests/Integration/goldens/dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php b/tests/Integration/goldens/dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php index 4c33795ba..050294bab 100644 --- a/tests/Integration/goldens/dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php +++ b/tests/Integration/goldens/dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php @@ -453,10 +453,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\WorkflowTemplate @@ -507,10 +506,9 @@ public function createWorkflowTemplate($parent, $template, array $optionalArgs = * will only delete the template if the current server version matches * specified version. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -566,10 +564,9 @@ public function deleteWorkflowTemplate($name, array $optionalArgs = []) * * If unspecified, retrieves the current version. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\WorkflowTemplate @@ -677,10 +674,9 @@ public function getWorkflowTemplate($name, array $optionalArgs = []) * The tag must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). The maximum length is 40 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -793,10 +789,9 @@ public function instantiateInlineWorkflowTemplate($parent, $template, array $opt * Optional. Map from parameter names to values that should be used for those * parameters. Values may not exceed 1000 characters. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -875,10 +870,9 @@ public function instantiateWorkflowTemplate($name, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -926,10 +920,9 @@ public function listWorkflowTemplates($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Dataproc\V1\WorkflowTemplate diff --git a/tests/Integration/goldens/functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php b/tests/Integration/goldens/functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php index 5344bc05a..7ed12002e 100644 --- a/tests/Integration/goldens/functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php +++ b/tests/Integration/goldens/functions/src/V1/Gapic/CloudFunctionsServiceGapicClient.php @@ -361,10 +361,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Functions\V1\CallFunctionResponse @@ -432,10 +431,9 @@ public function callFunction($name, $data, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -498,10 +496,9 @@ public function createFunction($location, $function, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -546,10 +543,9 @@ public function deleteFunction($name, array $optionalArgs = []) * The optional version of function. If not set, default, current version * is used. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Functions\V1\GenerateDownloadUrlResponse @@ -618,10 +614,9 @@ public function generateDownloadUrl(array $optionalArgs = []) * The project and location in which the Google Cloud Storage signed URL * should be generated, specified in the format `projects/*/locations/*`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Functions\V1\GenerateUploadUrlResponse @@ -661,10 +656,9 @@ public function generateUploadUrl(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Functions\V1\CloudFunction @@ -707,10 +701,9 @@ public function getFunction($name, array $optionalArgs = []) * OPTIONAL: A `GetPolicyOptions` object for specifying options to * `GetIamPolicy`. This field is only used by Cloud IAM. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\Policy @@ -777,10 +770,9 @@ public function getIamPolicy($resource, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -835,10 +827,9 @@ public function listFunctions(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\Policy @@ -885,10 +876,9 @@ public function setIamPolicy($resource, $policy, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\TestIamPermissionsResponse @@ -953,10 +943,9 @@ public function testIamPermissions($resource, $permissions, array $optionalArgs * @type FieldMask $updateMask * Required list of fields to be updated in this request. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse diff --git a/tests/Integration/goldens/iam/src/V1/Gapic/IAMPolicyGapicClient.php b/tests/Integration/goldens/iam/src/V1/Gapic/IAMPolicyGapicClient.php index 569ed9d7a..5bc0bf6eb 100644 --- a/tests/Integration/goldens/iam/src/V1/Gapic/IAMPolicyGapicClient.php +++ b/tests/Integration/goldens/iam/src/V1/Gapic/IAMPolicyGapicClient.php @@ -212,10 +212,9 @@ public function __construct(array $options = []) * OPTIONAL: A `GetPolicyOptions` object for specifying options to * `GetIamPolicy`. This field is only used by Cloud IAM. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\Policy @@ -263,10 +262,9 @@ public function getIamPolicy($resource, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\Policy @@ -316,10 +314,9 @@ public function setIamPolicy($resource, $policy, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\TestIamPermissionsResponse diff --git a/tests/Integration/goldens/kms/src/V1/Gapic/KeyManagementServiceGapicClient.php b/tests/Integration/goldens/kms/src/V1/Gapic/KeyManagementServiceGapicClient.php index f0c214b23..bc66e5fa1 100644 --- a/tests/Integration/goldens/kms/src/V1/Gapic/KeyManagementServiceGapicClient.php +++ b/tests/Integration/goldens/kms/src/V1/Gapic/KeyManagementServiceGapicClient.php @@ -497,10 +497,9 @@ public function __construct(array $options = []) * * NOTE: This field is in Beta. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\AsymmetricDecryptResponse @@ -574,10 +573,9 @@ public function asymmetricDecrypt($name, $ciphertext, array $optionalArgs = []) * * NOTE: This field is in Beta. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\AsymmetricSignResponse @@ -640,10 +638,9 @@ public function asymmetricSign($name, $digest, array $optionalArgs = []) * [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion] * before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey]. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKey @@ -696,10 +693,9 @@ public function createCryptoKey($parent, $cryptoKeyId, $cryptoKey, array $option * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKeyVersion @@ -749,10 +745,9 @@ public function createCryptoKeyVersion($parent, $cryptoKeyVersion, array $option * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\ImportJob @@ -800,10 +795,9 @@ public function createImportJob($parent, $importJobId, $importJob, array $option * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\KeyRing @@ -897,10 +891,9 @@ public function createKeyRing($parent, $keyRingId, $keyRing, array $optionalArgs * * NOTE: This field is in Beta. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\DecryptResponse @@ -968,10 +961,9 @@ public function decrypt($name, $ciphertext, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKeyVersion @@ -1083,10 +1075,9 @@ public function destroyCryptoKeyVersion($name, array $optionalArgs = []) * * NOTE: This field is in Beta. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\EncryptResponse @@ -1139,10 +1130,9 @@ public function encrypt($name, $plaintext, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKey @@ -1181,10 +1171,9 @@ public function getCryptoKey($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKeyVersion @@ -1227,10 +1216,9 @@ public function getCryptoKeyVersion($name, array $optionalArgs = []) * OPTIONAL: A `GetPolicyOptions` object for specifying options to * `GetIamPolicy`. This field is only used by Cloud IAM. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\Policy @@ -1272,10 +1260,9 @@ public function getIamPolicy($resource, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\ImportJob @@ -1313,10 +1300,9 @@ public function getImportJob($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\KeyRing @@ -1359,10 +1345,9 @@ public function getKeyRing($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\PublicKey @@ -1440,10 +1425,9 @@ public function getPublicKey($name, array $optionalArgs = []) * This format is the same as the format produced by PKCS#11 mechanism * CKM_RSA_AES_KEY_WRAP. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKeyVersion @@ -1522,10 +1506,9 @@ public function importCryptoKeyVersion($parent, $algorithm, $importJob, array $o * [Sorting and filtering list * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1617,10 +1600,9 @@ public function listCryptoKeyVersions($parent, array $optionalArgs = []) * [Sorting and filtering list * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1709,10 +1691,9 @@ public function listCryptoKeys($parent, array $optionalArgs = []) * [Sorting and filtering list * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1798,10 +1779,9 @@ public function listImportJobs($parent, array $optionalArgs = []) * [Sorting and filtering list * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1863,10 +1843,9 @@ public function listKeyRings($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKeyVersion @@ -1905,10 +1884,9 @@ public function restoreCryptoKeyVersion($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKey @@ -1954,10 +1932,9 @@ public function updateCryptoKey($cryptoKey, $updateMask, array $optionalArgs = [ * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKey @@ -2009,10 +1986,9 @@ public function updateCryptoKeyPrimaryVersion($name, $cryptoKeyVersionId, array * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Kms\V1\CryptoKeyVersion @@ -2050,10 +2026,9 @@ public function updateCryptoKeyVersion($cryptoKeyVersion, $updateMask, array $op * @type string $name * Resource name for the location. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Location\Location @@ -2116,10 +2091,9 @@ public function getLocation(array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse diff --git a/tests/Integration/goldens/logging/src/V2/Gapic/ConfigServiceV2GapicClient.php b/tests/Integration/goldens/logging/src/V2/Gapic/ConfigServiceV2GapicClient.php index 48c7ba5a6..17a48da08 100644 --- a/tests/Integration/goldens/logging/src/V2/Gapic/ConfigServiceV2GapicClient.php +++ b/tests/Integration/goldens/logging/src/V2/Gapic/ConfigServiceV2GapicClient.php @@ -1291,10 +1291,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogBucket @@ -1345,10 +1344,9 @@ public function createBucket($parent, $bucketId, $bucket, array $optionalArgs = * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogExclusion @@ -1411,10 +1409,9 @@ public function createExclusion($parent, $exclusion, array $optionalArgs = []) * be a unique service account used only for exports from the new sink. For * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogSink @@ -1466,10 +1463,9 @@ public function createSink($parent, $sink, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogView @@ -1519,10 +1515,9 @@ public function createView($parent, $viewId, $view, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -1564,10 +1559,9 @@ public function deleteBucket($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -1611,10 +1605,9 @@ public function deleteExclusion($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -1654,10 +1647,9 @@ public function deleteSink($sinkName, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -1700,10 +1692,9 @@ public function deleteView($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogBucket @@ -1759,10 +1750,9 @@ public function getBucket($name, array $optionalArgs = []) * organizations. Once configured, it applies to all projects and folders in * the GCP organization. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\CmekSettings @@ -1809,10 +1799,9 @@ public function getCmekSettings(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogExclusion @@ -1856,10 +1845,9 @@ public function getExclusion($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogSink @@ -1901,10 +1889,9 @@ public function getSink($sinkName, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogView @@ -1971,10 +1958,9 @@ public function getView($name, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2045,10 +2031,9 @@ public function listBuckets($parent, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2119,10 +2104,9 @@ public function listExclusions($parent, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2190,10 +2174,9 @@ public function listSinks($parent, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2247,10 +2230,9 @@ public function listViews($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -2315,10 +2297,9 @@ public function undeleteBucket($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogBucket @@ -2396,10 +2377,9 @@ public function updateBucket($name, $bucket, $updateMask, array $optionalArgs = * * Example: `"updateMask=kmsKeyName"` * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\CmekSettings @@ -2465,10 +2445,9 @@ public function updateCmekSettings(array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogExclusion @@ -2549,10 +2528,9 @@ public function updateExclusion($name, $exclusion, $updateMask, array $optionalA * * Example: `updateMask=filter`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogSink @@ -2615,10 +2593,9 @@ public function updateSink($sinkName, $sink, array $optionalArgs = []) * * Example: `updateMask=filter`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogView diff --git a/tests/Integration/goldens/logging/src/V2/Gapic/LoggingServiceV2GapicClient.php b/tests/Integration/goldens/logging/src/V2/Gapic/LoggingServiceV2GapicClient.php index f6ff417ce..18b8cdd54 100644 --- a/tests/Integration/goldens/logging/src/V2/Gapic/LoggingServiceV2GapicClient.php +++ b/tests/Integration/goldens/logging/src/V2/Gapic/LoggingServiceV2GapicClient.php @@ -533,10 +533,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -626,10 +625,9 @@ public function deleteLog($logName, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -717,10 +715,9 @@ public function listLogEntries($resourceNames, array $optionalArgs = []) * "billingAccounts/[BILLING_ACCOUNT_ID]" * "folders/[FOLDER_ID]" * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -788,10 +785,9 @@ public function listLogs($parent, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -964,10 +960,9 @@ public function tailLogEntries(array $optionalArgs = []) * entries won't be persisted nor exported. Useful for checking whether the * logging API endpoints are working properly before sending valuable data. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\WriteLogEntriesResponse diff --git a/tests/Integration/goldens/logging/src/V2/Gapic/MetricsServiceV2GapicClient.php b/tests/Integration/goldens/logging/src/V2/Gapic/MetricsServiceV2GapicClient.php index bc42ee4ca..78acc62a6 100644 --- a/tests/Integration/goldens/logging/src/V2/Gapic/MetricsServiceV2GapicClient.php +++ b/tests/Integration/goldens/logging/src/V2/Gapic/MetricsServiceV2GapicClient.php @@ -315,10 +315,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogMetric @@ -358,10 +357,9 @@ public function createLogMetric($parent, $metric, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -398,10 +396,9 @@ public function deleteLogMetric($metricName, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogMetric @@ -461,10 +458,9 @@ public function getLogMetric($metricName, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -517,10 +513,9 @@ public function listLogMetrics($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Logging\V2\LogMetric diff --git a/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php b/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php index 6e315f6a1..28dc84ba1 100644 --- a/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php +++ b/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php @@ -440,10 +440,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -508,10 +507,9 @@ public function createInstance($parent, $instanceId, $instance, array $optionalA * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -582,10 +580,9 @@ public function deleteInstance($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -655,10 +652,9 @@ public function exportInstance($name, $outputConfig, array $optionalArgs = []) * unspecified, data protection mode will be LIMITED_DATA_LOSS by default. * For allowed values, use constants defined on {@see \Google\Cloud\Redis\V1\FailoverInstanceRequest\DataProtectionMode} * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -701,10 +697,9 @@ public function failoverInstance($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Redis\V1\Instance @@ -777,10 +772,9 @@ public function getInstance($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -849,10 +843,9 @@ public function importInstance($name, $inputConfig, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -936,10 +929,9 @@ public function listInstances($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -1007,10 +999,9 @@ public function updateInstance($updateMask, $instance, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/CatalogServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/CatalogServiceGapicClient.php index 31368cbf2..d106a4659 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/CatalogServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/CatalogServiceGapicClient.php @@ -362,10 +362,9 @@ public function __construct(array $options = []) * The parent catalog resource name, such as * `projects/*/locations/global/catalogs/default_catalog`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\GetDefaultBranchResponse @@ -434,10 +433,9 @@ public function getDefaultBranch(array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -533,10 +531,9 @@ public function listCatalogs($parent, array $optionalArgs = []) * This field must be a UTF-8 encoded string with a length limit of 1,000 * characters. Otherwise, an INVALID_ARGUMENT error is returned. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -597,10 +594,9 @@ public function setDefaultBranch(array $optionalArgs = []) * If an unsupported or unknown field is provided, an INVALID_ARGUMENT error * is returned. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\Catalog diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php index 497f41e0e..550c373a8 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php @@ -391,10 +391,9 @@ public function __construct(array $options = []) * The maximum allowed max suggestions is 20. If it is set higher, it will be * capped by 20. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\CompleteQueryResponse @@ -495,10 +494,9 @@ public function completeQuery($catalog, $query, array $optionalArgs = []) * [Operation][google.longrunning.Operation]. * Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/PredictionServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/PredictionServiceGapicClient.php index 7bc168fc3..9b7ffb5a2 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/PredictionServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/PredictionServiceGapicClient.php @@ -286,10 +286,9 @@ public function __construct(array $options = []) * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) * for more details. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\PredictResponse diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php index 00bbe4b12..8f9d3c5a7 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php @@ -498,10 +498,9 @@ public function __construct(array $options = []) * an INVALID_ARGUMENT error is returned if the * [Product][google.cloud.retail.v2alpha.Product] is not found. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -569,10 +568,9 @@ public function addFulfillmentPlaces($product, $type, $placeIds, array $optional * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\Product @@ -634,10 +632,9 @@ public function createProduct($parent, $product, $productId, array $optionalArgs * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -683,10 +680,9 @@ public function deleteProduct($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\Product @@ -792,10 +788,9 @@ public function getProduct($name, array $optionalArgs = []) * [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2alpha.ImportProductsRequest.reconciliation_mode] * is set to `FULL`. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -940,10 +935,9 @@ public function importProducts($parent, $inputConfig, array $optionalArgs = []) * * Notice that setting this field to true affects the performance. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1089,10 +1083,9 @@ public function listProducts($parent, array $optionalArgs = []) * an INVALID_ARGUMENT error is returned if the * [Product][google.cloud.retail.v2alpha.Product] is not found. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -1259,10 +1252,9 @@ public function removeFulfillmentPlaces($product, $type, $placeIds, array $optio * to false, an INVALID_ARGUMENT error is returned if the * [Product][google.cloud.retail.v2alpha.Product] is not found. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -1334,10 +1326,9 @@ public function setInventory($inventory, array $optionalArgs = []) * not found, a new [Product][google.cloud.retail.v2alpha.Product] will be * created. In this situation, `update_mask` is ignored. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\Product diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/SearchServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/SearchServiceGapicClient.php index fc5569e68..b232d35ea 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/SearchServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/SearchServiceGapicClient.php @@ -498,10 +498,9 @@ public function __construct(array $options = []) * instance, a special sale page may have the category hierarchy: * "pageCategories" : ["Sales > 2017 Black Friday Deals"]. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php index 1b92b6feb..bbb02b926 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php @@ -349,10 +349,9 @@ public function __construct(array $options = []) * otherwise identical get requests. The name is abbreviated to reduce the * payload bytes. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Api\HttpBody @@ -436,10 +435,9 @@ public function collectUserEvent($parent, $userEvent, array $optionalArgs = []) * The desired location of errors incurred during the Import. Cannot be set * for inline user event imports. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -542,10 +540,9 @@ public function importUserEvents($parent, $inputConfig, array $optionalArgs = [] * If `force` is set to false, the method will return the expected purge count * without deleting any user events. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -627,10 +624,9 @@ public function purgeUserEvents($parent, $filter, array $optionalArgs = []) * invalid integer value. * For allowed values, use constants defined on {@see \Google\Cloud\Retail\V2alpha\RejoinUserEventsRequest\UserEventRejoinScope} * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -676,10 +672,9 @@ public function rejoinUserEvents($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Retail\V2alpha\UserEvent diff --git a/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php b/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php index 10dd7a158..9936b0401 100644 --- a/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php +++ b/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php @@ -962,10 +962,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\Finding @@ -1013,10 +1012,9 @@ public function createFinding($parent, $findingId, $finding, array $optionalArgs * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\NotificationConfig @@ -1059,10 +1057,9 @@ public function createNotificationConfig($parent, $configId, $notificationConfig * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\Source @@ -1101,10 +1098,9 @@ public function createSource($parent, $source, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -1143,10 +1139,9 @@ public function deleteNotificationConfig($name, array $optionalArgs = []) * OPTIONAL: A `GetPolicyOptions` object for specifying options to * `GetIamPolicy`. This field is only used by Cloud IAM. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\Policy @@ -1188,10 +1183,9 @@ public function getIamPolicy($resource, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\NotificationConfig @@ -1229,10 +1223,9 @@ public function getNotificationConfig($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\OrganizationSettings @@ -1270,10 +1263,9 @@ public function getOrganizationSettings($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\Source @@ -1449,10 +1441,9 @@ public function getSource($name, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1657,10 +1648,9 @@ public function groupAssets($parent, $groupBy, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1860,10 +1850,9 @@ public function groupFindings($parent, $groupBy, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2077,10 +2066,9 @@ public function listAssets($parent, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2167,10 +2155,9 @@ public function listFindings($parent, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2238,10 +2225,9 @@ public function listNotificationConfigs($parent, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -2317,10 +2303,9 @@ public function listSources($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -2365,10 +2350,9 @@ public function runAssetDiscovery($parent, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\Finding @@ -2413,10 +2397,9 @@ public function setFindingState($name, $state, $startTime, array $optionalArgs = * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\Policy @@ -2460,10 +2443,9 @@ public function setIamPolicy($resource, $policy, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Iam\V1\TestIamPermissionsResponse @@ -2515,10 +2497,9 @@ public function testIamPermissions($resource, $permissions, array $optionalArgs * be added/updated by using "source_properties." in the field * mask. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\Finding @@ -2565,10 +2546,9 @@ public function updateFinding($finding, array $optionalArgs = []) * * If empty all mutable fields will be updated. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\NotificationConfig @@ -2613,10 +2593,9 @@ public function updateNotificationConfig($notificationConfig, array $optionalArg * * If empty all mutable fields will be updated. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\OrganizationSettings @@ -2667,10 +2646,9 @@ public function updateOrganizationSettings($organizationSettings, array $optiona * If not set uses current server time. Updates will be applied to the * SecurityMarks that are active immediately preceding this time. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\SecurityMarks @@ -2719,10 +2697,9 @@ public function updateSecurityMarks($securityMarks, array $optionalArgs = []) * * If empty all mutable fields will be updated. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\SecurityCenter\V1\Source diff --git a/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php b/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php index 03deb1c40..f14459e1e 100644 --- a/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php +++ b/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php @@ -285,10 +285,9 @@ public function __construct(array $options = []) * @type TranscriptOutputConfig $outputConfig * Optional. Specifies an optional destination for the recognition results. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -330,10 +329,9 @@ public function longRunningRecognize($config, $audio, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Speech\V1\RecognizeResponse diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/ApplicationServiceGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/ApplicationServiceGapicClient.php index d7c9c6995..279f67964 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/ApplicationServiceGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/ApplicationServiceGapicClient.php @@ -533,10 +533,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Application @@ -580,10 +579,9 @@ public function createApplication($parent, $application, array $optionalArgs = [ * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -624,10 +622,9 @@ public function deleteApplication($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Application @@ -691,10 +688,9 @@ public function getApplication($name, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -749,10 +745,9 @@ public function listApplications($parent, array $optionalArgs = []) * A field mask to specify the application fields to be updated. Only * top level fields of [Application][google.cloud.talent.v4beta1.Application] are supported. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Application diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompanyServiceGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompanyServiceGapicClient.php index f8a419d3e..6835671e1 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompanyServiceGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompanyServiceGapicClient.php @@ -424,10 +424,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Company @@ -475,10 +474,9 @@ public function createCompany($parent, $company, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -522,10 +520,9 @@ public function deleteCompany($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Company @@ -598,10 +595,9 @@ public function getCompany($name, array $optionalArgs = []) * If true, at most [page_size][google.cloud.talent.v4beta1.ListCompaniesRequest.page_size] of companies are fetched, among which * only those with open jobs are returned. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -660,10 +656,9 @@ public function listCompanies($parent, array $optionalArgs = []) * A field mask to specify the company fields to be updated. Only * top level fields of [Company][google.cloud.talent.v4beta1.Company] are supported. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Company diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompletionGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompletionGapicClient.php index 93dc68ff9..9da27e23c 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompletionGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/CompletionGapicClient.php @@ -451,10 +451,9 @@ public function __construct(array $options = []) * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED]. * For allowed values, use constants defined on {@see \Google\Cloud\Talent\V4beta1\CompleteQueryRequest\CompletionType} * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\CompleteQueryResponse diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/EventServiceGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/EventServiceGapicClient.php index ffce1f8c5..6652aaefd 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/EventServiceGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/EventServiceGapicClient.php @@ -324,10 +324,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\ClientEvent diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php index a24896d0b..a067cc490 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php @@ -627,10 +627,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -686,10 +685,9 @@ public function batchCreateJobs($parent, $jobs, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -773,10 +771,9 @@ public function batchDeleteJobs($parent, $filter, array $optionalArgs = []) * Otherwise, [Job][google.cloud.talent.v4beta1.Job] will include all fields, which can yield a very * large response. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse @@ -829,10 +826,9 @@ public function batchUpdateJobs($parent, $jobs, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Job @@ -882,10 +878,9 @@ public function createJob($parent, $job, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -930,10 +925,9 @@ public function deleteJob($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Job @@ -1021,10 +1015,9 @@ public function getJob($name, array $optionalArgs = []) * specified. * For allowed values, use constants defined on {@see \Google\Cloud\Talent\V4beta1\JobView} * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1324,10 +1317,9 @@ public function listJobs($parent, $filter, array $optionalArgs = []) * * Defaults to false. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1672,10 +1664,9 @@ public function searchJobs($parent, $requestMetadata, array $optionalArgs = []) * * Defaults to false. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -1778,10 +1769,9 @@ public function searchJobsForAlert($parent, $requestMetadata, array $optionalArg * A field mask to restrict the fields that are updated. Only * top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Job diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/ProfileServiceGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/ProfileServiceGapicClient.php index 24909bf5c..e1689d85e 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/ProfileServiceGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/ProfileServiceGapicClient.php @@ -333,10 +333,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Profile @@ -382,10 +381,9 @@ public function createProfile($parent, $profile, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -426,10 +424,9 @@ public function deleteProfile($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Profile @@ -517,10 +514,9 @@ public function getProfile($name, array $optionalArgs = []) * * * name * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -758,10 +754,9 @@ public function listProfiles($parent, array $optionalArgs = []) * allow recruiters to set this flag to true if they intend to search for * longer boolean strings. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -845,10 +840,9 @@ public function searchProfiles($parent, $requestMetadata, array $optionalArgs = * * A full update is performed if it is unset. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Profile diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/TenantServiceGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/TenantServiceGapicClient.php index 9a67b4084..c7798747c 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/TenantServiceGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/TenantServiceGapicClient.php @@ -323,10 +323,9 @@ public function __construct(array $options = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Tenant @@ -369,10 +368,9 @@ public function createTenant($parent, $tenant, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @throws ApiException if the remote call fails @@ -412,10 +410,9 @@ public function deleteTenant($name, array $optionalArgs = []) * Optional. * * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Tenant @@ -478,10 +475,9 @@ public function getTenant($name, array $optionalArgs = []) * response. The API may return fewer values in a page, even if * there are additional values to be retrieved. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\PagedListResponse @@ -536,10 +532,9 @@ public function listTenants($parent, array $optionalArgs = []) * A field mask to specify the tenant fields to be updated. Only * top level fields of [Tenant][google.cloud.talent.v4beta1.Tenant] are supported. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\Cloud\Talent\V4beta1\Tenant diff --git a/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php b/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php index 18cb3923f..c12bfa63e 100644 --- a/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php +++ b/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php @@ -302,10 +302,9 @@ public function __construct(array $options = []) * region is specified, the region will be determined based on video file * location. * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a - * {@see Google\ApiCore\RetrySettings} object, or an associative array of retry - * settings parameters. See the documentation on - * {@see Google\ApiCore\RetrySettings} for example usage. + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. * } * * @return \Google\ApiCore\OperationResponse