Interface CreateServerTlsPolicyRequestOrBuilder (0.57.0)

public interface CreateServerTlsPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent resource of the ServerTlsPolicy. Must be in the format projects/*/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource of the ServerTlsPolicy. Must be in the format projects/*/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getServerTlsPolicy()

public abstract ServerTlsPolicy getServerTlsPolicy()

Required. ServerTlsPolicy resource to be created.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServerTlsPolicy

The serverTlsPolicy.

getServerTlsPolicyId()

public abstract String getServerTlsPolicyId()

Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "server_mtls_policy".

string server_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serverTlsPolicyId.

getServerTlsPolicyIdBytes()

public abstract ByteString getServerTlsPolicyIdBytes()

Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "server_mtls_policy".

string server_tls_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serverTlsPolicyId.

getServerTlsPolicyOrBuilder()

public abstract ServerTlsPolicyOrBuilder getServerTlsPolicyOrBuilder()

Required. ServerTlsPolicy resource to be created.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServerTlsPolicyOrBuilder

hasServerTlsPolicy()

public abstract boolean hasServerTlsPolicy()

Required. ServerTlsPolicy resource to be created.

.google.cloud.networksecurity.v1.ServerTlsPolicy server_tls_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serverTlsPolicy field is set.