Module Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenter::Paths (v0.7.5)

Path helper methods for the SecurityCenter API.

Methods

#finding_path

def finding_path(organization:, source:, finding:) -> ::String
def finding_path(folder:, source:, finding:) -> ::String
def finding_path(project:, source:, 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(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(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)
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)

#notification_config_path

def notification_config_path(organization:, notification_config:) -> ::String

Create a fully-qualified NotificationConfig resource string.

The resource will be in the following format:

organizations/{organization}/notificationConfigs/{notification_config}

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

#organization_settings_path

def organization_settings_path(organization:) -> ::String

Create a fully-qualified OrganizationSettings resource string.

The resource will be in the following format:

organizations/{organization}/organizationSettings

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)

#security_marks_path

def security_marks_path(organization:, asset:) -> ::String
def security_marks_path(organization:, source:, finding:) -> ::String
def security_marks_path(folder:, asset:) -> ::String
def security_marks_path(project:, asset:) -> ::String
def security_marks_path(folder:, source:, finding:) -> ::String
def security_marks_path(project:, source:, 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(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(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(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(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)
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)

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