Cloud Asset V1 API - Module Google::Cloud::Asset::V1::AssetService::Paths (v0.23.0)

Reference documentation and code samples for the Cloud Asset V1 API module Google::Cloud::Asset::V1::AssetService::Paths.

Path helper methods for the AssetService API.

Methods

#feed_path

def feed_path(project:, feed:) -> ::String
def feed_path(folder:, feed:) -> ::String
def feed_path(organization:, feed:) -> ::String

Create a fully-qualified Feed resource string.

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

projects/{project}/feeds/{feed}

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

folders/{folder}/feeds/{feed}

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

organizations/{organization}/feeds/{feed}

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

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

#saved_query_path

def saved_query_path(project:, saved_query:) -> ::String
def saved_query_path(folder:, saved_query:) -> ::String
def saved_query_path(organization:, saved_query:) -> ::String

Create a fully-qualified SavedQuery resource string.

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

projects/{project}/savedQueries/{saved_query}

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

folders/{folder}/savedQueries/{saved_query}

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

organizations/{organization}/savedQueries/{saved_query}

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