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>

source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.
source

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 example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.
source

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.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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.
source

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.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.
source

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 example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example organizations/12345/locations/us/columnDataProfiles/53234423.
source

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 example organizations/433245324/locations/europe or projects/project-id/locations/asia.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.
source

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 example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example projects/dlp-test-project/discoveryConfigs/53234423.
source

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 example projects/dlp-test-project/discoveryConfigs/53234423.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example projects/dlp-test-project/discoveryConfigs/53234423.
source

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.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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.
source

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.
source

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.
source

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 example projects/dlp-test-project/dlpJob/53234423.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.
source

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 example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example projects/dlp-test-project/jobTriggers/53234423.
source

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 example organizations/12345/locations/us/projectDataProfiles/53234423.
source

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}
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
source

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 example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
source

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 example organizations/12345/locations/us/tableDataProfiles/53234423.
source

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 example organizations/433245324/locations/europe or projects/project-id/locations/asia.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
source

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 example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.
source

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 example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3
source

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 example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

Trait Implementations§

source§

impl<'a, S> MethodsBuilder for ProjectMethods<'a, S>

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for ProjectMethods<'a, S>

§

impl<'a, S> Send for ProjectMethods<'a, S>
where S: Sync,

§

impl<'a, S> Sync for ProjectMethods<'a, S>
where S: Sync,

§

impl<'a, S> Unpin for ProjectMethods<'a, S>

§

impl<'a, S> !UnwindSafe for ProjectMethods<'a, S>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more