Interface CreateSecurityProfileRequestOrBuilder (0.94.0)

public interface CreateSecurityProfileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

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

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

Returns
Type Description
ByteString

The bytes for parent.

getSecurityProfile()

public abstract SecurityProfile getSecurityProfile()

Required. SecurityProfile resource to be created.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfile

The securityProfile.

getSecurityProfileId()

public abstract String getSecurityProfileId()

Required. Short name of the SecurityProfile 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. "security_profile1".

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

Returns
Type Description
String

The securityProfileId.

getSecurityProfileIdBytes()

public abstract ByteString getSecurityProfileIdBytes()

Required. Short name of the SecurityProfile 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. "security_profile1".

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

Returns
Type Description
ByteString

The bytes for securityProfileId.

getSecurityProfileOrBuilder()

public abstract SecurityProfileOrBuilder getSecurityProfileOrBuilder()

Required. SecurityProfile resource to be created.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfileOrBuilder

hasSecurityProfile()

public abstract boolean hasSecurityProfile()

Required. SecurityProfile resource to be created.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityProfile field is set.