public interface CreateDiscoveryConfigRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 varies depending on the scope of the request (project or organization):
- Projects scope:
projects/{project_id}/locations/{location_id} Organizations scope:
organizations/{org_id}/locations/{location_id}The following example
parentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location 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 varies depending on the scope of the request (project or organization):
- Projects scope:
projects/{project_id}/locations/{location_id} Organizations scope:
organizations/{org_id}/locations/{location_id}The following example
parentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location 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. |