Cloud Data Loss Prevention (DLP) V2 API - Module Google::Cloud::Dlp::V2::DlpService::Paths (v0.11.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API module Google::Cloud::Dlp::V2::DlpService::Paths.

Path helper methods for the DlpService API.

Methods

#deidentify_template_path

def deidentify_template_path(organization:, deidentify_template:) -> ::String
def deidentify_template_path(project:, deidentify_template:) -> ::String
def deidentify_template_path(organization:, location:, deidentify_template:) -> ::String
def deidentify_template_path(project:, location:, deidentify_template:) -> ::String

Create a fully-qualified DeidentifyTemplate resource string.

Overloads
def deidentify_template_path(organization:, deidentify_template:) -> ::String
The resource will be in the following format:

organizations/{organization}/deidentifyTemplates/{deidentify_template}

Parameters
  • organization (String)
  • deidentify_template (String)
def deidentify_template_path(project:, deidentify_template:) -> ::String
The resource will be in the following format:

projects/{project}/deidentifyTemplates/{deidentify_template}

Parameters
  • project (String)
  • deidentify_template (String)
def deidentify_template_path(organization:, location:, deidentify_template:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}

Parameters
  • organization (String)
  • location (String)
  • deidentify_template (String)
def deidentify_template_path(project:, location:, deidentify_template:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}

Parameters
  • project (String)
  • location (String)
  • deidentify_template (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#dlp_job_path

def dlp_job_path(project:, dlp_job:) -> ::String
def dlp_job_path(project:, location:, dlp_job:) -> ::String

Create a fully-qualified DlpJob resource string.

Overloads
def dlp_job_path(project:, dlp_job:) -> ::String
The resource will be in the following format:

projects/{project}/dlpJobs/{dlp_job}

Parameters
  • project (String)
  • dlp_job (String)
def dlp_job_path(project:, location:, dlp_job:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/dlpJobs/{dlp_job}

Parameters
  • project (String)
  • location (String)
  • dlp_job (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#inspect_template_path

def inspect_template_path(organization:, inspect_template:) -> ::String
def inspect_template_path(project:, inspect_template:) -> ::String
def inspect_template_path(organization:, location:, inspect_template:) -> ::String
def inspect_template_path(project:, location:, inspect_template:) -> ::String

Create a fully-qualified InspectTemplate resource string.

Overloads
def inspect_template_path(organization:, inspect_template:) -> ::String
The resource will be in the following format:

organizations/{organization}/inspectTemplates/{inspect_template}

Parameters
  • organization (String)
  • inspect_template (String)
def inspect_template_path(project:, inspect_template:) -> ::String
The resource will be in the following format:

projects/{project}/inspectTemplates/{inspect_template}

Parameters
  • project (String)
  • inspect_template (String)
def inspect_template_path(organization:, location:, inspect_template:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}

Parameters
  • organization (String)
  • location (String)
  • inspect_template (String)
def inspect_template_path(project:, location:, inspect_template:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/inspectTemplates/{inspect_template}

Parameters
  • project (String)
  • location (String)
  • inspect_template (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#job_trigger_path

def job_trigger_path(project:, job_trigger:) -> ::String
def job_trigger_path(project:, location:, job_trigger:) -> ::String

Create a fully-qualified JobTrigger resource string.

Overloads
def job_trigger_path(project:, job_trigger:) -> ::String
The resource will be in the following format:

projects/{project}/jobTriggers/{job_trigger}

Parameters
  • project (String)
  • job_trigger (String)
def job_trigger_path(project:, location:, job_trigger:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/jobTriggers/{job_trigger}

Parameters
  • project (String)
  • location (String)
  • job_trigger (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#organization_location_path

def organization_location_path(organization:, location:) -> ::String

Create a fully-qualified OrganizationLocation resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}

Parameters
  • organization (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#organization_path

def organization_path(organization:) -> ::String

Create a fully-qualified Organization resource string.

The resource will be in the following format:

organizations/{organization}

Parameter
  • organization (String)
Returns
  • (::String)

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)

#stored_info_type_path

def stored_info_type_path(organization:, stored_info_type:) -> ::String
def stored_info_type_path(project:, stored_info_type:) -> ::String
def stored_info_type_path(organization:, location:, stored_info_type:) -> ::String
def stored_info_type_path(project:, location:, stored_info_type:) -> ::String

Create a fully-qualified StoredInfoType resource string.

Overloads
def stored_info_type_path(organization:, stored_info_type:) -> ::String
The resource will be in the following format:

organizations/{organization}/storedInfoTypes/{stored_info_type}

Parameters
  • organization (String)
  • stored_info_type (String)
def stored_info_type_path(project:, stored_info_type:) -> ::String
The resource will be in the following format:

projects/{project}/storedInfoTypes/{stored_info_type}

Parameters
  • project (String)
  • stored_info_type (String)
def stored_info_type_path(organization:, location:, stored_info_type:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/storedInfoTypes/{stored_info_type}

Parameters
  • organization (String)
  • location (String)
  • stored_info_type (String)
def stored_info_type_path(project:, location:, stored_info_type:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/storedInfoTypes/{stored_info_type}

Parameters
  • project (String)
  • location (String)
  • stored_info_type (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)