pub struct OrganizationMethods<'a, C>where
C: '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 dlp2::{DLP, FieldMask, hyper_rustls, hyper_util, yup_oauth2};
let secret: yup_oauth2::ApplicationSecret = Default::default();
let connector = hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.unwrap()
.https_only()
.enable_http2()
.build();
let executor = hyper_util::rt::TokioExecutor::new();
let auth = yup_oauth2::InstalledFlowAuthenticator::with_client(
secret,
yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
yup_oauth2::client::CustomHyperClientBuilder::from(
hyper_util::client::legacy::Client::builder(executor).build(connector),
),
).build().await.unwrap();
let client = hyper_util::client::legacy::Client::builder(
hyper_util::rt::TokioExecutor::new()
)
.build(
hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.unwrap()
.https_or_http()
.enable_http2()
.build()
);
let mut hub = DLP::new(client, 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_connections_create(...)`, `locations_connections_delete(...)`, `locations_connections_get(...)`, `locations_connections_list(...)`, `locations_connections_patch(...)`, `locations_connections_search(...)`, `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_file_store_data_profiles_delete(...)`, `locations_file_store_data_profiles_get(...)`, `locations_file_store_data_profiles_list(...)`, `locations_info_types_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_delete(...)`, `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, C> OrganizationMethods<'a, C>
impl<'a, C> OrganizationMethods<'a, C>
Sourcepub fn deidentify_templates_create(
&self,
request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
parent: &str,
) -> OrganizationDeidentifyTemplateCreateCall<'a, C>
pub fn deidentify_templates_create( &self, request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest, parent: &str, ) -> OrganizationDeidentifyTemplateCreateCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn deidentify_templates_delete(
&self,
name: &str,
) -> OrganizationDeidentifyTemplateDeleteCall<'a, C>
pub fn deidentify_templates_delete( &self, name: &str, ) -> OrganizationDeidentifyTemplateDeleteCall<'a, C>
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/432452342or projects/project-id/deidentifyTemplates/432452342.
Sourcepub fn deidentify_templates_get(
&self,
name: &str,
) -> OrganizationDeidentifyTemplateGetCall<'a, C>
pub fn deidentify_templates_get( &self, name: &str, ) -> OrganizationDeidentifyTemplateGetCall<'a, C>
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/432452342or projects/project-id/deidentifyTemplates/432452342.
Sourcepub fn deidentify_templates_list(
&self,
parent: &str,
) -> OrganizationDeidentifyTemplateListCall<'a, C>
pub fn deidentify_templates_list( &self, parent: &str, ) -> OrganizationDeidentifyTemplateListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn deidentify_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
name: &str,
) -> OrganizationDeidentifyTemplatePatchCall<'a, C>
pub fn deidentify_templates_patch( &self, request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest, name: &str, ) -> OrganizationDeidentifyTemplatePatchCall<'a, C>
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/432452342or projects/project-id/deidentifyTemplates/432452342.
Sourcepub fn inspect_templates_create(
&self,
request: GooglePrivacyDlpV2CreateInspectTemplateRequest,
parent: &str,
) -> OrganizationInspectTemplateCreateCall<'a, C>
pub fn inspect_templates_create( &self, request: GooglePrivacyDlpV2CreateInspectTemplateRequest, parent: &str, ) -> OrganizationInspectTemplateCreateCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn inspect_templates_delete(
&self,
name: &str,
) -> OrganizationInspectTemplateDeleteCall<'a, C>
pub fn inspect_templates_delete( &self, name: &str, ) -> OrganizationInspectTemplateDeleteCall<'a, C>
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/432452342or projects/project-id/inspectTemplates/432452342.
Sourcepub fn inspect_templates_get(
&self,
name: &str,
) -> OrganizationInspectTemplateGetCall<'a, C>
pub fn inspect_templates_get( &self, name: &str, ) -> OrganizationInspectTemplateGetCall<'a, C>
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/432452342or projects/project-id/inspectTemplates/432452342.
Sourcepub fn inspect_templates_list(
&self,
parent: &str,
) -> OrganizationInspectTemplateListCall<'a, C>
pub fn inspect_templates_list( &self, parent: &str, ) -> OrganizationInspectTemplateListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn inspect_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
name: &str,
) -> OrganizationInspectTemplatePatchCall<'a, C>
pub fn inspect_templates_patch( &self, request: GooglePrivacyDlpV2UpdateInspectTemplateRequest, name: &str, ) -> OrganizationInspectTemplatePatchCall<'a, C>
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/432452342or projects/project-id/inspectTemplates/432452342.
Sourcepub fn locations_column_data_profiles_get(
&self,
name: &str,
) -> OrganizationLocationColumnDataProfileGetCall<'a, C>
pub fn locations_column_data_profiles_get( &self, name: &str, ) -> OrganizationLocationColumnDataProfileGetCall<'a, C>
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, C>
pub fn locations_column_data_profiles_list( &self, parent: &str, ) -> OrganizationLocationColumnDataProfileListCall<'a, C>
Create a builder to help you perform the following task:
Lists column data profiles for an organization.
§Arguments
parent- Required. Resource name of the organization or project, for exampleorganizations/433245324/locations/europeorprojects/project-id/locations/asia.
Sourcepub fn locations_connections_create(
&self,
request: GooglePrivacyDlpV2CreateConnectionRequest,
parent: &str,
) -> OrganizationLocationConnectionCreateCall<'a, C>
pub fn locations_connections_create( &self, request: GooglePrivacyDlpV2CreateConnectionRequest, parent: &str, ) -> OrganizationLocationConnectionCreateCall<'a, C>
Create a builder to help you perform the following task:
Create a Connection to an external data source.
§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): + Projects scope:projects/{project_id}/locations/{location_id}+ Organizations scope:organizations/{org_id}/locations/{location_id}
Sourcepub fn locations_connections_delete(
&self,
name: &str,
) -> OrganizationLocationConnectionDeleteCall<'a, C>
pub fn locations_connections_delete( &self, name: &str, ) -> OrganizationLocationConnectionDeleteCall<'a, C>
Create a builder to help you perform the following task:
Delete a Connection.
§Arguments
name- Required. Resource name of the Connection to be deleted, in the format:projects/{project}/locations/{location}/connections/{connection}.
Sourcepub fn locations_connections_get(
&self,
name: &str,
) -> OrganizationLocationConnectionGetCall<'a, C>
pub fn locations_connections_get( &self, name: &str, ) -> OrganizationLocationConnectionGetCall<'a, C>
Create a builder to help you perform the following task:
Get a Connection by name.
§Arguments
name- Required. Resource name in the format:projects/{project}/locations/{location}/connections/{connection}.
Sourcepub fn locations_connections_list(
&self,
parent: &str,
) -> OrganizationLocationConnectionListCall<'a, C>
pub fn locations_connections_list( &self, parent: &str, ) -> OrganizationLocationConnectionListCall<'a, C>
Create a builder to help you perform the following task:
Lists Connections in a parent. Use SearchConnections to see all connections within an organization.
§Arguments
parent- Required. Resource name of the organization or project, for example,organizations/433245324/locations/europeorprojects/project-id/locations/asia.
Sourcepub fn locations_connections_patch(
&self,
request: GooglePrivacyDlpV2UpdateConnectionRequest,
name: &str,
) -> OrganizationLocationConnectionPatchCall<'a, C>
pub fn locations_connections_patch( &self, request: GooglePrivacyDlpV2UpdateConnectionRequest, name: &str, ) -> OrganizationLocationConnectionPatchCall<'a, C>
Create a builder to help you perform the following task:
Update a Connection.
§Arguments
request- No description provided.name- Required. Resource name in the format:projects/{project}/locations/{location}/connections/{connection}.
Sourcepub fn locations_connections_search(
&self,
parent: &str,
) -> OrganizationLocationConnectionSearchCall<'a, C>
pub fn locations_connections_search( &self, parent: &str, ) -> OrganizationLocationConnectionSearchCall<'a, C>
Create a builder to help you perform the following task:
Searches for Connections in a parent.
§Arguments
parent- Required. Resource name of the organization or project with a wildcard location, for example,organizations/433245324/locations/-orprojects/project-id/locations/-.
Sourcepub fn locations_deidentify_templates_create(
&self,
request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
parent: &str,
) -> OrganizationLocationDeidentifyTemplateCreateCall<'a, C>
pub fn locations_deidentify_templates_create( &self, request: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest, parent: &str, ) -> OrganizationLocationDeidentifyTemplateCreateCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_deidentify_templates_delete(
&self,
name: &str,
) -> OrganizationLocationDeidentifyTemplateDeleteCall<'a, C>
pub fn locations_deidentify_templates_delete( &self, name: &str, ) -> OrganizationLocationDeidentifyTemplateDeleteCall<'a, C>
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/432452342or projects/project-id/deidentifyTemplates/432452342.
Sourcepub fn locations_deidentify_templates_get(
&self,
name: &str,
) -> OrganizationLocationDeidentifyTemplateGetCall<'a, C>
pub fn locations_deidentify_templates_get( &self, name: &str, ) -> OrganizationLocationDeidentifyTemplateGetCall<'a, C>
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/432452342or projects/project-id/deidentifyTemplates/432452342.
Sourcepub fn locations_deidentify_templates_list(
&self,
parent: &str,
) -> OrganizationLocationDeidentifyTemplateListCall<'a, C>
pub fn locations_deidentify_templates_list( &self, parent: &str, ) -> OrganizationLocationDeidentifyTemplateListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_deidentify_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
name: &str,
) -> OrganizationLocationDeidentifyTemplatePatchCall<'a, C>
pub fn locations_deidentify_templates_patch( &self, request: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest, name: &str, ) -> OrganizationLocationDeidentifyTemplatePatchCall<'a, C>
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/432452342or projects/project-id/deidentifyTemplates/432452342.
Sourcepub fn locations_discovery_configs_create(
&self,
request: GooglePrivacyDlpV2CreateDiscoveryConfigRequest,
parent: &str,
) -> OrganizationLocationDiscoveryConfigCreateCall<'a, C>
pub fn locations_discovery_configs_create( &self, request: GooglePrivacyDlpV2CreateDiscoveryConfigRequest, parent: &str, ) -> OrganizationLocationDiscoveryConfigCreateCall<'a, C>
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 varies depending on the scope of the request (project or organization): + Projects scope:projects/{project_id}/locations/{location_id}+ Organizations scope:organizations/{org_id}/locations/{location_id}The following exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_discovery_configs_delete(
&self,
name: &str,
) -> OrganizationLocationDiscoveryConfigDeleteCall<'a, C>
pub fn locations_discovery_configs_delete( &self, name: &str, ) -> OrganizationLocationDiscoveryConfigDeleteCall<'a, C>
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, C>
pub fn locations_discovery_configs_get( &self, name: &str, ) -> OrganizationLocationDiscoveryConfigGetCall<'a, C>
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, C>
pub fn locations_discovery_configs_list( &self, parent: &str, ) -> OrganizationLocationDiscoveryConfigListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_discovery_configs_patch(
&self,
request: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest,
name: &str,
) -> OrganizationLocationDiscoveryConfigPatchCall<'a, C>
pub fn locations_discovery_configs_patch( &self, request: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest, name: &str, ) -> OrganizationLocationDiscoveryConfigPatchCall<'a, C>
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, C>
pub fn locations_dlp_jobs_list( &self, parent: &str, ) -> OrganizationLocationDlpJobListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_file_store_data_profiles_delete(
&self,
name: &str,
) -> OrganizationLocationFileStoreDataProfileDeleteCall<'a, C>
pub fn locations_file_store_data_profiles_delete( &self, name: &str, ) -> OrganizationLocationFileStoreDataProfileDeleteCall<'a, C>
Create a builder to help you perform the following task:
Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.
§Arguments
name- Required. Resource name of the file store data profile.
Sourcepub fn locations_file_store_data_profiles_get(
&self,
name: &str,
) -> OrganizationLocationFileStoreDataProfileGetCall<'a, C>
pub fn locations_file_store_data_profiles_get( &self, name: &str, ) -> OrganizationLocationFileStoreDataProfileGetCall<'a, C>
Create a builder to help you perform the following task:
Gets a file store data profile.
§Arguments
name- Required. Resource name, for exampleorganizations/12345/locations/us/fileStoreDataProfiles/53234423.
Sourcepub fn locations_file_store_data_profiles_list(
&self,
parent: &str,
) -> OrganizationLocationFileStoreDataProfileListCall<'a, C>
pub fn locations_file_store_data_profiles_list( &self, parent: &str, ) -> OrganizationLocationFileStoreDataProfileListCall<'a, C>
Create a builder to help you perform the following task:
Lists file store data profiles for an organization.
§Arguments
parent- Required. Resource name of the organization or project, for exampleorganizations/433245324/locations/europeorprojects/project-id/locations/asia.
Sourcepub fn locations_info_types_list(
&self,
parent: &str,
) -> OrganizationLocationInfoTypeListCall<'a, C>
pub fn locations_info_types_list( &self, parent: &str, ) -> OrganizationLocationInfoTypeListCall<'a, C>
Create a builder to help you perform the following task:
Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
§Arguments
parent- The parent resource name. The format of this value is as follows:locations/{location_id}
Sourcepub fn locations_inspect_templates_create(
&self,
request: GooglePrivacyDlpV2CreateInspectTemplateRequest,
parent: &str,
) -> OrganizationLocationInspectTemplateCreateCall<'a, C>
pub fn locations_inspect_templates_create( &self, request: GooglePrivacyDlpV2CreateInspectTemplateRequest, parent: &str, ) -> OrganizationLocationInspectTemplateCreateCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_inspect_templates_delete(
&self,
name: &str,
) -> OrganizationLocationInspectTemplateDeleteCall<'a, C>
pub fn locations_inspect_templates_delete( &self, name: &str, ) -> OrganizationLocationInspectTemplateDeleteCall<'a, C>
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/432452342or projects/project-id/inspectTemplates/432452342.
Sourcepub fn locations_inspect_templates_get(
&self,
name: &str,
) -> OrganizationLocationInspectTemplateGetCall<'a, C>
pub fn locations_inspect_templates_get( &self, name: &str, ) -> OrganizationLocationInspectTemplateGetCall<'a, C>
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/432452342or projects/project-id/inspectTemplates/432452342.
Sourcepub fn locations_inspect_templates_list(
&self,
parent: &str,
) -> OrganizationLocationInspectTemplateListCall<'a, C>
pub fn locations_inspect_templates_list( &self, parent: &str, ) -> OrganizationLocationInspectTemplateListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_inspect_templates_patch(
&self,
request: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
name: &str,
) -> OrganizationLocationInspectTemplatePatchCall<'a, C>
pub fn locations_inspect_templates_patch( &self, request: GooglePrivacyDlpV2UpdateInspectTemplateRequest, name: &str, ) -> OrganizationLocationInspectTemplatePatchCall<'a, C>
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/432452342or projects/project-id/inspectTemplates/432452342.
Sourcepub fn locations_job_triggers_create(
&self,
request: GooglePrivacyDlpV2CreateJobTriggerRequest,
parent: &str,
) -> OrganizationLocationJobTriggerCreateCall<'a, C>
pub fn locations_job_triggers_create( &self, request: GooglePrivacyDlpV2CreateJobTriggerRequest, parent: &str, ) -> OrganizationLocationJobTriggerCreateCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_job_triggers_delete(
&self,
name: &str,
) -> OrganizationLocationJobTriggerDeleteCall<'a, C>
pub fn locations_job_triggers_delete( &self, name: &str, ) -> OrganizationLocationJobTriggerDeleteCall<'a, C>
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, C>
pub fn locations_job_triggers_get( &self, name: &str, ) -> OrganizationLocationJobTriggerGetCall<'a, C>
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, C>
pub fn locations_job_triggers_list( &self, parent: &str, ) -> OrganizationLocationJobTriggerListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_job_triggers_patch(
&self,
request: GooglePrivacyDlpV2UpdateJobTriggerRequest,
name: &str,
) -> OrganizationLocationJobTriggerPatchCall<'a, C>
pub fn locations_job_triggers_patch( &self, request: GooglePrivacyDlpV2UpdateJobTriggerRequest, name: &str, ) -> OrganizationLocationJobTriggerPatchCall<'a, C>
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, C>
pub fn locations_project_data_profiles_get( &self, name: &str, ) -> OrganizationLocationProjectDataProfileGetCall<'a, C>
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, C>
pub fn locations_project_data_profiles_list( &self, parent: &str, ) -> OrganizationLocationProjectDataProfileListCall<'a, C>
Create a builder to help you perform the following task:
Lists project 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, C>
pub fn locations_stored_info_types_create( &self, request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest, parent: &str, ) -> OrganizationLocationStoredInfoTypeCreateCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_stored_info_types_delete(
&self,
name: &str,
) -> OrganizationLocationStoredInfoTypeDeleteCall<'a, C>
pub fn locations_stored_info_types_delete( &self, name: &str, ) -> OrganizationLocationStoredInfoTypeDeleteCall<'a, C>
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/432452342or projects/project-id/storedInfoTypes/432452342.
Sourcepub fn locations_stored_info_types_get(
&self,
name: &str,
) -> OrganizationLocationStoredInfoTypeGetCall<'a, C>
pub fn locations_stored_info_types_get( &self, name: &str, ) -> OrganizationLocationStoredInfoTypeGetCall<'a, C>
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/432452342or projects/project-id/storedInfoTypes/432452342.
Sourcepub fn locations_stored_info_types_list(
&self,
parent: &str,
) -> OrganizationLocationStoredInfoTypeListCall<'a, C>
pub fn locations_stored_info_types_list( &self, parent: &str, ) -> OrganizationLocationStoredInfoTypeListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn locations_stored_info_types_patch(
&self,
request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
name: &str,
) -> OrganizationLocationStoredInfoTypePatchCall<'a, C>
pub fn locations_stored_info_types_patch( &self, request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, name: &str, ) -> OrganizationLocationStoredInfoTypePatchCall<'a, C>
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/432452342or projects/project-id/storedInfoTypes/432452342.
Sourcepub fn locations_table_data_profiles_delete(
&self,
name: &str,
) -> OrganizationLocationTableDataProfileDeleteCall<'a, C>
pub fn locations_table_data_profiles_delete( &self, name: &str, ) -> OrganizationLocationTableDataProfileDeleteCall<'a, C>
Create a builder to help you perform the following task:
Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
§Arguments
name- Required. Resource name of the table data profile.
Sourcepub fn locations_table_data_profiles_get(
&self,
name: &str,
) -> OrganizationLocationTableDataProfileGetCall<'a, C>
pub fn locations_table_data_profiles_get( &self, name: &str, ) -> OrganizationLocationTableDataProfileGetCall<'a, C>
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, C>
pub fn locations_table_data_profiles_list( &self, parent: &str, ) -> OrganizationLocationTableDataProfileListCall<'a, C>
Create a builder to help you perform the following task:
Lists table data profiles for an organization.
§Arguments
parent- Required. Resource name of the organization or project, for exampleorganizations/433245324/locations/europeorprojects/project-id/locations/asia.
Sourcepub fn stored_info_types_create(
&self,
request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,
parent: &str,
) -> OrganizationStoredInfoTypeCreateCall<'a, C>
pub fn stored_info_types_create( &self, request: GooglePrivacyDlpV2CreateStoredInfoTypeRequest, parent: &str, ) -> OrganizationStoredInfoTypeCreateCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn stored_info_types_delete(
&self,
name: &str,
) -> OrganizationStoredInfoTypeDeleteCall<'a, C>
pub fn stored_info_types_delete( &self, name: &str, ) -> OrganizationStoredInfoTypeDeleteCall<'a, C>
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/432452342or projects/project-id/storedInfoTypes/432452342.
Sourcepub fn stored_info_types_get(
&self,
name: &str,
) -> OrganizationStoredInfoTypeGetCall<'a, C>
pub fn stored_info_types_get( &self, name: &str, ) -> OrganizationStoredInfoTypeGetCall<'a, C>
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/432452342or projects/project-id/storedInfoTypes/432452342.
Sourcepub fn stored_info_types_list(
&self,
parent: &str,
) -> OrganizationStoredInfoTypeListCall<'a, C>
pub fn stored_info_types_list( &self, parent: &str, ) -> OrganizationStoredInfoTypeListCall<'a, C>
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 exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Sourcepub fn stored_info_types_patch(
&self,
request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
name: &str,
) -> OrganizationStoredInfoTypePatchCall<'a, C>
pub fn stored_info_types_patch( &self, request: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest, name: &str, ) -> OrganizationStoredInfoTypePatchCall<'a, C>
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/432452342or projects/project-id/storedInfoTypes/432452342.