Class: Google::Apis::DlpV2::DLPService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DlpV2::DLPService
- Defined in:
- lib/google/apis/dlp_v2/service.rb
Overview
Sensitive Data Protection (DLP)
Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://dlp.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#activate_project_job_trigger(name, google_privacy_dlp_v2_activate_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Activate a job trigger.
-
#activate_project_location_job_trigger(name, google_privacy_dlp_v2_activate_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Activate a job trigger.
-
#cancel_project_dlp_job(name, google_privacy_dlp_v2_cancel_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Starts asynchronous cancellation on a long-running DlpJob.
-
#cancel_project_location_dlp_job(name, google_privacy_dlp_v2_cancel_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Starts asynchronous cancellation on a long-running DlpJob.
-
#create_organization_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Creates a DeidentifyTemplate for reusing frequently used configuration for de- identifying content, images, and storage.
-
#create_organization_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage.
-
#create_organization_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Create a Connection to an external data source.
-
#create_organization_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Creates a DeidentifyTemplate for reusing frequently used configuration for de- identifying content, images, and storage.
-
#create_organization_location_discovery_config(parent, google_privacy_dlp_v2_create_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Creates a config for discovery to scan and profile storage.
-
#create_organization_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage.
-
#create_organization_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule.
-
#create_organization_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Creates a pre-built stored infoType to be used for inspection.
-
#create_organization_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Creates a pre-built stored infoType to be used for inspection.
-
#create_project_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Creates a DeidentifyTemplate for reusing frequently used configuration for de- identifying content, images, and storage.
-
#create_project_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Creates a new job to inspect storage or calculate risk metrics.
-
#create_project_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage.
-
#create_project_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule.
-
#create_project_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Create a Connection to an external data source.
-
#create_project_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Creates a DeidentifyTemplate for reusing frequently used configuration for de- identifying content, images, and storage.
-
#create_project_location_discovery_config(parent, google_privacy_dlp_v2_create_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Creates a config for discovery to scan and profile storage.
-
#create_project_location_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Creates a new job to inspect storage or calculate risk metrics.
-
#create_project_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage.
-
#create_project_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule.
-
#create_project_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Creates a pre-built stored infoType to be used for inspection.
-
#create_project_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Creates a pre-built stored infoType to be used for inspection.
-
#deidentify_project_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
De-identifies potentially sensitive info from a ContentItem.
-
#deidentify_project_location_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
De-identifies potentially sensitive info from a ContentItem.
-
#delete_organization_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate.
-
#delete_organization_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate.
-
#delete_organization_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a Connection.
-
#delete_organization_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate.
-
#delete_organization_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a discovery configuration.
-
#delete_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a FileStoreDataProfile.
-
#delete_organization_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate.
-
#delete_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a job trigger.
-
#delete_organization_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType.
-
#delete_organization_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a TableDataProfile.
-
#delete_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType.
-
#delete_project_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate.
-
#delete_project_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a long-running DlpJob.
-
#delete_project_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate.
-
#delete_project_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a job trigger.
-
#delete_project_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a Connection.
-
#delete_project_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate.
-
#delete_project_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a discovery configuration.
-
#delete_project_location_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a long-running DlpJob.
-
#delete_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a FileStoreDataProfile.
-
#delete_project_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate.
-
#delete_project_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a job trigger.
-
#delete_project_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType.
-
#delete_project_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a TableDataProfile.
-
#delete_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType.
-
#finish_project_location_dlp_job(name, google_privacy_dlp_v2_finish_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Finish a running hybrid DlpJob.
-
#get_organization_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate.
-
#get_organization_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate.
-
#get_organization_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile
Gets a column data profile.
-
#get_organization_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Get a Connection by name.
-
#get_organization_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate.
-
#get_organization_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Gets a discovery configuration.
-
#get_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile
Gets a file store data profile.
-
#get_organization_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate.
-
#get_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Gets a job trigger.
-
#get_organization_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
Gets a project data profile.
-
#get_organization_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType.
-
#get_organization_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile
Gets a table data profile.
-
#get_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType.
-
#get_project_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate.
-
#get_project_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Gets the latest state of a long-running DlpJob.
-
#get_project_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate.
-
#get_project_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Gets a job trigger.
-
#get_project_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile
Gets a column data profile.
-
#get_project_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Get a Connection by name.
-
#get_project_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate.
-
#get_project_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Gets a discovery configuration.
-
#get_project_location_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Gets the latest state of a long-running DlpJob.
-
#get_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile
Gets a file store data profile.
-
#get_project_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate.
-
#get_project_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Gets a job trigger.
-
#get_project_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
Gets a project data profile.
-
#get_project_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType.
-
#get_project_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile
Gets a table data profile.
-
#get_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType.
-
#hybrid_project_location_dlp_job_inspect(name, google_privacy_dlp_v2_hybrid_inspect_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse
Inspect hybrid content and store findings to a job.
-
#hybrid_project_location_job_trigger_inspect(name, google_privacy_dlp_v2_hybrid_inspect_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse
Inspect hybrid content and store findings to a trigger.
-
#initialize ⇒ DLPService
constructor
A new instance of DLPService.
-
#inspect_project_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse
Finds potentially sensitive info in content.
-
#inspect_project_location_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse
Finds potentially sensitive info in content.
-
#list_info_types(filter: nil, language_code: nil, location_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
Returns a list of the sensitive information types that DLP API supports.
-
#list_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
Returns a list of the sensitive information types that DLP API supports.
-
#list_organization_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates.
-
#list_organization_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates.
-
#list_organization_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse
Lists column data profiles for an organization.
-
#list_organization_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates.
-
#list_organization_location_discovery_configs(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse
Lists discovery configurations.
-
#list_organization_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
Lists DlpJobs that match the specified filter in the request.
-
#list_organization_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
Lists file store data profiles for an organization.
-
#list_organization_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates.
-
#list_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
Lists job triggers.
-
#list_organization_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse
Lists project data profiles for an organization.
-
#list_organization_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes.
-
#list_organization_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse
Lists table data profiles for an organization.
-
#list_organization_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes.
-
#list_project_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates.
-
#list_project_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
Lists DlpJobs that match the specified filter in the request.
-
#list_project_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates.
-
#list_project_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
Lists job triggers.
-
#list_project_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse
Lists column data profiles for an organization.
-
#list_project_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse
Lists Connections in a parent.
-
#list_project_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates.
-
#list_project_location_discovery_configs(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse
Lists discovery configurations.
-
#list_project_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
Lists DlpJobs that match the specified filter in the request.
-
#list_project_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
Lists file store data profiles for an organization.
-
#list_project_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates.
-
#list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
Lists job triggers.
-
#list_project_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse
Lists project data profiles for an organization.
-
#list_project_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes.
-
#list_project_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse
Lists table data profiles for an organization.
-
#list_project_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes.
-
#patch_organization_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate.
-
#patch_organization_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate.
-
#patch_organization_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Update a Connection.
-
#patch_organization_location_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate.
-
#patch_organization_location_discovery_config(name, google_privacy_dlp_v2_update_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Updates a discovery configuration.
-
#patch_organization_location_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate.
-
#patch_organization_location_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Updates a job trigger.
-
#patch_organization_location_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Updates the stored infoType by creating a new version.
-
#patch_organization_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Updates the stored infoType by creating a new version.
-
#patch_project_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate.
-
#patch_project_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate.
-
#patch_project_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Updates a job trigger.
-
#patch_project_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Update a Connection.
-
#patch_project_location_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate.
-
#patch_project_location_discovery_config(name, google_privacy_dlp_v2_update_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Updates a discovery configuration.
-
#patch_project_location_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate.
-
#patch_project_location_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Updates a job trigger.
-
#patch_project_location_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Updates the stored infoType by creating a new version.
-
#patch_project_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Updates the stored infoType by creating a new version.
-
#redact_project_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
Redacts potentially sensitive info from an image.
-
#redact_project_location_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
Redacts potentially sensitive info from an image.
-
#reidentify_project_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse
Re-identifies content that has been de-identified.
-
#reidentify_project_location_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse
Re-identifies content that has been de-identified.
-
#search_organization_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse
Searches for Connections in a parent.
-
#search_project_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse
Searches for Connections in a parent.
Constructor Details
#initialize ⇒ DLPService
Returns a new instance of DLPService.
48 49 50 51 52 53 |
# File 'lib/google/apis/dlp_v2/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-dlp_v2', client_version: Google::Apis::DlpV2::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41 42 43 |
# File 'lib/google/apis/dlp_v2/service.rb', line 41 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
46 47 48 |
# File 'lib/google/apis/dlp_v2/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#activate_project_job_trigger(name, google_privacy_dlp_v2_activate_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3353 def activate_project_job_trigger(name, google_privacy_dlp_v2_activate_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+name}:activate', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ActivateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_activate_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#activate_project_location_job_trigger(name, google_privacy_dlp_v2_activate_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5127 def activate_project_location_job_trigger(name, google_privacy_dlp_v2_activate_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+name}:activate', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ActivateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_activate_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_project_dlp_job(name, google_privacy_dlp_v2_cancel_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https:// cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https:// cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2873 def cancel_project_dlp_job(name, google_privacy_dlp_v2_cancel_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+name}:cancel', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CancelDlpJobRequest::Representation command.request_object = google_privacy_dlp_v2_cancel_dlp_job_request_object command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_project_location_dlp_job(name, google_privacy_dlp_v2_cancel_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https:// cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https:// cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4448 def cancel_project_location_dlp_job(name, google_privacy_dlp_v2_cancel_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+name}:cancel', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CancelDlpJobRequest::Representation command.request_object = google_privacy_dlp_v2_cancel_dlp_job_request_object command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
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.
177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/google/apis/dlp_v2/service.rb', line 177 def create_organization_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
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.
387 388 389 390 391 392 393 394 395 396 397 |
# File 'lib/google/apis/dlp_v2/service.rb', line 387 def create_organization_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Create a Connection to an external data source.
686 687 688 689 690 691 692 693 694 695 696 |
# File 'lib/google/apis/dlp_v2/service.rb', line 686 def create_organization_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/connections', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest::Representation command.request_object = google_privacy_dlp_v2_create_connection_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
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.
869 870 871 872 873 874 875 876 877 878 879 |
# File 'lib/google/apis/dlp_v2/service.rb', line 869 def create_organization_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_discovery_config(parent, google_privacy_dlp_v2_create_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Creates a config for discovery to scan and profile storage.
1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1072 def create_organization_location_discovery_config(parent, google_privacy_dlp_v2_create_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/discoveryConfigs', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDiscoveryConfigRequest::Representation command.request_object = google_privacy_dlp_v2_create_discovery_config_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
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.
1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1472 def create_organization_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
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.
1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1678 def create_organization_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1991 def create_organization_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2330 def create_organization_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
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.
2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2672 def create_project_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Creates a new job to inspect storage or calculate risk metrics. See https:// cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https:// cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2918 def create_project_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/dlpJobs', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest::Representation command.request_object = google_privacy_dlp_v2_create_dlp_job_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
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.
3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3154 def create_project_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
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.
3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3395 def create_project_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Create a Connection to an external data source.
3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3707 def create_project_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/connections', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest::Representation command.request_object = google_privacy_dlp_v2_create_connection_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
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.
4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4063 def create_project_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_discovery_config(parent, google_privacy_dlp_v2_create_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Creates a config for discovery to scan and profile storage.
4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4266 def create_project_location_discovery_config(parent, google_privacy_dlp_v2_create_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/discoveryConfigs', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDiscoveryConfigRequest::Representation command.request_object = google_privacy_dlp_v2_create_discovery_config_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Creates a new job to inspect storage or calculate risk metrics. See https:// cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https:// cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4493 def create_project_location_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/dlpJobs', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest::Representation command.request_object = google_privacy_dlp_v2_create_dlp_job_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
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.
4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4928 def create_project_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
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.
5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5169 def create_project_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5518 def create_project_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5857 def create_project_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#deidentify_project_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/sensitive- data-protection/docs/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2538 def deidentify_project_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/content:deidentify', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest::Representation command.request_object = google_privacy_dlp_v2_deidentify_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#deidentify_project_location_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/sensitive- data-protection/docs/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3929 def deidentify_project_location_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/content:deidentify', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest::Representation command.request_object = google_privacy_dlp_v2_deidentify_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
212 213 214 215 216 217 218 219 220 |
# File 'lib/google/apis/dlp_v2/service.rb', line 212 def delete_organization_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
422 423 424 425 426 427 428 429 430 |
# File 'lib/google/apis/dlp_v2/service.rb', line 422 def delete_organization_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a Connection.
719 720 721 722 723 724 725 726 727 |
# File 'lib/google/apis/dlp_v2/service.rb', line 719 def delete_organization_location_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
904 905 906 907 908 909 910 911 912 |
# File 'lib/google/apis/dlp_v2/service.rb', line 904 def delete_organization_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a discovery configuration.
1105 1106 1107 1108 1109 1110 1111 1112 1113 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1105 def delete_organization_location_discovery_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.
1329 1330 1331 1332 1333 1334 1335 1336 1337 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1329 def delete_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1507 def delete_organization_location_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
1712 1713 1714 1715 1716 1717 1718 1719 1720 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1712 def delete_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType. See https://cloud.google.com/sensitive-data- protection/docs/creating-stored-infotypes to learn more.
2026 2027 2028 2029 2030 2031 2032 2033 2034 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2026 def delete_organization_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
2187 2188 2189 2190 2191 2192 2193 2194 2195 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2187 def delete_organization_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType. See https://cloud.google.com/sensitive-data- protection/docs/creating-stored-infotypes to learn more.
2365 2366 2367 2368 2369 2370 2371 2372 2373 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2365 def delete_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
2707 2708 2709 2710 2711 2712 2713 2714 2715 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2707 def delete_project_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk- analysis to learn more.
2954 2955 2956 2957 2958 2959 2960 2961 2962 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2954 def delete_project_dlp_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
3189 3190 3191 3192 3193 3194 3195 3196 3197 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3189 def delete_project_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
3429 3430 3431 3432 3433 3434 3435 3436 3437 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3429 def delete_project_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a Connection.
3740 3741 3742 3743 3744 3745 3746 3747 3748 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3740 def delete_project_location_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
4098 4099 4100 4101 4102 4103 4104 4105 4106 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4098 def delete_project_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a discovery configuration.
4299 4300 4301 4302 4303 4304 4305 4306 4307 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4299 def delete_project_location_discovery_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk- analysis to learn more.
4529 4530 4531 4532 4533 4534 4535 4536 4537 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4529 def delete_project_location_dlp_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.
4740 4741 4742 4743 4744 4745 4746 4747 4748 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4740 def delete_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
4963 4964 4965 4966 4967 4968 4969 4970 4971 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4963 def delete_project_location_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
5203 5204 5205 5206 5207 5208 5209 5210 5211 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5203 def delete_project_location_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType. See https://cloud.google.com/sensitive-data- protection/docs/creating-stored-infotypes to learn more.
5553 5554 5555 5556 5557 5558 5559 5560 5561 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5553 def delete_project_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
5714 5715 5716 5717 5718 5719 5720 5721 5722 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5714 def delete_project_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Deletes a stored infoType. See https://cloud.google.com/sensitive-data- protection/docs/creating-stored-infotypes to learn more.
5892 5893 5894 5895 5896 5897 5898 5899 5900 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5892 def delete_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#finish_project_location_dlp_job(name, google_privacy_dlp_v2_finish_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GoogleProtobufEmpty
Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.
4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4561 def finish_project_location_dlp_job(name, google_privacy_dlp_v2_finish_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+name}:finish', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2FinishDlpJobRequest::Representation command.request_object = google_privacy_dlp_v2_finish_dlp_job_request_object command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
245 246 247 248 249 250 251 252 253 |
# File 'lib/google/apis/dlp_v2/service.rb', line 245 def get_organization_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
455 456 457 458 459 460 461 462 463 |
# File 'lib/google/apis/dlp_v2/service.rb', line 455 def get_organization_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile
Gets a column data profile.
584 585 586 587 588 589 590 591 592 |
# File 'lib/google/apis/dlp_v2/service.rb', line 584 def get_organization_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Get a Connection by name.
750 751 752 753 754 755 756 757 758 |
# File 'lib/google/apis/dlp_v2/service.rb', line 750 def get_organization_location_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
937 938 939 940 941 942 943 944 945 |
# File 'lib/google/apis/dlp_v2/service.rb', line 937 def get_organization_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Gets a discovery configuration.
1136 1137 1138 1139 1140 1141 1142 1143 1144 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1136 def get_organization_location_discovery_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile
Gets a file store data profile.
1360 1361 1362 1363 1364 1365 1366 1367 1368 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1360 def get_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
1540 1541 1542 1543 1544 1545 1546 1547 1548 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1540 def get_organization_location_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
1744 1745 1746 1747 1748 1749 1750 1751 1752 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1744 def get_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
Gets a project data profile.
1888 1889 1890 1891 1892 1893 1894 1895 1896 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1888 def get_organization_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
2059 2060 2061 2062 2063 2064 2065 2066 2067 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2059 def get_organization_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile
Gets a table data profile.
2218 2219 2220 2221 2222 2223 2224 2225 2226 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2218 def get_organization_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
2398 2399 2400 2401 2402 2403 2404 2405 2406 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2398 def get_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
2740 2741 2742 2743 2744 2745 2746 2747 2748 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2740 def get_project_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/ sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/ sensitive-data-protection/docs/compute-risk-analysis to learn more.
2986 2987 2988 2989 2990 2991 2992 2993 2994 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2986 def get_project_dlp_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3222 def get_project_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
3461 3462 3463 3464 3465 3466 3467 3468 3469 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3461 def get_project_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile
Gets a column data profile.
3605 3606 3607 3608 3609 3610 3611 3612 3613 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3605 def get_project_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Get a Connection by name.
3771 3772 3773 3774 3775 3776 3777 3778 3779 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3771 def get_project_location_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
4131 4132 4133 4134 4135 4136 4137 4138 4139 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4131 def get_project_location_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_discovery_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Gets a discovery configuration.
4330 4331 4332 4333 4334 4335 4336 4337 4338 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4330 def get_project_location_discovery_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dlp_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/ sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/ sensitive-data-protection/docs/compute-risk-analysis to learn more.
4595 4596 4597 4598 4599 4600 4601 4602 4603 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4595 def get_project_location_dlp_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile
Gets a file store data profile.
4771 4772 4773 4774 4775 4776 4777 4778 4779 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4771 def get_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_inspect_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
4996 4997 4998 4999 5000 5001 5002 5003 5004 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4996 def get_project_location_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_job_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
5235 5236 5237 5238 5239 5240 5241 5242 5243 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5235 def get_project_location_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
Gets a project data profile.
5415 5416 5417 5418 5419 5420 5421 5422 5423 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5415 def get_project_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
5586 5587 5588 5589 5590 5591 5592 5593 5594 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5586 def get_project_location_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile
Gets a table data profile.
5745 5746 5747 5748 5749 5750 5751 5752 5753 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5745 def get_project_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
5925 5926 5927 5928 5929 5930 5931 5932 5933 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5925 def get_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+name}', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#hybrid_project_location_dlp_job_inspect(name, google_privacy_dlp_v2_hybrid_inspect_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse
Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.
4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4628 def hybrid_project_location_dlp_job_inspect(name, google_privacy_dlp_v2_hybrid_inspect_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+name}:hybridInspect', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectDlpJobRequest::Representation command.request_object = google_privacy_dlp_v2_hybrid_inspect_dlp_job_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#hybrid_project_location_job_trigger_inspect(name, google_privacy_dlp_v2_hybrid_inspect_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse
Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.
5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5269 def hybrid_project_location_job_trigger_inspect(name, google_privacy_dlp_v2_hybrid_inspect_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+name}:hybridInspect', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_hybrid_inspect_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#inspect_project_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse
Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/ sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/ sensitive-data-protection/docs/inspecting-text,
2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2584 def inspect_project_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/content:inspect', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest::Representation command.request_object = google_privacy_dlp_v2_inspect_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#inspect_project_location_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse
Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/ sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/ sensitive-data-protection/docs/inspecting-text,
3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3975 def inspect_project_location_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/content:inspect', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest::Representation command.request_object = google_privacy_dlp_v2_inspect_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_info_types(filter: nil, language_code: nil, location_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/google/apis/dlp_v2/service.rb', line 86 def list_info_types(filter: nil, language_code: nil, location_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/infoTypes', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse command.query['filter'] = filter unless filter.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
130 131 132 133 134 135 136 137 138 139 140 141 |
# File 'lib/google/apis/dlp_v2/service.rb', line 130 def list_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/infoTypes', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
303 304 305 306 307 308 309 310 311 312 313 314 315 |
# File 'lib/google/apis/dlp_v2/service.rb', line 303 def list_organization_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/ docs/creating-templates to learn more.
513 514 515 516 517 518 519 520 521 522 523 524 525 |
# File 'lib/google/apis/dlp_v2/service.rb', line 513 def list_organization_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse
Lists column data profiles for an organization.
648 649 650 651 652 653 654 655 656 657 658 659 660 |
# File 'lib/google/apis/dlp_v2/service.rb', line 648 def list_organization_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/columnDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 |
# File 'lib/google/apis/dlp_v2/service.rb', line 995 def list_organization_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_discovery_configs(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse
Lists discovery configurations.
1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1182 def list_organization_location_discovery_configs(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/discoveryConfigs', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
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.
1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1292 def list_organization_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
Lists file store data profiles for an organization.
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1424 def list_organization_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/fileStoreDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/ docs/creating-templates to learn more.
1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1598 def list_organization_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1816 def list_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse
Lists project data profiles for an organization.
1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1943 def list_organization_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/projectDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2114 def list_organization_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse
Lists table data profiles for an organization.
2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2282 def list_organization_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/tableDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2453 def list_organization_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2798 def list_project_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
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.
3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3059 def list_project_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/ docs/creating-templates to learn more.
3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3280 def list_project_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3533 def list_project_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse
Lists column data profiles for an organization.
3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3669 def list_project_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/columnDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse
Lists Connections in a parent.
3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3808 def list_project_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/connections', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4189 def list_project_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_discovery_configs(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse
Lists discovery configurations.
4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4376 def list_project_location_discovery_configs(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/discoveryConfigs', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDiscoveryConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
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.
4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4703 def list_project_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
Lists file store data profiles for an organization.
4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4835 def list_project_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/fileStoreDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/ docs/creating-templates to learn more.
5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5054 def list_project_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5343 def list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse
Lists project data profiles for an organization.
5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5470 def list_project_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/projectDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5641 def list_project_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse
Lists table data profiles for an organization.
5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5809 def list_project_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/tableDataProfiles', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/ docs/creating-stored-infotypes to learn more.
5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5980 def list_project_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse command.params['parent'] = parent unless parent.nil? command.query['locationId'] = location_id unless location_id.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
341 342 343 344 345 346 347 348 349 350 351 |
# File 'lib/google/apis/dlp_v2/service.rb', line 341 def patch_organization_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
551 552 553 554 555 556 557 558 559 560 561 |
# File 'lib/google/apis/dlp_v2/service.rb', line 551 def patch_organization_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Update a Connection.
782 783 784 785 786 787 788 789 790 791 792 |
# File 'lib/google/apis/dlp_v2/service.rb', line 782 def patch_organization_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest::Representation command.request_object = google_privacy_dlp_v2_update_connection_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1033 def patch_organization_location_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_discovery_config(name, google_privacy_dlp_v2_update_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Updates a discovery configuration.
1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1217 def patch_organization_location_discovery_config(name, google_privacy_dlp_v2_update_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDiscoveryConfigRequest::Representation command.request_object = google_privacy_dlp_v2_update_discovery_config_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1636 def patch_organization_location_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1855 def patch_organization_location_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_update_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2154 def patch_organization_location_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_update_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2493 def patch_organization_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_update_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2836 def patch_project_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3318 def patch_project_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3572 def patch_project_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_update_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
Update a Connection.
3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3843 def patch_project_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest::Representation command.request_object = google_privacy_dlp_v2_update_connection_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more.
4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4227 def patch_project_location_deidentify_template(name, google_privacy_dlp_v2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_deidentify_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_discovery_config(name, google_privacy_dlp_v2_update_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig
Updates a discovery configuration.
4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4411 def patch_project_location_discovery_config(name, google_privacy_dlp_v2_update_discovery_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDiscoveryConfigRequest::Representation command.request_object = google_privacy_dlp_v2_update_discovery_config_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates to learn more.
5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5092 def patch_project_location_inspect_template(name, google_privacy_dlp_v2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest::Representation command.request_object = google_privacy_dlp_v2_update_inspect_template_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/ docs/creating-job-triggers to learn more.
5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5382 def patch_project_location_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest::Representation command.request_object = google_privacy_dlp_v2_update_job_trigger_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5681 def patch_project_location_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_update_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
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.
6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 |
# File 'lib/google/apis/dlp_v2/service.rb', line 6020 def patch_project_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest::Representation command.request_object = google_privacy_dlp_v2_update_stored_info_type_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#redact_project_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/ sensitive-data-protection/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3108 def redact_project_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/image:redact', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest::Representation command.request_object = google_privacy_dlp_v2_redact_image_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#redact_project_location_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/ sensitive-data-protection/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4882 def redact_project_location_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/image:redact', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest::Representation command.request_object = google_privacy_dlp_v2_redact_image_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reidentify_project_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse
Re-identifies content that has been de-identified. See https://cloud.google. com/sensitive-data-protection/docs/pseudonymization#re- identification_in_free_text_code_example to learn more.
2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2626 def reidentify_project_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/content:reidentify', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest::Representation command.request_object = google_privacy_dlp_v2_reidentify_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reidentify_project_location_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse
Re-identifies content that has been de-identified. See https://cloud.google. com/sensitive-data-protection/docs/pseudonymization#re- identification_in_free_text_code_example to learn more.
4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4017 def reidentify_project_location_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/content:reidentify', ) command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest::Representation command.request_object = google_privacy_dlp_v2_reidentify_content_request_object command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_organization_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse
Searches for Connections in a parent.
822 823 824 825 826 827 828 829 830 831 832 833 |
# File 'lib/google/apis/dlp_v2/service.rb', line 822 def search_organization_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/connections:search', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse
Searches for Connections in a parent.
3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3883 def search_project_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/connections:search', ) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |