GetServerTlsPolicyResult class

Result data returned by getServerTlsPolicy.

Constructors

GetServerTlsPolicyResult({required bool allowOpen, required String createTime, required String description, required Map<String, String> labels, required MTLSPolicyResponse mtlsPolicy, required String name, required GoogleCloudNetworksecurityV1CertificateProviderResponse serverCertificate, required String updateTime})
Creates a new GetServerTlsPolicyResult. allowOpen This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. 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. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. createTime The timestamp when the resource was created. description Free-text description of the resource. labels Set of label tags associated with the resource. mtlsPolicy This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. 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 Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy} serverCertificate Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. 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 The timestamp when the resource was updated.
const
GetServerTlsPolicyResult.fromMap(Map<String, dynamic> map)
factory

Properties

allowOpen → bool
This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. 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. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.
final
createTime → String
The timestamp when the resource was created.
final
description → String
Free-text description of the resource.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Map<String, String>
Set of label tags associated with the resource.
final
mtlsPolicy → MTLSPolicyResponse
This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. 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.
final
name → String
Name of the ServerTlsPolicy resource. It matches the pattern projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverCertificate → GoogleCloudNetworksecurityV1CertificateProviderResponse
Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. 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.
final
updateTime → String
The timestamp when the resource was updated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited