Skip to content

Commit

Permalink
feat: Add new field in GenerateClientCertificate v1 API to allow Al…
Browse files Browse the repository at this point in the history
…loyDB connectors request client certs with metadata exchange support

docs: Clarify that `readPoolConfig` is required under certain circumstances, and fix doc formatting on `allocatedIpRange`.

PiperOrigin-RevId: 578577028

Source-Link: googleapis/googleapis@c0a2b54

Source-Link: https://github.com/googleapis/googleapis-gen/commit/4791ced8186e658805f2f75243da29c5dabb1f76
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQWxsb3lEYi5WMS8uT3dsQm90LnlhbWwiLCJoIjoiNDc5MWNlZDgxODZlNjU4ODA1ZjJmNzUyNDNkYTI5YzVkYWJiMWY3NiJ9
  • Loading branch information
gcf-owl-bot[bot] authored and Rishabh-V committed Nov 2, 2023
1 parent 5740cd2 commit adc660e
Show file tree
Hide file tree
Showing 6 changed files with 237 additions and 189 deletions.
Expand Up @@ -42,6 +42,7 @@ public async Task GenerateClientCertificateRequestObjectAsync()
RequestId = "",
CertDuration = new Duration(),
PublicKey = "",
UseMetadataExchange = false,
};
// Make the request
GenerateClientCertificateResponse response = await alloyDBAdminClient.GenerateClientCertificateAsync(request);
Expand Down
Expand Up @@ -41,6 +41,7 @@ public void GenerateClientCertificateRequestObject()
RequestId = "",
CertDuration = new Duration(),
PublicKey = "",
UseMetadataExchange = false,
};
// Make the request
GenerateClientCertificateResponse response = alloyDBAdminClient.GenerateClientCertificate(request);
Expand Down
Expand Up @@ -6599,12 +6599,12 @@
"segments": [
{
"start": 20,
"end": 48,
"end": 49,
"type": "FULL"
},
{
"start": 35,
"end": 46,
"end": 47,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -6648,12 +6648,12 @@
"segments": [
{
"start": 20,
"end": 49,
"end": 50,
"type": "FULL"
},
{
"start": 36,
"end": 47,
"end": 48,
"type": "SHORT"
}
]
Expand Down
Expand Up @@ -4288,6 +4288,7 @@ public void GenerateClientCertificateRequestObject()
RequestId = "",
CertDuration = new Duration(),
PublicKey = "",
UseMetadataExchange = false,
};
// Make the request
GenerateClientCertificateResponse response = alloyDBAdminClient.GenerateClientCertificate(request);
Expand All @@ -4308,6 +4309,7 @@ public async Task GenerateClientCertificateRequestObjectAsync()
RequestId = "",
CertDuration = new Duration(),
PublicKey = "",
UseMetadataExchange = false,
};
// Make the request
GenerateClientCertificateResponse response = await alloyDBAdminClient.GenerateClientCertificateAsync(request);
Expand Down
Expand Up @@ -5572,8 +5572,8 @@ public sealed partial class NetworkConfig : pb::IMessage<NetworkConfig>
/// instance IPs for this cluster will be created in the allocated range. The
/// range name must comply with RFC 1035. Specifically, the name must be 1-63
/// characters long and match the regular expression
/// [a-z]([-a-z0-9]*[a-z0-9])?.
/// Field name is intended to be consistent with CloudSQL.
/// `[a-z]([-a-z0-9]*[a-z0-9])?`.
/// Field name is intended to be consistent with Cloud SQL.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down Expand Up @@ -6474,7 +6474,8 @@ public sealed partial class Instance : pb::IMessage<Instance>
public const int ReadPoolConfigFieldNumber = 14;
private global::Google.Cloud.AlloyDb.V1.Instance.Types.ReadPoolConfig readPoolConfig_;
/// <summary>
/// Read pool specific config.
/// Read pool instance configuration.
/// This is required if the value of instanceType is READ_POOL.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down

0 comments on commit adc660e

Please sign in to comment.