Security Command Center V2 API - Module Google::Cloud::SecurityCenter::V2::SecurityCenter::Paths (v0.1.0)

Reference documentation and code samples for the Security Command Center V2 API module Google::Cloud::SecurityCenter::V2::SecurityCenter::Paths.

Path helper methods for the SecurityCenter API.

Methods

#big_query_export_path

def big_query_export_path(organization:, location:, export:) -> ::String
def big_query_export_path(folder:, location:, export:) -> ::String
def big_query_export_path(project:, location:, export:) -> ::String

Create a fully-qualified BigQueryExport resource string.

Overloads
def big_query_export_path(organization:, location:, export:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/bigQueryExports/{export}

Parameters
  • organization (String)
  • location (String)
  • export (String)
def big_query_export_path(folder:, location:, export:) -> ::String
The resource will be in the following format:

folders/{folder}/locations/{location}/bigQueryExports/{export}

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

projects/{project}/locations/{location}/bigQueryExports/{export}

Parameters
  • project (String)
  • location (String)
  • export (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)

#external_system_path

def external_system_path(organization:, source:, finding:, externalsystem:) -> ::String
def external_system_path(organization:, source:, location:, finding:, externalsystem:) -> ::String
def external_system_path(folder:, source:, finding:, externalsystem:) -> ::String
def external_system_path(folder:, source:, location:, finding:, externalsystem:) -> ::String
def external_system_path(project:, source:, finding:, externalsystem:) -> ::String
def external_system_path(project:, source:, location:, finding:, externalsystem:) -> ::String

Create a fully-qualified ExternalSystem resource string.

Overloads
def external_system_path(organization:, source:, finding:, externalsystem:) -> ::String
The resource will be in the following format:

organizations/{organization}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}

Parameters
  • organization (String)
  • source (String)
  • finding (String)
  • externalsystem (String)
def external_system_path(organization:, source:, location:, finding:, externalsystem:) -> ::String
The resource will be in the following format:

organizations/{organization}/sources/{source}/locations/{location}/findings/{finding}/externalSystems/{externalsystem}

Parameters
  • organization (String)
  • source (String)
  • location (String)
  • finding (String)
  • externalsystem (String)
def external_system_path(folder:, source:, finding:, externalsystem:) -> ::String
The resource will be in the following format:

folders/{folder}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}

Parameters
  • folder (String)
  • source (String)
  • finding (String)
  • externalsystem (String)
def external_system_path(folder:, source:, location:, finding:, externalsystem:) -> ::String
The resource will be in the following format:

folders/{folder}/sources/{source}/locations/{location}/findings/{finding}/externalSystems/{externalsystem}

Parameters
  • folder (String)
  • source (String)
  • location (String)
  • finding (String)
  • externalsystem (String)
def external_system_path(project:, source:, finding:, externalsystem:) -> ::String
The resource will be in the following format:

projects/{project}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}

Parameters
  • project (String)
  • source (String)
  • finding (String)
  • externalsystem (String)
def external_system_path(project:, source:, location:, finding:, externalsystem:) -> ::String
The resource will be in the following format:

projects/{project}/sources/{source}/locations/{location}/findings/{finding}/externalSystems/{externalsystem}

Parameters
  • project (String)
  • source (String)
  • location (String)
  • finding (String)
  • externalsystem (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#finding_path

def finding_path(organization:, source:, finding:) -> ::String
def finding_path(organization:, source:, location:, finding:) -> ::String
def finding_path(folder:, source:, finding:) -> ::String
def finding_path(folder:, source:, location:, finding:) -> ::String
def finding_path(project:, source:, finding:) -> ::String
def finding_path(project:, source:, location:, finding:) -> ::String

Create a fully-qualified Finding resource string.

Overloads
def finding_path(organization:, source:, finding:) -> ::String
The resource will be in the following format:

organizations/{organization}/sources/{source}/findings/{finding}

Parameters
  • organization (String)
  • source (String)
  • finding (String)
def finding_path(organization:, source:, location:, finding:) -> ::String
The resource will be in the following format:

organizations/{organization}/sources/{source}/locations/{location}/findings/{finding}

Parameters
  • organization (String)
  • source (String)
  • location (String)
  • finding (String)
def finding_path(folder:, source:, finding:) -> ::String
The resource will be in the following format:

folders/{folder}/sources/{source}/findings/{finding}

Parameters
  • folder (String)
  • source (String)
  • finding (String)
def finding_path(folder:, source:, location:, finding:) -> ::String
The resource will be in the following format:

folders/{folder}/sources/{source}/locations/{location}/findings/{finding}

Parameters
  • folder (String)
  • source (String)
  • location (String)
  • finding (String)
def finding_path(project:, source:, finding:) -> ::String
The resource will be in the following format:

projects/{project}/sources/{source}/findings/{finding}

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

projects/{project}/sources/{source}/locations/{location}/findings/{finding}

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

#folder_location_path

def folder_location_path(folder:, location:) -> ::String

Create a fully-qualified FolderLocation resource string.

The resource will be in the following format:

folders/{folder}/locations/{location}

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

#folder_path

def folder_path(folder:) -> ::String

Create a fully-qualified Folder resource string.

The resource will be in the following format:

folders/{folder}

Parameter
  • folder (String)
Returns
  • (::String)

#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)

#mute_config_path

def mute_config_path(organization:, mute_config:) -> ::String
def mute_config_path(organization:, location:, mute_config:) -> ::String
def mute_config_path(folder:, mute_config:) -> ::String
def mute_config_path(folder:, location:, mute_config:) -> ::String
def mute_config_path(project:, mute_config:) -> ::String
def mute_config_path(project:, location:, mute_config:) -> ::String

Create a fully-qualified MuteConfig resource string.

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

organizations/{organization}/muteConfigs/{mute_config}

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

organizations/{organization}/locations/{location}/muteConfigs/{mute_config}

Parameters
  • organization (String)
  • location (String)
  • mute_config (String)
def mute_config_path(folder:, mute_config:) -> ::String
The resource will be in the following format:

folders/{folder}/muteConfigs/{mute_config}

Parameters
  • folder (String)
  • mute_config (String)
def mute_config_path(folder:, location:, mute_config:) -> ::String
The resource will be in the following format:

folders/{folder}/locations/{location}/muteConfigs/{mute_config}

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

projects/{project}/muteConfigs/{mute_config}

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

projects/{project}/locations/{location}/muteConfigs/{mute_config}

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

#notification_config_path

def notification_config_path(organization:, location:, notification_config:) -> ::String
def notification_config_path(folder:, location:, notification_config:) -> ::String
def notification_config_path(project:, location:, notification_config:) -> ::String

Create a fully-qualified NotificationConfig resource string.

Overloads
def notification_config_path(organization:, location:, notification_config:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/notificationConfigs/{notification_config}

Parameters
  • organization (String)
  • location (String)
  • notification_config (String)
def notification_config_path(folder:, location:, notification_config:) -> ::String
The resource will be in the following format:

folders/{folder}/locations/{location}/notificationConfigs/{notification_config}

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

projects/{project}/locations/{location}/notificationConfigs/{notification_config}

Parameters
  • project (String)
  • location (String)
  • notification_config (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)

#policy_path

def policy_path(organization:, constraint_name:) -> ::String
def policy_path(folder:, constraint_name:) -> ::String
def policy_path(project:, constraint_name:) -> ::String

Create a fully-qualified Policy resource string.

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

organizations/{organization}/policies/{constraint_name}

Parameters
  • organization (String)
  • constraint_name (String)
def policy_path(folder:, constraint_name:) -> ::String
The resource will be in the following format:

folders/{folder}/policies/{constraint_name}

Parameters
  • folder (String)
  • constraint_name (String)
def policy_path(project:, constraint_name:) -> ::String
The resource will be in the following format:

projects/{project}/policies/{constraint_name}

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

#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)

#resource_value_config_path

def resource_value_config_path(organization:, resource_value_config:) -> ::String

Create a fully-qualified ResourceValueConfig resource string.

The resource will be in the following format:

organizations/{organization}/resourceValueConfigs/{resource_value_config}

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

#security_marks_path

def security_marks_path(organization:, asset:) -> ::String
def security_marks_path(organization:, source:, finding:) -> ::String
def security_marks_path(organization:, source:, location:, finding:) -> ::String
def security_marks_path(folder:, asset:) -> ::String
def security_marks_path(folder:, source:, finding:) -> ::String
def security_marks_path(folder:, source:, location:, finding:) -> ::String
def security_marks_path(project:, asset:) -> ::String
def security_marks_path(project:, source:, finding:) -> ::String
def security_marks_path(project:, source:, location:, finding:) -> ::String

Create a fully-qualified SecurityMarks resource string.

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

organizations/{organization}/assets/{asset}/securityMarks

Parameters
  • organization (String)
  • asset (String)
def security_marks_path(organization:, source:, finding:) -> ::String
The resource will be in the following format:

organizations/{organization}/sources/{source}/findings/{finding}/securityMarks

Parameters
  • organization (String)
  • source (String)
  • finding (String)
def security_marks_path(organization:, source:, location:, finding:) -> ::String
The resource will be in the following format:

organizations/{organization}/sources/{source}/locations/{location}/findings/{finding}/securityMarks

Parameters
  • organization (String)
  • source (String)
  • location (String)
  • finding (String)
def security_marks_path(folder:, asset:) -> ::String
The resource will be in the following format:

folders/{folder}/assets/{asset}/securityMarks

Parameters
  • folder (String)
  • asset (String)
def security_marks_path(folder:, source:, finding:) -> ::String
The resource will be in the following format:

folders/{folder}/sources/{source}/findings/{finding}/securityMarks

Parameters
  • folder (String)
  • source (String)
  • finding (String)
def security_marks_path(folder:, source:, location:, finding:) -> ::String
The resource will be in the following format:

folders/{folder}/sources/{source}/locations/{location}/findings/{finding}/securityMarks

Parameters
  • folder (String)
  • source (String)
  • location (String)
  • finding (String)
def security_marks_path(project:, asset:) -> ::String
The resource will be in the following format:

projects/{project}/assets/{asset}/securityMarks

Parameters
  • project (String)
  • asset (String)
def security_marks_path(project:, source:, finding:) -> ::String
The resource will be in the following format:

projects/{project}/sources/{source}/findings/{finding}/securityMarks

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

projects/{project}/sources/{source}/locations/{location}/findings/{finding}/securityMarks

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

#simulation_path

def simulation_path(organization:, simulation:) -> ::String

Create a fully-qualified Simulation resource string.

The resource will be in the following format:

organizations/{organization}/simulations/{simulation}

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

#source_path

def source_path(organization:, source:) -> ::String
def source_path(folder:, source:) -> ::String
def source_path(project:, source:) -> ::String

Create a fully-qualified Source resource string.

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

organizations/{organization}/sources/{source}

Parameters
  • organization (String)
  • source (String)
def source_path(folder:, source:) -> ::String
The resource will be in the following format:

folders/{folder}/sources/{source}

Parameters
  • folder (String)
  • source (String)
def source_path(project:, source:) -> ::String
The resource will be in the following format:

projects/{project}/sources/{source}

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

#table_data_profile_path

def table_data_profile_path(project:, table_profile:) -> ::String
def table_data_profile_path(project:, location:, table_profile:) -> ::String

Create a fully-qualified TableDataProfile resource string.

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

projects/{project}/tableProfiles/{table_profile}

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

projects/{project}/locations/{location}/tableProfiles/{table_profile}

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

#topic_path

def topic_path(project:, topic:) -> ::String

Create a fully-qualified Topic resource string.

The resource will be in the following format:

projects/{project}/topics/{topic}

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

#valued_resource_path

def valued_resource_path(organization:, simulation:, valued_resource:) -> ::String

Create a fully-qualified ValuedResource resource string.

The resource will be in the following format:

organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}

Parameters
  • organization (String)
  • simulation (String)
  • valued_resource (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)