Struct google_dlp2::api::OrganizationMethods
source · pub struct OrganizationMethods<'a, S>where
S: 'a,{ /* private fields */ }
Expand description
A builder providing access to all methods supported on organization 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 `deidentify_templates_create(...)`, `deidentify_templates_delete(...)`, `deidentify_templates_get(...)`, `deidentify_templates_list(...)`, `deidentify_templates_patch(...)`, `inspect_templates_create(...)`, `inspect_templates_delete(...)`, `inspect_templates_get(...)`, `inspect_templates_list(...)`, `inspect_templates_patch(...)`, `locations_column_data_profiles_get(...)`, `locations_column_data_profiles_list(...)`, `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_list(...)`, `locations_inspect_templates_create(...)`, `locations_inspect_templates_delete(...)`, `locations_inspect_templates_get(...)`, `locations_inspect_templates_list(...)`, `locations_inspect_templates_patch(...)`, `locations_job_triggers_create(...)`, `locations_job_triggers_delete(...)`, `locations_job_triggers_get(...)`, `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.organizations();
Implementations§
source§impl<'a, S> OrganizationMethods<'a, S>
impl<'a, S> OrganizationMethods<'a, S>
sourcepub fn deidentify_templates_create(
&self,
request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
parent: &str
) -> OrganizationDeidentifyTemplateCreateCall<'a, S>
pub fn deidentify_templates_create( &self, request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest, parent: &str ) -> OrganizationDeidentifyTemplateCreateCall<'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
) -> OrganizationDeidentifyTemplateDeleteCall<'a, S>
pub fn deidentify_templates_delete( &self, name: &str ) -> OrganizationDeidentifyTemplateDeleteCall<'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
) -> OrganizationDeidentifyTemplateGetCall<'a, S>
pub fn deidentify_templates_get( &self, name: &str ) -> OrganizationDeidentifyTemplateGetCall<'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
) -> OrganizationDeidentifyTemplateListCall<'a, S>
pub fn deidentify_templates_list( &self, parent: &str ) -> OrganizationDeidentifyTemplateListCall<'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
) -> OrganizationDeidentifyTemplatePatchCall<'a, S>
pub fn deidentify_templates_patch( &self, request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest, name: &str ) -> OrganizationDeidentifyTemplatePatchCall<'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 inspect_templates_create(
&self,
request: GooglePrivacyDlpV2CreateInspectTemplateRequest,
parent: &str
) -> OrganizationInspectTemplateCreateCall<'a, S>
pub fn inspect_templates_create( &self, request: GooglePrivacyDlpV2CreateInspectTemplateRequest, parent: &str ) -> OrganizationInspectTemplateCreateCall<'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
) -> OrganizationInspectTemplateDeleteCall<'a, S>
pub fn inspect_templates_delete( &self, name: &str ) -> OrganizationInspectTemplateDeleteCall<'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
) -> OrganizationInspectTemplateGetCall<'a, S>
pub fn inspect_templates_get( &self, name: &str ) -> OrganizationInspectTemplateGetCall<'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
) -> OrganizationInspectTemplateListCall<'a, S>
pub fn inspect_templates_list( &self, parent: &str ) -> OrganizationInspectTemplateListCall<'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
) -> OrganizationInspectTemplatePatchCall<'a, S>
pub fn inspect_templates_patch( &self, request: GooglePrivacyDlpV2UpdateInspectTemplateRequest, name: &str ) -> OrganizationInspectTemplatePatchCall<'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_column_data_profiles_get(
&self,
name: &str
) -> OrganizationLocationColumnDataProfileGetCall<'a, S>
pub fn locations_column_data_profiles_get( &self, name: &str ) -> OrganizationLocationColumnDataProfileGetCall<'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
) -> OrganizationLocationColumnDataProfileListCall<'a, S>
pub fn locations_column_data_profiles_list( &self, parent: &str ) -> OrganizationLocationColumnDataProfileListCall<'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_deidentify_templates_create(
&self,
request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
parent: &str
) -> OrganizationLocationDeidentifyTemplateCreateCall<'a, S>
pub fn locations_deidentify_templates_create( &self, request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest, parent: &str ) -> OrganizationLocationDeidentifyTemplateCreateCall<'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
) -> OrganizationLocationDeidentifyTemplateDeleteCall<'a, S>
pub fn locations_deidentify_templates_delete( &self, name: &str ) -> OrganizationLocationDeidentifyTemplateDeleteCall<'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
) -> OrganizationLocationDeidentifyTemplateGetCall<'a, S>
pub fn locations_deidentify_templates_get( &self, name: &str ) -> OrganizationLocationDeidentifyTemplateGetCall<'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
) -> OrganizationLocationDeidentifyTemplateListCall<'a, S>
pub fn locations_deidentify_templates_list( &self, parent: &str ) -> OrganizationLocationDeidentifyTemplateListCall<'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
) -> OrganizationLocationDeidentifyTemplatePatchCall<'a, S>
pub fn locations_deidentify_templates_patch( &self, request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest, name: &str ) -> OrganizationLocationDeidentifyTemplatePatchCall<'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
) -> OrganizationLocationDiscoveryConfigCreateCall<'a, S>
pub fn locations_discovery_configs_create( &self, request: GooglePrivacyDlpV2CreateDiscoveryConfigRequest, parent: &str ) -> OrganizationLocationDiscoveryConfigCreateCall<'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
) -> OrganizationLocationDiscoveryConfigDeleteCall<'a, S>
pub fn locations_discovery_configs_delete( &self, name: &str ) -> OrganizationLocationDiscoveryConfigDeleteCall<'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
) -> OrganizationLocationDiscoveryConfigGetCall<'a, S>
pub fn locations_discovery_configs_get( &self, name: &str ) -> OrganizationLocationDiscoveryConfigGetCall<'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
) -> OrganizationLocationDiscoveryConfigListCall<'a, S>
pub fn locations_discovery_configs_list( &self, parent: &str ) -> OrganizationLocationDiscoveryConfigListCall<'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
) -> OrganizationLocationDiscoveryConfigPatchCall<'a, S>
pub fn locations_discovery_configs_patch( &self, request: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest, name: &str ) -> OrganizationLocationDiscoveryConfigPatchCall<'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_list(
&self,
parent: &str
) -> OrganizationLocationDlpJobListCall<'a, S>
pub fn locations_dlp_jobs_list( &self, parent: &str ) -> OrganizationLocationDlpJobListCall<'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_inspect_templates_create(
&self,
request: GooglePrivacyDlpV2CreateInspectTemplateRequest,
parent: &str
) -> OrganizationLocationInspectTemplateCreateCall<'a, S>
pub fn locations_inspect_templates_create( &self, request: GooglePrivacyDlpV2CreateInspectTemplateRequest, parent: &str ) -> OrganizationLocationInspectTemplateCreateCall<'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
) -> OrganizationLocationInspectTemplateDeleteCall<'a, S>
pub fn locations_inspect_templates_delete( &self, name: &str ) -> OrganizationLocationInspectTemplateDeleteCall<'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
) -> OrganizationLocationInspectTemplateGetCall<'a, S>
pub fn locations_inspect_templates_get( &self, name: &str ) -> OrganizationLocationInspectTemplateGetCall<'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
) -> OrganizationLocationInspectTemplateListCall<'a, S>
pub fn locations_inspect_templates_list( &self, parent: &str ) -> OrganizationLocationInspectTemplateListCall<'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
) -> OrganizationLocationInspectTemplatePatchCall<'a, S>
pub fn locations_inspect_templates_patch( &self, request: GooglePrivacyDlpV2UpdateInspectTemplateRequest, name: &str ) -> OrganizationLocationInspectTemplatePatchCall<'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_create(
&self,
request: GooglePrivacyDlpV2CreateJobTriggerRequest,
parent: &str
) -> OrganizationLocationJobTriggerCreateCall<'a, S>
pub fn locations_job_triggers_create( &self, request: GooglePrivacyDlpV2CreateJobTriggerRequest, parent: &str ) -> OrganizationLocationJobTriggerCreateCall<'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
) -> OrganizationLocationJobTriggerDeleteCall<'a, S>
pub fn locations_job_triggers_delete( &self, name: &str ) -> OrganizationLocationJobTriggerDeleteCall<'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
) -> OrganizationLocationJobTriggerGetCall<'a, S>
pub fn locations_job_triggers_get( &self, name: &str ) -> OrganizationLocationJobTriggerGetCall<'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_list(
&self,
parent: &str
) -> OrganizationLocationJobTriggerListCall<'a, S>
pub fn locations_job_triggers_list( &self, parent: &str ) -> OrganizationLocationJobTriggerListCall<'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
) -> OrganizationLocationJobTriggerPatchCall<'a, S>
pub fn locations_job_triggers_patch( &self, request: GooglePrivacyDlpV2UpdateJobTriggerRequest, name: &str ) -> OrganizationLocationJobTriggerPatchCall<'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
) -> OrganizationLocationProjectDataProfileGetCall<'a, S>
pub fn locations_project_data_profiles_get( &self, name: &str ) -> OrganizationLocationProjectDataProfileGetCall<'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
) -> OrganizationLocationProjectDataProfileListCall<'a, S>
pub fn locations_project_data_profiles_list( &self, parent: &str ) -> OrganizationLocationProjectDataProfileListCall<'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
) -> OrganizationLocationStoredInfoTypeCreateCall<'a, S>
pub fn locations_stored_info_types_create( &self, request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest, parent: &str ) -> OrganizationLocationStoredInfoTypeCreateCall<'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
) -> OrganizationLocationStoredInfoTypeDeleteCall<'a, S>
pub fn locations_stored_info_types_delete( &self, name: &str ) -> OrganizationLocationStoredInfoTypeDeleteCall<'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
) -> OrganizationLocationStoredInfoTypeGetCall<'a, S>
pub fn locations_stored_info_types_get( &self, name: &str ) -> OrganizationLocationStoredInfoTypeGetCall<'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
) -> OrganizationLocationStoredInfoTypeListCall<'a, S>
pub fn locations_stored_info_types_list( &self, parent: &str ) -> OrganizationLocationStoredInfoTypeListCall<'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
) -> OrganizationLocationStoredInfoTypePatchCall<'a, S>
pub fn locations_stored_info_types_patch( &self, request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, name: &str ) -> OrganizationLocationStoredInfoTypePatchCall<'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
) -> OrganizationLocationTableDataProfileGetCall<'a, S>
pub fn locations_table_data_profiles_get( &self, name: &str ) -> OrganizationLocationTableDataProfileGetCall<'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
) -> OrganizationLocationTableDataProfileListCall<'a, S>
pub fn locations_table_data_profiles_list( &self, parent: &str ) -> OrganizationLocationTableDataProfileListCall<'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
) -> OrganizationStoredInfoTypeCreateCall<'a, S>
pub fn stored_info_types_create( &self, request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest, parent: &str ) -> OrganizationStoredInfoTypeCreateCall<'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
) -> OrganizationStoredInfoTypeDeleteCall<'a, S>
pub fn stored_info_types_delete( &self, name: &str ) -> OrganizationStoredInfoTypeDeleteCall<'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
) -> OrganizationStoredInfoTypeGetCall<'a, S>
pub fn stored_info_types_get( &self, name: &str ) -> OrganizationStoredInfoTypeGetCall<'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
) -> OrganizationStoredInfoTypeListCall<'a, S>
pub fn stored_info_types_list( &self, parent: &str ) -> OrganizationStoredInfoTypeListCall<'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
) -> OrganizationStoredInfoTypePatchCall<'a, S>
pub fn stored_info_types_patch( &self, request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, name: &str ) -> OrganizationStoredInfoTypePatchCall<'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.