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 the 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 the 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_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_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.
3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3400 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.
5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5181 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.
2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2920 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.
4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4499 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.
913 914 915 916 917 918 919 920 921 922 923 |
# File 'lib/google/apis/dlp_v2/service.rb', line 913 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.
1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1116 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.
1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1519 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.
1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1725 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.
2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2038 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.
2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2377 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.
2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2719 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.
2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2965 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.
3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3201 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.
3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3442 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.
3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3754 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.
4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4114 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.
4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4317 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.
4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4544 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.
4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4982 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.
5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5223 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.
5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5572 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.
5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5911 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.
2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2585 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.
3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3980 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.
948 949 950 951 952 953 954 955 956 |
# File 'lib/google/apis/dlp_v2/service.rb', line 948 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.
1149 1150 1151 1152 1153 1154 1155 1156 1157 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1149 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.
1373 1374 1375 1376 1377 1378 1379 1380 1381 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1373 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.
1554 1555 1556 1557 1558 1559 1560 1561 1562 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1554 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.
1759 1760 1761 1762 1763 1764 1765 1766 1767 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1759 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.
2073 2074 2075 2076 2077 2078 2079 2080 2081 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2073 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.
2234 2235 2236 2237 2238 2239 2240 2241 2242 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2234 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.
2412 2413 2414 2415 2416 2417 2418 2419 2420 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2412 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.
2754 2755 2756 2757 2758 2759 2760 2761 2762 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2754 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.
3001 3002 3003 3004 3005 3006 3007 3008 3009 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3001 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.
3236 3237 3238 3239 3240 3241 3242 3243 3244 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3236 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.
3476 3477 3478 3479 3480 3481 3482 3483 3484 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3476 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.
3787 3788 3789 3790 3791 3792 3793 3794 3795 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3787 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.
4149 4150 4151 4152 4153 4154 4155 4156 4157 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4149 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.
4350 4351 4352 4353 4354 4355 4356 4357 4358 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4350 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.
4580 4581 4582 4583 4584 4585 4586 4587 4588 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4580 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.
4791 4792 4793 4794 4795 4796 4797 4798 4799 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4791 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.
5017 5018 5019 5020 5021 5022 5023 5024 5025 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5017 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.
5257 5258 5259 5260 5261 5262 5263 5264 5265 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5257 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.
5607 5608 5609 5610 5611 5612 5613 5614 5615 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5607 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.
5768 5769 5770 5771 5772 5773 5774 5775 5776 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5768 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.
5946 5947 5948 5949 5950 5951 5952 5953 5954 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5946 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.
4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4612 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.
981 982 983 984 985 986 987 988 989 |
# File 'lib/google/apis/dlp_v2/service.rb', line 981 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.
1180 1181 1182 1183 1184 1185 1186 1187 1188 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1180 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.
1404 1405 1406 1407 1408 1409 1410 1411 1412 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1404 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.
1587 1588 1589 1590 1591 1592 1593 1594 1595 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1587 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.
1791 1792 1793 1794 1795 1796 1797 1798 1799 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1791 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.
1935 1936 1937 1938 1939 1940 1941 1942 1943 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1935 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.
2106 2107 2108 2109 2110 2111 2112 2113 2114 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2106 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.
2265 2266 2267 2268 2269 2270 2271 2272 2273 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2265 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.
2445 2446 2447 2448 2449 2450 2451 2452 2453 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2445 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.
2787 2788 2789 2790 2791 2792 2793 2794 2795 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2787 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.
3033 3034 3035 3036 3037 3038 3039 3040 3041 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3033 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.
3269 3270 3271 3272 3273 3274 3275 3276 3277 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3269 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.
3508 3509 3510 3511 3512 3513 3514 3515 3516 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3508 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.
3652 3653 3654 3655 3656 3657 3658 3659 3660 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3652 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.
3818 3819 3820 3821 3822 3823 3824 3825 3826 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3818 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.
4182 4183 4184 4185 4186 4187 4188 4189 4190 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4182 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.
4381 4382 4383 4384 4385 4386 4387 4388 4389 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4381 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.
4646 4647 4648 4649 4650 4651 4652 4653 4654 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4646 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.
4822 4823 4824 4825 4826 4827 4828 4829 4830 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4822 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.
5050 5051 5052 5053 5054 5055 5056 5057 5058 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5050 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.
5289 5290 5291 5292 5293 5294 5295 5296 5297 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5289 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.
5469 5470 5471 5472 5473 5474 5475 5476 5477 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5469 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.
5640 5641 5642 5643 5644 5645 5646 5647 5648 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5640 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.
5799 5800 5801 5802 5803 5804 5805 5806 5807 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5799 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.
5979 5980 5981 5982 5983 5984 5985 5986 5987 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5979 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.
4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4679 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.
5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5323 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,
2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2631 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,
4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4026 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 the 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 the 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_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. Use SearchConnections to see all connections within an organization.
790 791 792 793 794 795 796 797 798 799 800 801 |
# File 'lib/google/apis/dlp_v2/service.rb', line 790 def list_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', ) 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_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.
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1039 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.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1226 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.
1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1336 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.
1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1471 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.
1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1645 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.
1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1863 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.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1990 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.
2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2161 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.
2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2329 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.
2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2500 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.
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2845 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.
3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3106 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.
3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3327 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.
3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3580 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.
3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3716 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. Use SearchConnections to see all connections within an organization.
3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3858 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.
4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4240 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.
4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4427 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.
4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4754 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.
4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4889 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.
5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5108 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.
5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5397 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.
5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5524 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.
5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5695 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.
5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5863 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.
6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 |
# File 'lib/google/apis/dlp_v2/service.rb', line 6034 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.
825 826 827 828 829 830 831 832 833 834 835 |
# File 'lib/google/apis/dlp_v2/service.rb', line 825 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.
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1077 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.
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1261 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.
1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1683 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.
1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 |
# File 'lib/google/apis/dlp_v2/service.rb', line 1902 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.
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2201 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.
2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2540 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.
2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2883 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.
3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3365 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.
3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3619 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.
3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3893 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.
4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4278 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.
4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4462 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.
5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5146 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.
5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5436 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.
5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 |
# File 'lib/google/apis/dlp_v2/service.rb', line 5735 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.
6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 |
# File 'lib/google/apis/dlp_v2/service.rb', line 6074 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.
3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3155 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.
4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4936 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.
2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 |
# File 'lib/google/apis/dlp_v2/service.rb', line 2673 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.
4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 |
# File 'lib/google/apis/dlp_v2/service.rb', line 4068 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.
866 867 868 869 870 871 872 873 874 875 876 877 |
# File 'lib/google/apis/dlp_v2/service.rb', line 866 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.
3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 |
# File 'lib/google/apis/dlp_v2/service.rb', line 3934 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 |