Interface CreateGatewaySecurityPolicyRequestOrBuilder (0.94.0)

public interface CreateGatewaySecurityPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGatewaySecurityPolicy()

public abstract GatewaySecurityPolicy getGatewaySecurityPolicy()

Required. GatewaySecurityPolicy resource to be created.

.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GatewaySecurityPolicy

The gatewaySecurityPolicy.

getGatewaySecurityPolicyId()

public abstract String getGatewaySecurityPolicyId()

Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".

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

Returns
Type Description
String

The gatewaySecurityPolicyId.

getGatewaySecurityPolicyIdBytes()

public abstract ByteString getGatewaySecurityPolicyIdBytes()

Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".

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

Returns
Type Description
ByteString

The bytes for gatewaySecurityPolicyId.

getGatewaySecurityPolicyOrBuilder()

public abstract GatewaySecurityPolicyOrBuilder getGatewaySecurityPolicyOrBuilder()

Required. GatewaySecurityPolicy resource to be created.

.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GatewaySecurityPolicyOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource of the GatewaySecurityPolicy. Must be in the format projects/{project}/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 GatewaySecurityPolicy. Must be in the format projects/{project}/locations/{location}.

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

Returns
Type Description
ByteString

The bytes for parent.

hasGatewaySecurityPolicy()

public abstract boolean hasGatewaySecurityPolicy()

Required. GatewaySecurityPolicy resource to be created.

.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the gatewaySecurityPolicy field is set.