Billing V1 API - Module Google::Cloud::Billing::V1::CloudBilling::Paths (v0.17.4)

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

Path helper methods for the CloudBilling API.

Methods

#billing_account_path

def billing_account_path(billing_account:) -> ::String
def billing_account_path(organization:, billing_account:) -> ::String

Create a fully-qualified BillingAccount resource string.

Overloads
def billing_account_path(billing_account:) -> ::String
The resource will be in the following format:

billingAccounts/{billing_account}

Parameter
  • billing_account (String)
def billing_account_path(organization:, billing_account:) -> ::String
The resource will be in the following format:

organizations/{organization}/billingAccounts/{billing_account}

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

#project_billing_info_path

def project_billing_info_path(project:) -> ::String

Create a fully-qualified ProjectBillingInfo resource string.

The resource will be in the following format:

projects/{project}/billingInfo

Parameter
  • project (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)