Cloud Asset V1 API - Module Google::Cloud::Asset::V1::AssetService::Paths (v0.18.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)

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