Sensitive Data Protection provides access to a powerful sensitive data inspection, classification, and de-identification platform that works on text, images, and Google Cloud storage repositories.
To learn more about concepts and find how-to guides see https://cloud.google.com/sensitive-data-protection/docs/.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
DlpServiceClient(DlpServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DlpServiceClient const &
|
DlpServiceClient(DlpServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DlpServiceClient &&
|
DlpServiceClient(std::shared_ptr< DlpServiceConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< DlpServiceConnection >
|
opts |
Options
|
Operators
operator=(DlpServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DlpServiceClient const &
|
Returns | |
---|---|
Type | Description |
DlpServiceClient & |
operator=(DlpServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DlpServiceClient &&
|
Returns | |
---|---|
Type | Description |
DlpServiceClient & |
Functions
InspectContent(google::privacy::dlp::v2::InspectContentRequest const &, Options)
Finds potentially sensitive info in content.
This method has limits on input size, processing time, and output size.
When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
For how to guides, see https://cloud.google.com/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/docs/inspecting-text,
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::InspectContentRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::InspectContentResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.InspectContentResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
RedactImage(google::privacy::dlp::v2::RedactImageRequest const &, Options)
Redacts potentially sensitive info from an image.
This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.
When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::RedactImageRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::RedactImageResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.RedactImageResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeidentifyContent(google::privacy::dlp::v2::DeidentifyContentRequest const &, Options)
De-identifies potentially sensitive info from a ContentItem.
This method has limits on input size and output size. See https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data to learn more.
When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeidentifyContentRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DeidentifyContentResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DeidentifyContentResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ReidentifyContent(google::privacy::dlp::v2::ReidentifyContentRequest const &, Options)
Re-identifies content that has been de-identified.
See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ReidentifyContentRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::ReidentifyContentResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.ReidentifyContentResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListInfoTypes(std::string const &, Options)
Returns a list of the sensitive information types that DLP API supports.
See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
The parent resource name. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::ListInfoTypesResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.ListInfoTypesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListInfoTypes(google::privacy::dlp::v2::ListInfoTypesRequest const &, Options)
Returns a list of the sensitive information types that DLP API supports.
See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListInfoTypesRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::ListInfoTypesResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.ListInfoTypesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateInspectTemplate(std::string const &, google::privacy::dlp::v2::InspectTemplate const &, Options)
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
inspect_template |
google::privacy::dlp::v2::InspectTemplate const &
Required. The InspectTemplate to create. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::InspectTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.InspectTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateInspectTemplate(google::privacy::dlp::v2::CreateInspectTemplateRequest const &, Options)
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CreateInspectTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::InspectTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.InspectTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateInspectTemplate(std::string const &, google::privacy::dlp::v2::InspectTemplate const &, google::protobuf::FieldMask const &, Options)
Updates the InspectTemplate.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of organization and inspectTemplate to be updated, for example |
inspect_template |
google::privacy::dlp::v2::InspectTemplate const &
New InspectTemplate value. |
update_mask |
google::protobuf::FieldMask const &
Mask to control which fields get updated. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::InspectTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.InspectTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateInspectTemplate(google::privacy::dlp::v2::UpdateInspectTemplateRequest const &, Options)
Updates the InspectTemplate.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::UpdateInspectTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::InspectTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.InspectTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetInspectTemplate(std::string const &, Options)
Gets an InspectTemplate.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the organization and inspectTemplate to be read, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::InspectTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.InspectTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetInspectTemplate(google::privacy::dlp::v2::GetInspectTemplateRequest const &, Options)
Gets an InspectTemplate.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetInspectTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::InspectTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.InspectTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListInspectTemplates(std::string const &, Options)
Lists InspectTemplates.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::InspectTemplate > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListInspectTemplates(google::privacy::dlp::v2::ListInspectTemplatesRequest, Options)
Lists InspectTemplates.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListInspectTemplatesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::InspectTemplate > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteInspectTemplate(std::string const &, Options)
Deletes an InspectTemplate.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the organization and inspectTemplate to be deleted, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteInspectTemplate(google::privacy::dlp::v2::DeleteInspectTemplateRequest const &, Options)
Deletes an InspectTemplate.
See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteInspectTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CreateDeidentifyTemplate(std::string const &, google::privacy::dlp::v2::DeidentifyTemplate const &, Options)
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
deidentify_template |
google::privacy::dlp::v2::DeidentifyTemplate const &
Required. The DeidentifyTemplate to create. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DeidentifyTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DeidentifyTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateDeidentifyTemplate(google::privacy::dlp::v2::CreateDeidentifyTemplateRequest const &, Options)
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CreateDeidentifyTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DeidentifyTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DeidentifyTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateDeidentifyTemplate(std::string const &, google::privacy::dlp::v2::DeidentifyTemplate const &, google::protobuf::FieldMask const &, Options)
Updates the DeidentifyTemplate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of organization and deidentify template to be updated, for example |
deidentify_template |
google::privacy::dlp::v2::DeidentifyTemplate const &
New DeidentifyTemplate value. |
update_mask |
google::protobuf::FieldMask const &
Mask to control which fields get updated. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DeidentifyTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DeidentifyTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateDeidentifyTemplate(google::privacy::dlp::v2::UpdateDeidentifyTemplateRequest const &, Options)
Updates the DeidentifyTemplate.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::UpdateDeidentifyTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DeidentifyTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DeidentifyTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDeidentifyTemplate(std::string const &, Options)
Gets a DeidentifyTemplate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the organization and deidentify template to be read, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DeidentifyTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DeidentifyTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDeidentifyTemplate(google::privacy::dlp::v2::GetDeidentifyTemplateRequest const &, Options)
Gets a DeidentifyTemplate.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetDeidentifyTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DeidentifyTemplate > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DeidentifyTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListDeidentifyTemplates(std::string const &, Options)
Lists DeidentifyTemplates.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::DeidentifyTemplate > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDeidentifyTemplates(google::privacy::dlp::v2::ListDeidentifyTemplatesRequest, Options)
Lists DeidentifyTemplates.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListDeidentifyTemplatesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::DeidentifyTemplate > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteDeidentifyTemplate(std::string const &, Options)
Deletes a DeidentifyTemplate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the organization and deidentify template to be deleted, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteDeidentifyTemplate(google::privacy::dlp::v2::DeleteDeidentifyTemplateRequest const &, Options)
Deletes a DeidentifyTemplate.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteDeidentifyTemplateRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CreateJobTrigger(std::string const &, google::privacy::dlp::v2::JobTrigger const &, Options)
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
job_trigger |
google::privacy::dlp::v2::JobTrigger const &
Required. The JobTrigger to create. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::JobTrigger > |
the result of the RPC. The response message type (google.privacy.dlp.v2.JobTrigger) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateJobTrigger(google::privacy::dlp::v2::CreateJobTriggerRequest const &, Options)
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CreateJobTriggerRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::JobTrigger > |
the result of the RPC. The response message type (google.privacy.dlp.v2.JobTrigger) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateJobTrigger(std::string const &, google::privacy::dlp::v2::JobTrigger const &, google::protobuf::FieldMask const &, Options)
Updates a job trigger.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the project and the triggeredJob, for example |
job_trigger |
google::privacy::dlp::v2::JobTrigger const &
New JobTrigger value. |
update_mask |
google::protobuf::FieldMask const &
Mask to control which fields get updated. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::JobTrigger > |
the result of the RPC. The response message type (google.privacy.dlp.v2.JobTrigger) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateJobTrigger(google::privacy::dlp::v2::UpdateJobTriggerRequest const &, Options)
Updates a job trigger.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::UpdateJobTriggerRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::JobTrigger > |
the result of the RPC. The response message type (google.privacy.dlp.v2.JobTrigger) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
HybridInspectJobTrigger(std::string const &, Options)
Inspect hybrid content and store findings to a trigger.
The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the trigger to execute a hybrid inspect on, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::HybridInspectResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.HybridInspectResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
HybridInspectJobTrigger(google::privacy::dlp::v2::HybridInspectJobTriggerRequest const &, Options)
Inspect hybrid content and store findings to a trigger.
The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::HybridInspectJobTriggerRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::HybridInspectResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.HybridInspectResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetJobTrigger(std::string const &, Options)
Gets a job trigger.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the project and the triggeredJob, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::JobTrigger > |
the result of the RPC. The response message type (google.privacy.dlp.v2.JobTrigger) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetJobTrigger(google::privacy::dlp::v2::GetJobTriggerRequest const &, Options)
Gets a job trigger.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetJobTriggerRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::JobTrigger > |
the result of the RPC. The response message type (google.privacy.dlp.v2.JobTrigger) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListJobTriggers(std::string const &, Options)
Lists job triggers.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::JobTrigger > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListJobTriggers(google::privacy::dlp::v2::ListJobTriggersRequest, Options)
Lists job triggers.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListJobTriggersRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::JobTrigger > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteJobTrigger(std::string const &, Options)
Deletes a job trigger.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the project and the triggeredJob, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteJobTrigger(google::privacy::dlp::v2::DeleteJobTriggerRequest const &, Options)
Deletes a job trigger.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteJobTriggerRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
ActivateJobTrigger(google::privacy::dlp::v2::ActivateJobTriggerRequest const &, Options)
Activate a job trigger.
Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ActivateJobTriggerRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DlpJob > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DlpJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateDiscoveryConfig(std::string const &, google::privacy::dlp::v2::DiscoveryConfig const &, Options)
Creates a config for discovery to scan and profile storage.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
discovery_config |
google::privacy::dlp::v2::DiscoveryConfig const &
Required. The DiscoveryConfig to create. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DiscoveryConfig > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DiscoveryConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateDiscoveryConfig(google::privacy::dlp::v2::CreateDiscoveryConfigRequest const &, Options)
Creates a config for discovery to scan and profile storage.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CreateDiscoveryConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DiscoveryConfig > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DiscoveryConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateDiscoveryConfig(std::string const &, google::privacy::dlp::v2::DiscoveryConfig const &, google::protobuf::FieldMask const &, Options)
Updates a discovery configuration.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the project and the configuration, for example |
discovery_config |
google::privacy::dlp::v2::DiscoveryConfig const &
Required. New DiscoveryConfig value. |
update_mask |
google::protobuf::FieldMask const &
Mask to control which fields get updated. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DiscoveryConfig > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DiscoveryConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateDiscoveryConfig(google::privacy::dlp::v2::UpdateDiscoveryConfigRequest const &, Options)
Updates a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::UpdateDiscoveryConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DiscoveryConfig > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DiscoveryConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDiscoveryConfig(std::string const &, Options)
Gets a discovery configuration.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the project and the configuration, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DiscoveryConfig > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DiscoveryConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDiscoveryConfig(google::privacy::dlp::v2::GetDiscoveryConfigRequest const &, Options)
Gets a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetDiscoveryConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DiscoveryConfig > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DiscoveryConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListDiscoveryConfigs(std::string const &, Options)
Lists discovery configurations.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::DiscoveryConfig > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDiscoveryConfigs(google::privacy::dlp::v2::ListDiscoveryConfigsRequest, Options)
Lists discovery configurations.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListDiscoveryConfigsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::DiscoveryConfig > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteDiscoveryConfig(std::string const &, Options)
Deletes a discovery configuration.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the project and the config, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteDiscoveryConfig(google::privacy::dlp::v2::DeleteDiscoveryConfigRequest const &, Options)
Deletes a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteDiscoveryConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CreateDlpJob(std::string const &, google::privacy::dlp::v2::InspectJobConfig const &, Options)
Creates a new job to inspect storage or calculate risk metrics.
See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
inspect_job |
google::privacy::dlp::v2::InspectJobConfig const &
An inspection job scans a storage repository for InfoTypes. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DlpJob > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DlpJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateDlpJob(std::string const &, google::privacy::dlp::v2::RiskAnalysisJobConfig const &, Options)
Creates a new job to inspect storage or calculate risk metrics.
See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
risk_job |
google::privacy::dlp::v2::RiskAnalysisJobConfig const &
A risk analysis job calculates re-identification risk metrics for a BigQuery table. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DlpJob > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DlpJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateDlpJob(google::privacy::dlp::v2::CreateDlpJobRequest const &, Options)
Creates a new job to inspect storage or calculate risk metrics.
See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CreateDlpJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DlpJob > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DlpJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListDlpJobs(std::string const &, Options)
Lists DlpJobs that match the specified filter in the request.
See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::DlpJob > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDlpJobs(google::privacy::dlp::v2::ListDlpJobsRequest, Options)
Lists DlpJobs that match the specified filter in the request.
See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListDlpJobsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::DlpJob > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetDlpJob(std::string const &, Options)
Gets the latest state of a long-running DlpJob.
See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the DlpJob resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DlpJob > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DlpJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDlpJob(google::privacy::dlp::v2::GetDlpJobRequest const &, Options)
Gets the latest state of a long-running DlpJob.
See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetDlpJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::DlpJob > |
the result of the RPC. The response message type (google.privacy.dlp.v2.DlpJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteDlpJob(std::string const &, Options)
Deletes a long-running DlpJob.
This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the DlpJob resource to be deleted. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteDlpJob(google::privacy::dlp::v2::DeleteDlpJobRequest const &, Options)
Deletes a long-running DlpJob.
This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteDlpJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CancelDlpJob(google::privacy::dlp::v2::CancelDlpJobRequest const &, Options)
Starts asynchronous cancellation on a long-running DlpJob.
The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CancelDlpJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CreateStoredInfoType(std::string const &, google::privacy::dlp::v2::StoredInfoTypeConfig const &, Options)
Creates a pre-built stored infoType to be used for inspection.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
config |
google::privacy::dlp::v2::StoredInfoTypeConfig const &
Required. Configuration of the storedInfoType to create. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::StoredInfoType > |
the result of the RPC. The response message type (google.privacy.dlp.v2.StoredInfoType) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateStoredInfoType(google::privacy::dlp::v2::CreateStoredInfoTypeRequest const &, Options)
Creates a pre-built stored infoType to be used for inspection.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CreateStoredInfoTypeRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::StoredInfoType > |
the result of the RPC. The response message type (google.privacy.dlp.v2.StoredInfoType) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateStoredInfoType(std::string const &, google::privacy::dlp::v2::StoredInfoTypeConfig const &, google::protobuf::FieldMask const &, Options)
Updates the stored infoType by creating a new version.
The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of organization and storedInfoType to be updated, for example |
config |
google::privacy::dlp::v2::StoredInfoTypeConfig const &
Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration. |
update_mask |
google::protobuf::FieldMask const &
Mask to control which fields get updated. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::StoredInfoType > |
the result of the RPC. The response message type (google.privacy.dlp.v2.StoredInfoType) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateStoredInfoType(google::privacy::dlp::v2::UpdateStoredInfoTypeRequest const &, Options)
Updates the stored infoType by creating a new version.
The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::UpdateStoredInfoTypeRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::StoredInfoType > |
the result of the RPC. The response message type (google.privacy.dlp.v2.StoredInfoType) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetStoredInfoType(std::string const &, Options)
Gets a stored infoType.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the organization and storedInfoType to be read, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::StoredInfoType > |
the result of the RPC. The response message type (google.privacy.dlp.v2.StoredInfoType) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetStoredInfoType(google::privacy::dlp::v2::GetStoredInfoTypeRequest const &, Options)
Gets a stored infoType.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetStoredInfoTypeRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::StoredInfoType > |
the result of the RPC. The response message type (google.privacy.dlp.v2.StoredInfoType) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListStoredInfoTypes(std::string const &, Options)
Lists stored infoTypes.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::StoredInfoType > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListStoredInfoTypes(google::privacy::dlp::v2::ListStoredInfoTypesRequest, Options)
Lists stored infoTypes.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListStoredInfoTypesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::StoredInfoType > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteStoredInfoType(std::string const &, Options)
Deletes a stored infoType.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the organization and storedInfoType to be deleted, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteStoredInfoType(google::privacy::dlp::v2::DeleteStoredInfoTypeRequest const &, Options)
Deletes a stored infoType.
See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteStoredInfoTypeRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
ListProjectDataProfiles(std::string const &, Options)
Lists project data profiles for an organization.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. organizations/{org_id}/locations/{loc_id} |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::ProjectDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListProjectDataProfiles(google::privacy::dlp::v2::ListProjectDataProfilesRequest, Options)
Lists project data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListProjectDataProfilesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::ProjectDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListTableDataProfiles(std::string const &, Options)
Lists table data profiles for an organization.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Resource name of the organization or project, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::TableDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListTableDataProfiles(google::privacy::dlp::v2::ListTableDataProfilesRequest, Options)
Lists table data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListTableDataProfilesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::TableDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListColumnDataProfiles(std::string const &, Options)
Lists column data profiles for an organization.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Resource name of the organization or project, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::ColumnDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListColumnDataProfiles(google::privacy::dlp::v2::ListColumnDataProfilesRequest, Options)
Lists column data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListColumnDataProfilesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::ColumnDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetProjectDataProfile(std::string const &, Options)
Gets a project data profile.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::ProjectDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.ProjectDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetProjectDataProfile(google::privacy::dlp::v2::GetProjectDataProfileRequest const &, Options)
Gets a project data profile.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetProjectDataProfileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::ProjectDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.ProjectDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListFileStoreDataProfiles(std::string const &, Options)
Lists file store data profiles for an organization.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Resource name of the organization or project, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::FileStoreDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListFileStoreDataProfiles(google::privacy::dlp::v2::ListFileStoreDataProfilesRequest, Options)
Lists file store data profiles for an organization.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListFileStoreDataProfilesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::FileStoreDataProfile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetFileStoreDataProfile(std::string const &, Options)
Gets a file store data profile.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::FileStoreDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.FileStoreDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetFileStoreDataProfile(google::privacy::dlp::v2::GetFileStoreDataProfileRequest const &, Options)
Gets a file store data profile.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetFileStoreDataProfileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::FileStoreDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.FileStoreDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteFileStoreDataProfile(std::string const &, Options)
Delete a FileStoreDataProfile.
Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the file store data profile. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteFileStoreDataProfile(google::privacy::dlp::v2::DeleteFileStoreDataProfileRequest const &, Options)
Delete a FileStoreDataProfile.
Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteFileStoreDataProfileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
GetTableDataProfile(std::string const &, Options)
Gets a table data profile.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::TableDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.TableDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetTableDataProfile(google::privacy::dlp::v2::GetTableDataProfileRequest const &, Options)
Gets a table data profile.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetTableDataProfileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::TableDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.TableDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetColumnDataProfile(std::string const &, Options)
Gets a column data profile.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::ColumnDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.ColumnDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetColumnDataProfile(google::privacy::dlp::v2::GetColumnDataProfileRequest const &, Options)
Gets a column data profile.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetColumnDataProfileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::ColumnDataProfile > |
the result of the RPC. The response message type (google.privacy.dlp.v2.ColumnDataProfile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteTableDataProfile(std::string const &, Options)
Delete a TableDataProfile.
Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the table data profile. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteTableDataProfile(google::privacy::dlp::v2::DeleteTableDataProfileRequest const &, Options)
Delete a TableDataProfile.
Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteTableDataProfileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
HybridInspectDlpJob(std::string const &, Options)
Inspect hybrid content and store findings to a job.
To review the findings, inspect the job. Inspection will occur asynchronously.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the job to execute a hybrid inspect on, for example |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::HybridInspectResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.HybridInspectResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
HybridInspectDlpJob(google::privacy::dlp::v2::HybridInspectDlpJobRequest const &, Options)
Inspect hybrid content and store findings to a job.
To review the findings, inspect the job. Inspection will occur asynchronously.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::HybridInspectDlpJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::HybridInspectResponse > |
the result of the RPC. The response message type (google.privacy.dlp.v2.HybridInspectResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
FinishDlpJob(google::privacy::dlp::v2::FinishDlpJobRequest const &, Options)
Finish a running hybrid DlpJob.
Triggers the finalization steps and running of any enabled actions that have not yet run.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::FinishDlpJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CreateConnection(std::string const &, google::privacy::dlp::v2::Connection const &, Options)
Create a Connection to an external data source.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource name.
|
connection |
google::privacy::dlp::v2::Connection const &
Required. The connection resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::Connection > |
the result of the RPC. The response message type (google.privacy.dlp.v2.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateConnection(google::privacy::dlp::v2::CreateConnectionRequest const &, Options)
Create a Connection to an external data source.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::CreateConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::Connection > |
the result of the RPC. The response message type (google.privacy.dlp.v2.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetConnection(std::string const &, Options)
Get a Connection by name.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name in the format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::Connection > |
the result of the RPC. The response message type (google.privacy.dlp.v2.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetConnection(google::privacy::dlp::v2::GetConnectionRequest const &, Options)
Get a Connection by name.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::GetConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::Connection > |
the result of the RPC. The response message type (google.privacy.dlp.v2.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListConnections(std::string const &, Options)
Lists Connections in a parent.
Use SearchConnections to see all connections within an organization.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Resource name of the organization or project, for example, |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::Connection > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListConnections(google::privacy::dlp::v2::ListConnectionsRequest, Options)
Lists Connections in a parent.
Use SearchConnections to see all connections within an organization.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::ListConnectionsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::Connection > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
SearchConnections(std::string const &, Options)
Searches for Connections in a parent.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Resource name of the organization or project with a wildcard location, for example, |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::Connection > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
SearchConnections(google::privacy::dlp::v2::SearchConnectionsRequest, Options)
Searches for Connections in a parent.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::SearchConnectionsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::privacy::dlp::v2::Connection > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteConnection(std::string const &, Options)
Delete a Connection.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the Connection to be deleted, in the format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteConnection(google::privacy::dlp::v2::DeleteConnectionRequest const &, Options)
Delete a Connection.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::DeleteConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
UpdateConnection(std::string const &, Options)
Update a Connection.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name in the format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::Connection > |
the result of the RPC. The response message type (google.privacy.dlp.v2.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateConnection(google::privacy::dlp::v2::UpdateConnectionRequest const &, Options)
Update a Connection.
Parameters | |
---|---|
Name | Description |
request |
google::privacy::dlp::v2::UpdateConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::privacy::dlp::v2::Connection > |
the result of the RPC. The response message type (google.privacy.dlp.v2.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |