public interface ServerTlsPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Set of label tags associated with the resource.
|
boolean |
getAllowOpen()
Determines if server allows plaintext connections.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDescription()
Free-text description of the resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Free-text description of the resource.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Set of label tags associated with the resource.
|
Map<String,String> |
getLabelsMap()
Set of label tags associated with the resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Set of label tags associated with the resource.
|
String |
getLabelsOrThrow(String key)
Set of label tags associated with the resource.
|
ServerTlsPolicy.MTLSPolicy |
getMtlsPolicy()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
ServerTlsPolicy.MTLSPolicyOrBuilder |
getMtlsPolicyOrBuilder()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
CertificateProvider |
getServerCertificate()
Defines a mechanism to provision server identity (public and private keys).
|
CertificateProviderOrBuilder |
getServerCertificateOrBuilder()
Defines a mechanism to provision server identity (public and private keys).
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasMtlsPolicy()
Defines a mechanism to provision peer validation certificates for peer to
peer authentication (Mutual TLS - mTLS).
|
boolean |
hasServerCertificate()
Defines a mechanism to provision server identity (public and private keys).
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Name of the ServerTlsPolicy resource. It matches the pattern
`projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. Name of the ServerTlsPolicy resource. It matches the pattern
`projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];String getDescription()
Free-text description of the resource.
string description = 2;com.google.protobuf.ByteString getDescriptionBytes()
Free-text description of the resource.
string description = 2;boolean hasCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Set of label tags associated with the resource.
map<string, string> labels = 5;boolean containsLabels(String key)
Set of label tags associated with the resource.
map<string, string> labels = 5;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Set of label tags associated with the resource.
map<string, string> labels = 5;String getLabelsOrDefault(String key, String defaultValue)
Set of label tags associated with the resource.
map<string, string> labels = 5;String getLabelsOrThrow(String key)
Set of label tags associated with the resource.
map<string, string> labels = 5;boolean getAllowOpen()
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.
bool allow_open = 6;boolean hasServerCertificate()
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.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;CertificateProvider getServerCertificate()
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.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;CertificateProviderOrBuilder getServerCertificateOrBuilder()
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.
.google.cloud.networksecurity.v1beta1.CertificateProvider server_certificate = 7;boolean hasMtlsPolicy()
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.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;ServerTlsPolicy.MTLSPolicy getMtlsPolicy()
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.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;ServerTlsPolicy.MTLSPolicyOrBuilder getMtlsPolicyOrBuilder()
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.
.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy mtls_policy = 8;Copyright © 2023 Google LLC. All rights reserved.