Interface CreateDiscoveryConfigRequestOrBuilder (3.45.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the discoveryConfig field is set.