Interface CreateDiscoveryConfigRequestOrBuilder (3.47.0)

public interface CreateDiscoveryConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfigId()

public abstract String getConfigId()

The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.

string config_id = 3;

Returns
Type Description
String

The configId.

getConfigIdBytes()

public abstract ByteString getConfigIdBytes()

The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.

string config_id = 3;

Returns
Type Description
ByteString

The bytes for configId.

getDiscoveryConfig()

public abstract DiscoveryConfig getDiscoveryConfig()

Required. The DiscoveryConfig to create.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryConfig

The discoveryConfig.

getDiscoveryConfigOrBuilder()

public abstract DiscoveryConfigOrBuilder getDiscoveryConfigOrBuilder()

Required. The DiscoveryConfig to create.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryConfigOrBuilder

getParent()

public abstract String getParent()

Required. Parent resource name.

The format of this value is as follows: projects/<var>PROJECT_ID</var>/locations/<var>LOCATION_ID</var>

The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data:

 parent=projects/example-project/locations/europe-west3

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Parent resource name.

The format of this value is as follows: projects/<var>PROJECT_ID</var>/locations/<var>LOCATION_ID</var>

The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data:

 parent=projects/example-project/locations/europe-west3

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

Returns
Type Description
ByteString

The bytes for parent.

hasDiscoveryConfig()

public abstract boolean hasDiscoveryConfig()

Required. The DiscoveryConfig to create.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the discoveryConfig field is set.