Recommender V1 API - Module Google::Cloud::Recommender::V1::Recommender::Paths (v0.9.0)

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

Path helper methods for the Recommender API.

Methods

#insight_path

def insight_path(project:, location:, insight_type:, insight:) -> ::String
def insight_path(billing_account:, location:, insight_type:, insight:) -> ::String
def insight_path(folder:, location:, insight_type:, insight:) -> ::String
def insight_path(organization:, location:, insight_type:, insight:) -> ::String

Create a fully-qualified Insight resource string.

Overloads
def insight_path(project:, location:, insight_type:, insight:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/insightTypes/{insight_type}/insights/{insight}

Parameters
  • project (String)
  • location (String)
  • insight_type (String)
  • insight (String)
def insight_path(billing_account:, location:, insight_type:, insight:) -> ::String
The resource will be in the following format:

billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}/insights/{insight}

Parameters
  • billing_account (String)
  • location (String)
  • insight_type (String)
  • insight (String)
def insight_path(folder:, location:, insight_type:, insight:) -> ::String
The resource will be in the following format:

folders/{folder}/locations/{location}/insightTypes/{insight_type}/insights/{insight}

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

organizations/{organization}/locations/{location}/insightTypes/{insight_type}/insights/{insight}

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

#insight_type_path

def insight_type_path(project:, location:, insight_type:) -> ::String
def insight_type_path(billing_account:, location:, insight_type:) -> ::String
def insight_type_path(folder:, location:, insight_type:) -> ::String
def insight_type_path(organization:, location:, insight_type:) -> ::String

Create a fully-qualified InsightType resource string.

Overloads
def insight_type_path(project:, location:, insight_type:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/insightTypes/{insight_type}

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

billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}

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

folders/{folder}/locations/{location}/insightTypes/{insight_type}

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

organizations/{organization}/locations/{location}/insightTypes/{insight_type}

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

#recommendation_path

def recommendation_path(project:, location:, recommender:, recommendation:) -> ::String
def recommendation_path(billing_account:, location:, recommender:, recommendation:) -> ::String
def recommendation_path(folder:, location:, recommender:, recommendation:) -> ::String
def recommendation_path(organization:, location:, recommender:, recommendation:) -> ::String

Create a fully-qualified Recommendation resource string.

Overloads
def recommendation_path(project:, location:, recommender:, recommendation:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}

Parameters
  • project (String)
  • location (String)
  • recommender (String)
  • recommendation (String)
def recommendation_path(billing_account:, location:, recommender:, recommendation:) -> ::String
The resource will be in the following format:

billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}

Parameters
  • billing_account (String)
  • location (String)
  • recommender (String)
  • recommendation (String)
def recommendation_path(folder:, location:, recommender:, recommendation:) -> ::String
The resource will be in the following format:

folders/{folder}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}

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

organizations/{organization}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}

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

#recommender_path

def recommender_path(project:, location:, recommender:) -> ::String
def recommender_path(billing_account:, location:, recommender:) -> ::String
def recommender_path(folder:, location:, recommender:) -> ::String
def recommender_path(organization:, location:, recommender:) -> ::String

Create a fully-qualified Recommender resource string.

Overloads
def recommender_path(project:, location:, recommender:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/recommenders/{recommender}

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

billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}

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

folders/{folder}/locations/{location}/recommenders/{recommender}

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

organizations/{organization}/locations/{location}/recommenders/{recommender}

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