Struct google_dlp2::api::ProjectMethods
source · pub struct ProjectMethods<'a, S>where
S: 'a,{ /* private fields */ }
Expand description
A builder providing access to all methods supported on project resources.
It is not used directly, but through the DLP
hub.
§Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_dlp2 as dlp2;
use std::default::Default;
use dlp2::{DLP, oauth2, hyper, hyper_rustls, chrono, FieldMask};
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
secret,
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `content_deidentify(...)`, `content_inspect(...)`, `content_reidentify(...)`, `deidentify_templates_create(...)`, `deidentify_templates_delete(...)`, `deidentify_templates_get(...)`, `deidentify_templates_list(...)`, `deidentify_templates_patch(...)`, `dlp_jobs_cancel(...)`, `dlp_jobs_create(...)`, `dlp_jobs_delete(...)`, `dlp_jobs_get(...)`, `dlp_jobs_list(...)`, `image_redact(...)`, `inspect_templates_create(...)`, `inspect_templates_delete(...)`, `inspect_templates_get(...)`, `inspect_templates_list(...)`, `inspect_templates_patch(...)`, `job_triggers_activate(...)`, `job_triggers_create(...)`, `job_triggers_delete(...)`, `job_triggers_get(...)`, `job_triggers_list(...)`, `job_triggers_patch(...)`, `locations_column_data_profiles_get(...)`, `locations_column_data_profiles_list(...)`, `locations_content_deidentify(...)`, `locations_content_inspect(...)`, `locations_content_reidentify(...)`, `locations_deidentify_templates_create(...)`, `locations_deidentify_templates_delete(...)`, `locations_deidentify_templates_get(...)`, `locations_deidentify_templates_list(...)`, `locations_deidentify_templates_patch(...)`, `locations_discovery_configs_create(...)`, `locations_discovery_configs_delete(...)`, `locations_discovery_configs_get(...)`, `locations_discovery_configs_list(...)`, `locations_discovery_configs_patch(...)`, `locations_dlp_jobs_cancel(...)`, `locations_dlp_jobs_create(...)`, `locations_dlp_jobs_delete(...)`, `locations_dlp_jobs_finish(...)`, `locations_dlp_jobs_get(...)`, `locations_dlp_jobs_hybrid_inspect(...)`, `locations_dlp_jobs_list(...)`, `locations_image_redact(...)`, `locations_inspect_templates_create(...)`, `locations_inspect_templates_delete(...)`, `locations_inspect_templates_get(...)`, `locations_inspect_templates_list(...)`, `locations_inspect_templates_patch(...)`, `locations_job_triggers_activate(...)`, `locations_job_triggers_create(...)`, `locations_job_triggers_delete(...)`, `locations_job_triggers_get(...)`, `locations_job_triggers_hybrid_inspect(...)`, `locations_job_triggers_list(...)`, `locations_job_triggers_patch(...)`, `locations_project_data_profiles_get(...)`, `locations_project_data_profiles_list(...)`, `locations_stored_info_types_create(...)`, `locations_stored_info_types_delete(...)`, `locations_stored_info_types_get(...)`, `locations_stored_info_types_list(...)`, `locations_stored_info_types_patch(...)`, `locations_table_data_profiles_get(...)`, `locations_table_data_profiles_list(...)`, `stored_info_types_create(...)`, `stored_info_types_delete(...)`, `stored_info_types_get(...)`, `stored_info_types_list(...)` and `stored_info_types_patch(...)`
// to build up your call.
let rb = hub.projects();
Implementations§
source§impl<'a, S> ProjectMethods<'a, S>
impl<'a, S> ProjectMethods<'a, S>
sourcepub fn content_deidentify(
&self,
request: GooglePrivacyDlpV2DeidentifyContentRequest,
parent: &str
) -> ProjectContentDeidentifyCall<'a, S>
pub fn content_deidentify( &self, request: GooglePrivacyDlpV2DeidentifyContentRequest, parent: &str ) -> ProjectContentDeidentifyCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn content_inspect(
&self,
request: GooglePrivacyDlpV2InspectContentRequest,
parent: &str
) -> ProjectContentInspectCall<'a, S>
pub fn content_inspect( &self, request: GooglePrivacyDlpV2InspectContentRequest, parent: &str ) -> ProjectContentInspectCall<'a, S>
Create a builder to help you perform the following task:
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,
§Arguments
request
- No description provided.parent
- Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn content_reidentify(
&self,
request: GooglePrivacyDlpV2ReidentifyContentRequest,
parent: &str
) -> ProjectContentReidentifyCall<'a, S>
pub fn content_reidentify( &self, request: GooglePrivacyDlpV2ReidentifyContentRequest, parent: &str ) -> ProjectContentReidentifyCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn deidentify_templates_create(
&self,
request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
parent: &str
) -> ProjectDeidentifyTemplateCreateCall<'a, S>
pub fn deidentify_templates_create( &self, request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest, parent: &str ) -> ProjectDeidentifyTemplateCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn deidentify_templates_delete(
&self,
name: &str
) -> ProjectDeidentifyTemplateDeleteCall<'a, S>
pub fn deidentify_templates_delete( &self, name: &str ) -> ProjectDeidentifyTemplateDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
name
- Required. Resource name of the organization and deidentify template to be deleted, for exampleorganizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
sourcepub fn deidentify_templates_get(
&self,
name: &str
) -> ProjectDeidentifyTemplateGetCall<'a, S>
pub fn deidentify_templates_get( &self, name: &str ) -> ProjectDeidentifyTemplateGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
name
- Required. Resource name of the organization and deidentify template to be read, for exampleorganizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
sourcepub fn deidentify_templates_list(
&self,
parent: &str
) -> ProjectDeidentifyTemplateListCall<'a, S>
pub fn deidentify_templates_list( &self, parent: &str ) -> ProjectDeidentifyTemplateListCall<'a, S>
Create a builder to help you perform the following task:
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn deidentify_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
name: &str
) -> ProjectDeidentifyTemplatePatchCall<'a, S>
pub fn deidentify_templates_patch( &self, request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest, name: &str ) -> ProjectDeidentifyTemplatePatchCall<'a, S>
Create a builder to help you perform the following task:
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
request
- No description provided.name
- Required. Resource name of organization and deidentify template to be updated, for exampleorganizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
sourcepub fn dlp_jobs_cancel(
&self,
request: GooglePrivacyDlpV2CancelDlpJobRequest,
name: &str
) -> ProjectDlpJobCancelCall<'a, S>
pub fn dlp_jobs_cancel( &self, request: GooglePrivacyDlpV2CancelDlpJobRequest, name: &str ) -> ProjectDlpJobCancelCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.name
- Required. The name of the DlpJob resource to be cancelled.
sourcepub fn dlp_jobs_create(
&self,
request: GooglePrivacyDlpV2CreateDlpJobRequest,
parent: &str
) -> ProjectDlpJobCreateCall<'a, S>
pub fn dlp_jobs_create( &self, request: GooglePrivacyDlpV2CreateDlpJobRequest, parent: &str ) -> ProjectDlpJobCreateCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn dlp_jobs_delete(&self, name: &str) -> ProjectDlpJobDeleteCall<'a, S>
pub fn dlp_jobs_delete(&self, name: &str) -> ProjectDlpJobDeleteCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
name
- Required. The name of the DlpJob resource to be deleted.
sourcepub fn dlp_jobs_get(&self, name: &str) -> ProjectDlpJobGetCall<'a, S>
pub fn dlp_jobs_get(&self, name: &str) -> ProjectDlpJobGetCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
name
- Required. The name of the DlpJob resource.
sourcepub fn dlp_jobs_list(&self, parent: &str) -> ProjectDlpJobListCall<'a, S>
pub fn dlp_jobs_list(&self, parent: &str) -> ProjectDlpJobListCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn image_redact(
&self,
request: GooglePrivacyDlpV2RedactImageRequest,
parent: &str
) -> ProjectImageRedactCall<'a, S>
pub fn image_redact( &self, request: GooglePrivacyDlpV2RedactImageRequest, parent: &str ) -> ProjectImageRedactCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn inspect_templates_create(
&self,
request: GooglePrivacyDlpV2CreateInspectTemplateRequest,
parent: &str
) -> ProjectInspectTemplateCreateCall<'a, S>
pub fn inspect_templates_create( &self, request: GooglePrivacyDlpV2CreateInspectTemplateRequest, parent: &str ) -> ProjectInspectTemplateCreateCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn inspect_templates_delete(
&self,
name: &str
) -> ProjectInspectTemplateDeleteCall<'a, S>
pub fn inspect_templates_delete( &self, name: &str ) -> ProjectInspectTemplateDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
name
- Required. Resource name of the organization and inspectTemplate to be deleted, for exampleorganizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
sourcepub fn inspect_templates_get(
&self,
name: &str
) -> ProjectInspectTemplateGetCall<'a, S>
pub fn inspect_templates_get( &self, name: &str ) -> ProjectInspectTemplateGetCall<'a, S>
Create a builder to help you perform the following task:
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
name
- Required. Resource name of the organization and inspectTemplate to be read, for exampleorganizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
sourcepub fn inspect_templates_list(
&self,
parent: &str
) -> ProjectInspectTemplateListCall<'a, S>
pub fn inspect_templates_list( &self, parent: &str ) -> ProjectInspectTemplateListCall<'a, S>
Create a builder to help you perform the following task:
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn inspect_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
name: &str
) -> ProjectInspectTemplatePatchCall<'a, S>
pub fn inspect_templates_patch( &self, request: GooglePrivacyDlpV2UpdateInspectTemplateRequest, name: &str ) -> ProjectInspectTemplatePatchCall<'a, S>
Create a builder to help you perform the following task:
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
request
- No description provided.name
- Required. Resource name of organization and inspectTemplate to be updated, for exampleorganizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
sourcepub fn job_triggers_activate(
&self,
request: GooglePrivacyDlpV2ActivateJobTriggerRequest,
name: &str
) -> ProjectJobTriggerActivateCall<'a, S>
pub fn job_triggers_activate( &self, request: GooglePrivacyDlpV2ActivateJobTriggerRequest, name: &str ) -> ProjectJobTriggerActivateCall<'a, S>
Create a builder to help you perform the following task:
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
§Arguments
request
- No description provided.name
- Required. Resource name of the trigger to activate, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn job_triggers_create(
&self,
request: GooglePrivacyDlpV2CreateJobTriggerRequest,
parent: &str
) -> ProjectJobTriggerCreateCall<'a, S>
pub fn job_triggers_create( &self, request: GooglePrivacyDlpV2CreateJobTriggerRequest, parent: &str ) -> ProjectJobTriggerCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn job_triggers_delete(
&self,
name: &str
) -> ProjectJobTriggerDeleteCall<'a, S>
pub fn job_triggers_delete( &self, name: &str ) -> ProjectJobTriggerDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
name
- Required. Resource name of the project and the triggeredJob, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn job_triggers_get(&self, name: &str) -> ProjectJobTriggerGetCall<'a, S>
pub fn job_triggers_get(&self, name: &str) -> ProjectJobTriggerGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
name
- Required. Resource name of the project and the triggeredJob, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn job_triggers_list(
&self,
parent: &str
) -> ProjectJobTriggerListCall<'a, S>
pub fn job_triggers_list( &self, parent: &str ) -> ProjectJobTriggerListCall<'a, S>
Create a builder to help you perform the following task:
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn job_triggers_patch(
&self,
request: GooglePrivacyDlpV2UpdateJobTriggerRequest,
name: &str
) -> ProjectJobTriggerPatchCall<'a, S>
pub fn job_triggers_patch( &self, request: GooglePrivacyDlpV2UpdateJobTriggerRequest, name: &str ) -> ProjectJobTriggerPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
request
- No description provided.name
- Required. Resource name of the project and the triggeredJob, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn locations_column_data_profiles_get(
&self,
name: &str
) -> ProjectLocationColumnDataProfileGetCall<'a, S>
pub fn locations_column_data_profiles_get( &self, name: &str ) -> ProjectLocationColumnDataProfileGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a column data profile.
§Arguments
name
- Required. Resource name, for exampleorganizations/12345/locations/us/columnDataProfiles/53234423
.
sourcepub fn locations_column_data_profiles_list(
&self,
parent: &str
) -> ProjectLocationColumnDataProfileListCall<'a, S>
pub fn locations_column_data_profiles_list( &self, parent: &str ) -> ProjectLocationColumnDataProfileListCall<'a, S>
Create a builder to help you perform the following task:
Lists data profiles for an organization.
§Arguments
parent
- Required. Resource name of the organization or project, for exampleorganizations/433245324/locations/europe
or projects/project-id/locations/asia.
sourcepub fn locations_content_deidentify(
&self,
request: GooglePrivacyDlpV2DeidentifyContentRequest,
parent: &str
) -> ProjectLocationContentDeidentifyCall<'a, S>
pub fn locations_content_deidentify( &self, request: GooglePrivacyDlpV2DeidentifyContentRequest, parent: &str ) -> ProjectLocationContentDeidentifyCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_content_inspect(
&self,
request: GooglePrivacyDlpV2InspectContentRequest,
parent: &str
) -> ProjectLocationContentInspectCall<'a, S>
pub fn locations_content_inspect( &self, request: GooglePrivacyDlpV2InspectContentRequest, parent: &str ) -> ProjectLocationContentInspectCall<'a, S>
Create a builder to help you perform the following task:
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,
§Arguments
request
- No description provided.parent
- Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_content_reidentify(
&self,
request: GooglePrivacyDlpV2ReidentifyContentRequest,
parent: &str
) -> ProjectLocationContentReidentifyCall<'a, S>
pub fn locations_content_reidentify( &self, request: GooglePrivacyDlpV2ReidentifyContentRequest, parent: &str ) -> ProjectLocationContentReidentifyCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_deidentify_templates_create(
&self,
request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
parent: &str
) -> ProjectLocationDeidentifyTemplateCreateCall<'a, S>
pub fn locations_deidentify_templates_create( &self, request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest, parent: &str ) -> ProjectLocationDeidentifyTemplateCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_deidentify_templates_delete(
&self,
name: &str
) -> ProjectLocationDeidentifyTemplateDeleteCall<'a, S>
pub fn locations_deidentify_templates_delete( &self, name: &str ) -> ProjectLocationDeidentifyTemplateDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
name
- Required. Resource name of the organization and deidentify template to be deleted, for exampleorganizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
sourcepub fn locations_deidentify_templates_get(
&self,
name: &str
) -> ProjectLocationDeidentifyTemplateGetCall<'a, S>
pub fn locations_deidentify_templates_get( &self, name: &str ) -> ProjectLocationDeidentifyTemplateGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
name
- Required. Resource name of the organization and deidentify template to be read, for exampleorganizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
sourcepub fn locations_deidentify_templates_list(
&self,
parent: &str
) -> ProjectLocationDeidentifyTemplateListCall<'a, S>
pub fn locations_deidentify_templates_list( &self, parent: &str ) -> ProjectLocationDeidentifyTemplateListCall<'a, S>
Create a builder to help you perform the following task:
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_deidentify_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
name: &str
) -> ProjectLocationDeidentifyTemplatePatchCall<'a, S>
pub fn locations_deidentify_templates_patch( &self, request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest, name: &str ) -> ProjectLocationDeidentifyTemplatePatchCall<'a, S>
Create a builder to help you perform the following task:
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
§Arguments
request
- No description provided.name
- Required. Resource name of organization and deidentify template to be updated, for exampleorganizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
sourcepub fn locations_discovery_configs_create(
&self,
request: GooglePrivacyDlpV2CreateDiscoveryConfigRequest,
parent: &str
) -> ProjectLocationDiscoveryConfigCreateCall<'a, S>
pub fn locations_discovery_configs_create( &self, request: GooglePrivacyDlpV2CreateDiscoveryConfigRequest, parent: &str ) -> ProjectLocationDiscoveryConfigCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a config for discovery to scan and profile storage.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value is as follows:projects/
PROJECT_ID/locations/
LOCATION_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_discovery_configs_delete(
&self,
name: &str
) -> ProjectLocationDiscoveryConfigDeleteCall<'a, S>
pub fn locations_discovery_configs_delete( &self, name: &str ) -> ProjectLocationDiscoveryConfigDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a discovery configuration.
§Arguments
name
- Required. Resource name of the project and the config, for exampleprojects/dlp-test-project/discoveryConfigs/53234423
.
sourcepub fn locations_discovery_configs_get(
&self,
name: &str
) -> ProjectLocationDiscoveryConfigGetCall<'a, S>
pub fn locations_discovery_configs_get( &self, name: &str ) -> ProjectLocationDiscoveryConfigGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a discovery configuration.
§Arguments
name
- Required. Resource name of the project and the configuration, for exampleprojects/dlp-test-project/discoveryConfigs/53234423
.
sourcepub fn locations_discovery_configs_list(
&self,
parent: &str
) -> ProjectLocationDiscoveryConfigListCall<'a, S>
pub fn locations_discovery_configs_list( &self, parent: &str ) -> ProjectLocationDiscoveryConfigListCall<'a, S>
Create a builder to help you perform the following task:
Lists discovery configurations.
§Arguments
parent
- Required. Parent resource name. The format of this value is as follows:projects/
PROJECT_ID/locations/
LOCATION_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_discovery_configs_patch(
&self,
request: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest,
name: &str
) -> ProjectLocationDiscoveryConfigPatchCall<'a, S>
pub fn locations_discovery_configs_patch( &self, request: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest, name: &str ) -> ProjectLocationDiscoveryConfigPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates a discovery configuration.
§Arguments
request
- No description provided.name
- Required. Resource name of the project and the configuration, for exampleprojects/dlp-test-project/discoveryConfigs/53234423
.
sourcepub fn locations_dlp_jobs_cancel(
&self,
request: GooglePrivacyDlpV2CancelDlpJobRequest,
name: &str
) -> ProjectLocationDlpJobCancelCall<'a, S>
pub fn locations_dlp_jobs_cancel( &self, request: GooglePrivacyDlpV2CancelDlpJobRequest, name: &str ) -> ProjectLocationDlpJobCancelCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.name
- Required. The name of the DlpJob resource to be cancelled.
sourcepub fn locations_dlp_jobs_create(
&self,
request: GooglePrivacyDlpV2CreateDlpJobRequest,
parent: &str
) -> ProjectLocationDlpJobCreateCall<'a, S>
pub fn locations_dlp_jobs_create( &self, request: GooglePrivacyDlpV2CreateDlpJobRequest, parent: &str ) -> ProjectLocationDlpJobCreateCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_dlp_jobs_delete(
&self,
name: &str
) -> ProjectLocationDlpJobDeleteCall<'a, S>
pub fn locations_dlp_jobs_delete( &self, name: &str ) -> ProjectLocationDlpJobDeleteCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
name
- Required. The name of the DlpJob resource to be deleted.
sourcepub fn locations_dlp_jobs_finish(
&self,
request: GooglePrivacyDlpV2FinishDlpJobRequest,
name: &str
) -> ProjectLocationDlpJobFinishCall<'a, S>
pub fn locations_dlp_jobs_finish( &self, request: GooglePrivacyDlpV2FinishDlpJobRequest, name: &str ) -> ProjectLocationDlpJobFinishCall<'a, S>
Create a builder to help you perform the following task:
Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.
§Arguments
request
- No description provided.name
- Required. The name of the DlpJob resource to be finished.
sourcepub fn locations_dlp_jobs_get(
&self,
name: &str
) -> ProjectLocationDlpJobGetCall<'a, S>
pub fn locations_dlp_jobs_get( &self, name: &str ) -> ProjectLocationDlpJobGetCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
name
- Required. The name of the DlpJob resource.
sourcepub fn locations_dlp_jobs_hybrid_inspect(
&self,
request: GooglePrivacyDlpV2HybridInspectDlpJobRequest,
name: &str
) -> ProjectLocationDlpJobHybridInspectCall<'a, S>
pub fn locations_dlp_jobs_hybrid_inspect( &self, request: GooglePrivacyDlpV2HybridInspectDlpJobRequest, name: &str ) -> ProjectLocationDlpJobHybridInspectCall<'a, S>
Create a builder to help you perform the following task:
Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.
§Arguments
request
- No description provided.name
- Required. Resource name of the job to execute a hybrid inspect on, for exampleprojects/dlp-test-project/dlpJob/53234423
.
sourcepub fn locations_dlp_jobs_list(
&self,
parent: &str
) -> ProjectLocationDlpJobListCall<'a, S>
pub fn locations_dlp_jobs_list( &self, parent: &str ) -> ProjectLocationDlpJobListCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_image_redact(
&self,
request: GooglePrivacyDlpV2RedactImageRequest,
parent: &str
) -> ProjectLocationImageRedactCall<'a, S>
pub fn locations_image_redact( &self, request: GooglePrivacyDlpV2RedactImageRequest, parent: &str ) -> ProjectLocationImageRedactCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_inspect_templates_create(
&self,
request: GooglePrivacyDlpV2CreateInspectTemplateRequest,
parent: &str
) -> ProjectLocationInspectTemplateCreateCall<'a, S>
pub fn locations_inspect_templates_create( &self, request: GooglePrivacyDlpV2CreateInspectTemplateRequest, parent: &str ) -> ProjectLocationInspectTemplateCreateCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_inspect_templates_delete(
&self,
name: &str
) -> ProjectLocationInspectTemplateDeleteCall<'a, S>
pub fn locations_inspect_templates_delete( &self, name: &str ) -> ProjectLocationInspectTemplateDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
name
- Required. Resource name of the organization and inspectTemplate to be deleted, for exampleorganizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
sourcepub fn locations_inspect_templates_get(
&self,
name: &str
) -> ProjectLocationInspectTemplateGetCall<'a, S>
pub fn locations_inspect_templates_get( &self, name: &str ) -> ProjectLocationInspectTemplateGetCall<'a, S>
Create a builder to help you perform the following task:
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
name
- Required. Resource name of the organization and inspectTemplate to be read, for exampleorganizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
sourcepub fn locations_inspect_templates_list(
&self,
parent: &str
) -> ProjectLocationInspectTemplateListCall<'a, S>
pub fn locations_inspect_templates_list( &self, parent: &str ) -> ProjectLocationInspectTemplateListCall<'a, S>
Create a builder to help you perform the following task:
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_inspect_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
name: &str
) -> ProjectLocationInspectTemplatePatchCall<'a, S>
pub fn locations_inspect_templates_patch( &self, request: GooglePrivacyDlpV2UpdateInspectTemplateRequest, name: &str ) -> ProjectLocationInspectTemplatePatchCall<'a, S>
Create a builder to help you perform the following task:
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
§Arguments
request
- No description provided.name
- Required. Resource name of organization and inspectTemplate to be updated, for exampleorganizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
sourcepub fn locations_job_triggers_activate(
&self,
request: GooglePrivacyDlpV2ActivateJobTriggerRequest,
name: &str
) -> ProjectLocationJobTriggerActivateCall<'a, S>
pub fn locations_job_triggers_activate( &self, request: GooglePrivacyDlpV2ActivateJobTriggerRequest, name: &str ) -> ProjectLocationJobTriggerActivateCall<'a, S>
Create a builder to help you perform the following task:
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
§Arguments
request
- No description provided.name
- Required. Resource name of the trigger to activate, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn locations_job_triggers_create(
&self,
request: GooglePrivacyDlpV2CreateJobTriggerRequest,
parent: &str
) -> ProjectLocationJobTriggerCreateCall<'a, S>
pub fn locations_job_triggers_create( &self, request: GooglePrivacyDlpV2CreateJobTriggerRequest, parent: &str ) -> ProjectLocationJobTriggerCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_job_triggers_delete(
&self,
name: &str
) -> ProjectLocationJobTriggerDeleteCall<'a, S>
pub fn locations_job_triggers_delete( &self, name: &str ) -> ProjectLocationJobTriggerDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
name
- Required. Resource name of the project and the triggeredJob, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn locations_job_triggers_get(
&self,
name: &str
) -> ProjectLocationJobTriggerGetCall<'a, S>
pub fn locations_job_triggers_get( &self, name: &str ) -> ProjectLocationJobTriggerGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
name
- Required. Resource name of the project and the triggeredJob, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn locations_job_triggers_hybrid_inspect(
&self,
request: GooglePrivacyDlpV2HybridInspectJobTriggerRequest,
name: &str
) -> ProjectLocationJobTriggerHybridInspectCall<'a, S>
pub fn locations_job_triggers_hybrid_inspect( &self, request: GooglePrivacyDlpV2HybridInspectJobTriggerRequest, name: &str ) -> ProjectLocationJobTriggerHybridInspectCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.name
- Required. Resource name of the trigger to execute a hybrid inspect on, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn locations_job_triggers_list(
&self,
parent: &str
) -> ProjectLocationJobTriggerListCall<'a, S>
pub fn locations_job_triggers_list( &self, parent: &str ) -> ProjectLocationJobTriggerListCall<'a, S>
Create a builder to help you perform the following task:
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_job_triggers_patch(
&self,
request: GooglePrivacyDlpV2UpdateJobTriggerRequest,
name: &str
) -> ProjectLocationJobTriggerPatchCall<'a, S>
pub fn locations_job_triggers_patch( &self, request: GooglePrivacyDlpV2UpdateJobTriggerRequest, name: &str ) -> ProjectLocationJobTriggerPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
§Arguments
request
- No description provided.name
- Required. Resource name of the project and the triggeredJob, for exampleprojects/dlp-test-project/jobTriggers/53234423
.
sourcepub fn locations_project_data_profiles_get(
&self,
name: &str
) -> ProjectLocationProjectDataProfileGetCall<'a, S>
pub fn locations_project_data_profiles_get( &self, name: &str ) -> ProjectLocationProjectDataProfileGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a project data profile.
§Arguments
name
- Required. Resource name, for exampleorganizations/12345/locations/us/projectDataProfiles/53234423
.
sourcepub fn locations_project_data_profiles_list(
&self,
parent: &str
) -> ProjectLocationProjectDataProfileListCall<'a, S>
pub fn locations_project_data_profiles_list( &self, parent: &str ) -> ProjectLocationProjectDataProfileListCall<'a, S>
Create a builder to help you perform the following task:
Lists data profiles for an organization.
§Arguments
parent
- Required. organizations/{org_id}/locations/{loc_id}
sourcepub fn locations_stored_info_types_create(
&self,
request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,
parent: &str
) -> ProjectLocationStoredInfoTypeCreateCall<'a, S>
pub fn locations_stored_info_types_create( &self, request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest, parent: &str ) -> ProjectLocationStoredInfoTypeCreateCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_stored_info_types_delete(
&self,
name: &str
) -> ProjectLocationStoredInfoTypeDeleteCall<'a, S>
pub fn locations_stored_info_types_delete( &self, name: &str ) -> ProjectLocationStoredInfoTypeDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
§Arguments
name
- Required. Resource name of the organization and storedInfoType to be deleted, for exampleorganizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
sourcepub fn locations_stored_info_types_get(
&self,
name: &str
) -> ProjectLocationStoredInfoTypeGetCall<'a, S>
pub fn locations_stored_info_types_get( &self, name: &str ) -> ProjectLocationStoredInfoTypeGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
§Arguments
name
- Required. Resource name of the organization and storedInfoType to be read, for exampleorganizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
sourcepub fn locations_stored_info_types_list(
&self,
parent: &str
) -> ProjectLocationStoredInfoTypeListCall<'a, S>
pub fn locations_stored_info_types_list( &self, parent: &str ) -> ProjectLocationStoredInfoTypeListCall<'a, S>
Create a builder to help you perform the following task:
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn locations_stored_info_types_patch(
&self,
request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
name: &str
) -> ProjectLocationStoredInfoTypePatchCall<'a, S>
pub fn locations_stored_info_types_patch( &self, request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, name: &str ) -> ProjectLocationStoredInfoTypePatchCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.name
- Required. Resource name of organization and storedInfoType to be updated, for exampleorganizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
sourcepub fn locations_table_data_profiles_get(
&self,
name: &str
) -> ProjectLocationTableDataProfileGetCall<'a, S>
pub fn locations_table_data_profiles_get( &self, name: &str ) -> ProjectLocationTableDataProfileGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a table data profile.
§Arguments
name
- Required. Resource name, for exampleorganizations/12345/locations/us/tableDataProfiles/53234423
.
sourcepub fn locations_table_data_profiles_list(
&self,
parent: &str
) -> ProjectLocationTableDataProfileListCall<'a, S>
pub fn locations_table_data_profiles_list( &self, parent: &str ) -> ProjectLocationTableDataProfileListCall<'a, S>
Create a builder to help you perform the following task:
Lists data profiles for an organization.
§Arguments
parent
- Required. Resource name of the organization or project, for exampleorganizations/433245324/locations/europe
orprojects/project-id/locations/asia
.
sourcepub fn stored_info_types_create(
&self,
request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,
parent: &str
) -> ProjectStoredInfoTypeCreateCall<'a, S>
pub fn stored_info_types_create( &self, request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest, parent: &str ) -> ProjectStoredInfoTypeCreateCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID + Organizations scope, location specified:organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global):organizations/
ORG_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn stored_info_types_delete(
&self,
name: &str
) -> ProjectStoredInfoTypeDeleteCall<'a, S>
pub fn stored_info_types_delete( &self, name: &str ) -> ProjectStoredInfoTypeDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
§Arguments
name
- Required. Resource name of the organization and storedInfoType to be deleted, for exampleorganizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
sourcepub fn stored_info_types_get(
&self,
name: &str
) -> ProjectStoredInfoTypeGetCall<'a, S>
pub fn stored_info_types_get( &self, name: &str ) -> ProjectStoredInfoTypeGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
§Arguments
name
- Required. Resource name of the organization and storedInfoType to be read, for exampleorganizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
sourcepub fn stored_info_types_list(
&self,
parent: &str
) -> ProjectStoredInfoTypeListCall<'a, S>
pub fn stored_info_types_list( &self, parent: &str ) -> ProjectStoredInfoTypeListCall<'a, S>
Create a builder to help you perform the following task:
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
§Arguments
parent
- Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location: + Projects scope, location specified:projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global):projects/
PROJECT_ID The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
sourcepub fn stored_info_types_patch(
&self,
request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
name: &str
) -> ProjectStoredInfoTypePatchCall<'a, S>
pub fn stored_info_types_patch( &self, request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, name: &str ) -> ProjectStoredInfoTypePatchCall<'a, S>
Create a builder to help you perform the following task:
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.
§Arguments
request
- No description provided.name
- Required. Resource name of organization and storedInfoType to be updated, for exampleorganizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.