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>

source

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations§

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

impl<'a, S> !UnwindSafe for OrganizationMethods<'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