Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [AlloyDb] Add new field in GenerateClientCertificate v1 API to allow AlloyDB connectors request client certs with metadata exchange support #6762

Merged
merged 2 commits into from
Nov 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] committed Nov 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 30695d5aceb668f51929c60dd7558079b5fb3b41
Binary file modified AlloyDb/metadata/V1/Service.php
Binary file not shown.
16 changes: 8 additions & 8 deletions AlloyDb/src/V1/Cluster/NetworkConfig.php

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

10 changes: 10 additions & 0 deletions AlloyDb/src/V1/Gapic/AlloyDBAdminGapicClient.php
Original file line number Diff line number Diff line change
@@ -1869,6 +1869,10 @@ public function failoverInstance($name, array $optionalArgs = [])
* default duration.
* @type string $publicKey
* Optional. The public key from the client.
* @type bool $useMetadataExchange
* Optional. An optional hint to the endpoint to generate a client
* ceritificate that can be used by AlloyDB connectors to exchange additional
* metadata with the server after TLS handshake.
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
@@ -1897,6 +1901,12 @@ public function generateClientCertificate($parent, array $optionalArgs = [])
$request->setPublicKey($optionalArgs['publicKey']);
}

if (isset($optionalArgs['useMetadataExchange'])) {
$request->setUseMetadataExchange(
$optionalArgs['useMetadataExchange']
);
}

$requestParams = new RequestParamsHeaderDescriptor(
$requestParamHeaders
);
42 changes: 42 additions & 0 deletions AlloyDb/src/V1/GenerateClientCertificateRequest.php

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

12 changes: 8 additions & 4 deletions AlloyDb/src/V1/Instance.php

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

Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1,189 changes: 0 additions & 1,189 deletions owl-bot-staging/AlloyDb/v1/proto/src/Google/Cloud/AlloyDb/V1/Cluster.php

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading