Skip to content

Commit

Permalink
feat!: [ManagedIdentities] add ancillary service bindings to service_…
Browse files Browse the repository at this point in the history
…yaml (#5037)

* fix(managedidentities): add ancillary service bindings to service_yaml

PiperOrigin-RevId: 422903615

Source-Link: googleapis/googleapis@12c0a1f

Source-Link: googleapis/googleapis-gen@d6e18f3
Copy-Tag: eyJwIjoiTWFuYWdlZElkZW50aXRpZXMvLk93bEJvdC55YW1sIiwiaCI6ImQ2ZTE4ZjM2MjU3MjAwNTQ2NTE3N2Y0YTNkNTVlMGUyZjIwZDM5MDIifQ==

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 20, 2022
1 parent 4c631b2 commit d61f554
Show file tree
Hide file tree
Showing 30 changed files with 855 additions and 453 deletions.
2 changes: 1 addition & 1 deletion ManagedIdentities/src/V1/AttachTrustRequest.php

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

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

2 changes: 1 addition & 1 deletion ManagedIdentities/src/V1/DetachTrustRequest.php

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

4 changes: 2 additions & 2 deletions ManagedIdentities/src/V1/Domain.php

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

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/*
* GENERATED CODE WARNING
* Generated by gapic-generator-php from the file
* https://github.com/google/googleapis/blob/master/google/cloud/managedidentities/v1/managed_identities_service.proto
* https://github.com/googleapis/googleapis/blob/master/google/cloud/managedidentities/v1/managed_identities_service.proto
* Updates to the above are reflected here through a refresh process.
*/

Expand Down Expand Up @@ -128,9 +128,9 @@
* ```
*
* Many parameters require resource names to be formatted in a particular way. To
* assistwith these names, this class includes a format method for each type of
* name, and additionallya parseName method to extract the individual identifiers
* contained within formatted namesthat are returned by the API.
* assist with these names, this class includes a format method for each type of
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*/
class ManagedIdentitiesServiceGapicClient
{
Expand Down Expand Up @@ -377,6 +377,9 @@ public function resumeOperation($operationName, $methodName = null)
* See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
* {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
* supported options.
* @type callable $clientCertSource
* A callable which returns the client cert as a string. This can be used to
* provide a certificate and private key to the transport layer for mTLS.
* }
*
* @throws ValidationException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/*
* GENERATED CODE WARNING
* Generated by gapic-generator-php from the file
* https://github.com/google/googleapis/blob/master/google/cloud/managedidentities/v1/managed_identities_service.proto
* https://github.com/googleapis/googleapis/blob/master/google/cloud/managedidentities/v1/managed_identities_service.proto
* Updates to the above are reflected here through a refresh process.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// GENERATED CODE -- DO NOT EDIT!

// Original file comments:
// Copyright 2021 Google LLC.
// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions ManagedIdentities/src/V1/OpMetadata.php

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

6 changes: 3 additions & 3 deletions ManagedIdentities/src/V1/Trust.php

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

4 changes: 2 additions & 2 deletions ManagedIdentities/src/V1/UpdateDomainRequest.php

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

2 changes: 1 addition & 1 deletion ManagedIdentities/src/V1/ValidateTrustRequest.php

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

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

return [
'interfaces' => [
'google.cloud.location.Locations' => [
'GetLocation' => [
'method' => 'get',
'uriTemplate' => '/v1/{name=projects/*/locations/*}',
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'ListLocations' => [
'method' => 'get',
'uriTemplate' => '/v1/{name=projects/*}/locations',
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
],
'google.cloud.managedidentities.v1.ManagedIdentitiesService' => [
'AttachTrust' => [
'method' => 'post',
Expand All @@ -26,6 +50,9 @@
],
],
],
'queryParams' => [
'domain_name',
],
],
'DeleteDomain' => [
'method' => 'delete',
Expand Down Expand Up @@ -108,6 +135,9 @@
],
],
],
'queryParams' => [
'update_mask',
],
],
'ValidateTrust' => [
'method' => 'post',
Expand All @@ -122,21 +152,82 @@
],
],
],
'google.longrunning.Operations' => [
'ListOperations' => [
'google.iam.v1.IAMPolicy' => [
'GetIamPolicy' => [
'method' => 'get',
'uriTemplate' => '/v1/{name=projects/*/locations/*}/operations',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/domains/*}:getIamPolicy',
'additionalBindings' => [
[
'method' => 'get',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/peerings/*}:getIamPolicy',
],
[
'method' => 'get',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:getIamPolicy',
],
],
'placeholders' => [
'name' => [
'resource' => [
'getters' => [
'getName',
'getResource',
],
],
],
],
'GetOperation' => [
'method' => 'get',
'uriTemplate' => '/v1/{name=projects/*/locations/*/operations/*}',
'SetIamPolicy' => [
'method' => 'post',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/domains/*}:setIamPolicy',
'body' => '*',
'additionalBindings' => [
[
'method' => 'post',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/peerings/*}:setIamPolicy',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:setIamPolicy',
'body' => '*',
],
],
'placeholders' => [
'resource' => [
'getters' => [
'getResource',
],
],
],
],
'TestIamPermissions' => [
'method' => 'post',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/domains/*}:testIamPermissions',
'body' => '*',
'additionalBindings' => [
[
'method' => 'post',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/peerings/*}:testIamPermissions',
'body' => '*',
],
[
'method' => 'post',
'uriTemplate' => '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:testIamPermissions',
'body' => '*',
],
],
'placeholders' => [
'resource' => [
'getters' => [
'getResource',
],
],
],
],
],
'google.longrunning.Operations' => [
'CancelOperation' => [
'method' => 'post',
'uriTemplate' => '/v1/{name=projects/*/locations/global/operations/*}:cancel',
'body' => '*',
'placeholders' => [
'name' => [
'getters' => [
Expand All @@ -147,7 +238,7 @@
],
'DeleteOperation' => [
'method' => 'delete',
'uriTemplate' => '/v1/{name=projects/*/locations/*/operations/*}',
'uriTemplate' => '/v1/{name=projects/*/locations/global/operations/*}',
'placeholders' => [
'name' => [
'getters' => [
Expand All @@ -156,9 +247,20 @@
],
],
],
'CancelOperation' => [
'method' => 'post',
'uriTemplate' => '/v1/{name=projects/*/locations/*/operations/*}:cancel',
'GetOperation' => [
'method' => 'get',
'uriTemplate' => '/v1/{name=projects/*/locations/global/operations/*}',
'placeholders' => [
'name' => [
'getters' => [
'getName',
],
],
],
],
'ListOperations' => [
'method' => 'get',
'uriTemplate' => '/v1/{name=projects/*/locations/global/operations}',
'placeholders' => [
'name' => [
'getters' => [
Expand Down
Loading

0 comments on commit d61f554

Please sign in to comment.