public sealed class ClientTlsPolicy : IMessage<ClientTlsPolicy>, IEquatable<ClientTlsPolicy>, IDeepCloneable<ClientTlsPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Network Security v1beta1 API class ClientTlsPolicy.
ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service. This resource itself does not affect configuration unless it is attached to a backend service resource.
Implements
IMessageClientTlsPolicy, IEquatableClientTlsPolicy, IDeepCloneableClientTlsPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkSecurity.V1Beta1Assembly
Google.Cloud.NetworkSecurity.V1Beta1.dll
Constructors
ClientTlsPolicy()
public ClientTlsPolicy()ClientTlsPolicy(ClientTlsPolicy)
public ClientTlsPolicy(ClientTlsPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
ClientTlsPolicy |
Properties
ClientCertificate
public CertificateProvider ClientCertificate { get; set; }Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
| Property Value | |
|---|---|
| Type | Description |
CertificateProvider |
|
ClientTlsPolicyName
public ClientTlsPolicyName ClientTlsPolicyName { get; set; }ClientTlsPolicyName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ClientTlsPolicyName |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The timestamp when the resource was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Optional. Free-text description of the resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Labels
public MapField<string, string> Labels { get; }Optional. Set of label tags associated with the resource.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
Name
public string Name { get; set; }Required. Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServerValidationCa
public RepeatedField<ValidationCA> ServerValidationCa { get; }Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldValidationCA |
|
Sni
public string Sni { get; set; }Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The timestamp when the resource was updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|