View Source GoogleApi.NetworkSecurity.V1.Model.ServerTlsPolicy (google_api_network_security v0.2.1)

ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target https proxy or endpoint config selector resource.

Attributes

  • allowOpen (type: boolean(), default: nil) - Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if allow_open and mtls_policy are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility.
  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was created.
  • description (type: String.t, default: nil) - Free-text description of the resource.
  • labels (type: map(), default: nil) - Set of label tags associated with the resource.
  • mtlsPolicy (type: GoogleApi.NetworkSecurity.V1.Model.MTLSPolicy.t, default: nil) - Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If allow_open and mtls_policy are set, server allows both plain text and mTLS connections.
  • name (type: String.t, default: nil) - Required. Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}
  • serverCertificate (type: GoogleApi.NetworkSecurity.V1.Model.GoogleCloudNetworksecurityV1CertificateProvider.t, default: nil) - Defines a mechanism to provision server identity (public and private keys). Cannot be combined with allow_open as a permissive mode that allows both plain text and TLS is not supported.
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was updated.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.NetworkSecurity.V1.Model.ServerTlsPolicy{
  allowOpen: boolean() | nil,
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  labels: map() | nil,
  mtlsPolicy: GoogleApi.NetworkSecurity.V1.Model.MTLSPolicy.t() | nil,
  name: String.t() | nil,
  serverCertificate:
    GoogleApi.NetworkSecurity.V1.Model.GoogleCloudNetworksecurityV1CertificateProvider.t()
    | nil,
  updateTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.