Interface CreateAuthorizationPolicyRequestOrBuilder (0.39.0)

public interface CreateAuthorizationPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthorizationPolicy()

public abstract AuthorizationPolicy getAuthorizationPolicy()

Required. AuthorizationPolicy resource to be created.

.google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AuthorizationPolicy

The authorizationPolicy.

getAuthorizationPolicyId()

public abstract String getAuthorizationPolicyId()

Required. Short name of the AuthorizationPolicy 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. "authz_policy".

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

Returns
TypeDescription
String

The authorizationPolicyId.

getAuthorizationPolicyIdBytes()

public abstract ByteString getAuthorizationPolicyIdBytes()

Required. Short name of the AuthorizationPolicy 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. "authz_policy".

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

Returns
TypeDescription
ByteString

The bytes for authorizationPolicyId.

getAuthorizationPolicyOrBuilder()

public abstract AuthorizationPolicyOrBuilder getAuthorizationPolicyOrBuilder()

Required. AuthorizationPolicy resource to be created.

.google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AuthorizationPolicyOrBuilder

getParent()

public abstract String getParent()

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

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasAuthorizationPolicy()

public abstract boolean hasAuthorizationPolicy()

Required. AuthorizationPolicy resource to be created.

.google.cloud.networksecurity.v1beta1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the authorizationPolicy field is set.