Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Apr 2, 2024
1 parent a1187f5 commit c05600e
Show file tree
Hide file tree
Showing 25 changed files with 107 additions and 2,124 deletions.
Binary file modified LongRunning/metadata/Longrunning/Operations.php
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* Updates to the above are reflected here through a refresh process.
*/

namespace Google\LongRunning\Client;
namespace Google\ApiCore\LongRunning\Client;

use Google\ApiCore\ApiException;
use Google\ApiCore\CredentialsWrapper;
Expand Down Expand Up @@ -60,7 +60,7 @@
* @method PromiseInterface listOperationsAsync(ListOperationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface waitOperationAsync(WaitOperationRequest $request, array $optionalArgs = [])
*/
final class OperationsClient
class OperationsClient
{
use GapicClientTrait;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
* }
* ```
*
* @deprecated This class will be removed in the next major version update.
* @deprecated Please use the new service client {@see \Google\LongRunning\Client\OperationsClient}.
*/
class OperationsGapicClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,42 @@
return [
'interfaces' => [
'google.longrunning.Operations' => [
'CancelOperation' => [
'callType' => \Google\ApiCore\Call::UNARY_CALL,
'responseType' => 'Google\Protobuf\GPBEmpty',
'headerParams' => [
[
'keyName' => 'name',
'fieldAccessors' => [
'getName',
],
],
],
],
'DeleteOperation' => [
'callType' => \Google\ApiCore\Call::UNARY_CALL,
'responseType' => 'Google\Protobuf\GPBEmpty',
'headerParams' => [
[
'keyName' => 'name',
'fieldAccessors' => [
'getName',
],
],
],
],
'GetOperation' => [
'callType' => \Google\ApiCore\Call::UNARY_CALL,
'responseType' => 'Google\LongRunning\Operation',
'headerParams' => [
[
'keyName' => 'name',
'fieldAccessors' => [
'getName',
],
],
],
],
'ListOperations' => [
'pageStreaming' => [
'requestPageTokenGetMethod' => 'getPageToken',
Expand All @@ -12,6 +48,20 @@
'responsePageTokenGetMethod' => 'getNextPageToken',
'resourcesGetMethod' => 'getOperations',
],
'callType' => \Google\ApiCore\Call::PAGINATED_CALL,
'responseType' => 'Google\LongRunning\ListOperationsResponse',
'headerParams' => [
[
'keyName' => 'name',
'fieldAccessors' => [
'getName',
],
],
],
],
'WaitOperation' => [
'callType' => \Google\ApiCore\Call::UNARY_CALL,
'responseType' => 'Google\LongRunning\Operation',
],
],
],
Expand Down
13 changes: 13 additions & 0 deletions LongRunning/src/LongRunning/CancelOperationRequest.php

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

13 changes: 13 additions & 0 deletions LongRunning/src/LongRunning/DeleteOperationRequest.php

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

13 changes: 13 additions & 0 deletions LongRunning/src/LongRunning/GetOperationRequest.php

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

15 changes: 15 additions & 0 deletions LongRunning/src/LongRunning/ListOperationsRequest.php

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

Binary file not shown.

This file was deleted.

This file was deleted.

Loading

0 comments on commit c05600e

Please sign in to comment.