View Source GoogleApi.NetworkSecurity.V1.Model.ClientTlsPolicy (google_api_network_security v0.3.1)

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.

Attributes

  • clientCertificate (type: GoogleApi.NetworkSecurity.V1.Model.GoogleCloudNetworksecurityV1CertificateProvider.t, default: nil) - Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was created.
  • description (type: String.t, default: nil) - Optional. Free-text description of the resource.
  • labels (type: map(), default: nil) - Optional. Set of label tags associated with the resource.
  • name (type: String.t, default: nil) - Required. Name of the ClientTlsPolicy resource. It matches the pattern projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
  • serverValidationCa (type: list(GoogleApi.NetworkSecurity.V1.Model.ValidationCA.t), default: nil) - Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
  • sni (type: String.t, default: nil) - Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.NetworkSecurity.V1.Model.ClientTlsPolicy{
  clientCertificate:
    GoogleApi.NetworkSecurity.V1.Model.GoogleCloudNetworksecurityV1CertificateProvider.t()
    | nil,
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  serverValidationCa:
    [GoogleApi.NetworkSecurity.V1.Model.ValidationCA.t()] | nil,
  sni: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.