Skip to content

Commit

Permalink
fix: [Logging] ensure proper LRO & mixin HTTP overloads are used (#5894)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 511530528
Source-Link: googleapis/googleapis@2029bd6
Source-Link: googleapis/googleapis-gen@00ff7d1
Copy-Tag: eyJwIjoiTG9nZ2luZy8uT3dsQm90LnlhbWwiLCJoIjoiMDBmZjdkMTUyMWE1MzBlMDgwYzI3N2VhNzY2OGRhYTUwYTFiOTViOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored and bshaffer committed Mar 21, 2023
1 parent cc696eb commit e45f012
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 0 deletions.
94 changes: 94 additions & 0 deletions Logging/src/V2/resources/config_service_v2_rest_client_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,100 @@
],
],
],
'google.longrunning.Operations' => [
'CancelOperation' => [
'method' => 'post',
'uriTemplate' => '/v2/{name=*/*/locations/*/operations/*}:cancel',
'body' => '*',
'additionalBindings' => [
[
'method' => 'post',
'uriTemplate' => '/v2/{name=projects/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=organizations/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=folders/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=billingAccounts/*/locations/*/operations/*}:cancel',
'body' => '*',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'GetOperation' => [
'method' => 'get',
'uriTemplate' => '/v2/{name=*/*/locations/*/operations/*}',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v2/{name=projects/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=organizations/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=folders/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=billingAccounts/*/operations/*}',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'ListOperations' => [
'method' => 'get',
'uriTemplate' => '/v2/{name=*/*/locations/*}/operations',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v2/{name=projects/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=organizations/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=folders/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=billingAccounts/*/locations/*}/operations',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
],
],
'numericEnums' => true,
];
94 changes: 94 additions & 0 deletions Logging/src/V2/resources/logging_service_v2_rest_client_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,100 @@
'body' => '*',
],
],
'google.longrunning.Operations' => [
'CancelOperation' => [
'method' => 'post',
'uriTemplate' => '/v2/{name=*/*/locations/*/operations/*}:cancel',
'body' => '*',
'additionalBindings' => [
[
'method' => 'post',
'uriTemplate' => '/v2/{name=projects/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=organizations/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=folders/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=billingAccounts/*/locations/*/operations/*}:cancel',
'body' => '*',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'GetOperation' => [
'method' => 'get',
'uriTemplate' => '/v2/{name=*/*/locations/*/operations/*}',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v2/{name=projects/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=organizations/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=folders/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=billingAccounts/*/operations/*}',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'ListOperations' => [
'method' => 'get',
'uriTemplate' => '/v2/{name=*/*/locations/*}/operations',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v2/{name=projects/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=organizations/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=folders/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=billingAccounts/*/locations/*}/operations',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
],
],
'numericEnums' => true,
];
94 changes: 94 additions & 0 deletions Logging/src/V2/resources/metrics_service_v2_rest_client_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,100 @@
],
],
],
'google.longrunning.Operations' => [
'CancelOperation' => [
'method' => 'post',
'uriTemplate' => '/v2/{name=*/*/locations/*/operations/*}:cancel',
'body' => '*',
'additionalBindings' => [
[
'method' => 'post',
'uriTemplate' => '/v2/{name=projects/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=organizations/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=folders/*/locations/*/operations/*}:cancel',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v2/{name=billingAccounts/*/locations/*/operations/*}:cancel',
'body' => '*',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'GetOperation' => [
'method' => 'get',
'uriTemplate' => '/v2/{name=*/*/locations/*/operations/*}',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v2/{name=projects/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=organizations/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=folders/*/locations/*/operations/*}',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=billingAccounts/*/operations/*}',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'ListOperations' => [
'method' => 'get',
'uriTemplate' => '/v2/{name=*/*/locations/*}/operations',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v2/{name=projects/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=organizations/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=folders/*/locations/*}/operations',
],
[
'method' => 'get',
'uriTemplate' => '/v2/{name=billingAccounts/*/locations/*}/operations',
],
],
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
],
],
'numericEnums' => true,
];

0 comments on commit e45f012

Please sign in to comment.