Cloud Logging V2 API - Module Google::Cloud::Logging::V2::LoggingService::Paths (v1.0.0)

Reference documentation and code samples for the Cloud Logging V2 API module Google::Cloud::Logging::V2::LoggingService::Paths.

Path helper methods for the LoggingService API.

Methods

#billing_account_path

def billing_account_path(billing_account:) -> ::String

Create a fully-qualified BillingAccount resource string.

The resource will be in the following format:

billingAccounts/{billing_account}

Parameter
  • billing_account (String)
Returns
  • (::String)

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

#log_path

def log_path(project:, log:) -> ::String
def log_path(organization:, log:) -> ::String
def log_path(folder:, log:) -> ::String
def log_path(billing_account:, log:) -> ::String

Create a fully-qualified Log resource string.

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

projects/{project}/logs/{log}

Parameters
  • project (String)
  • log (String)
def log_path(organization:, log:) -> ::String
The resource will be in the following format:

organizations/{organization}/logs/{log}

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

folders/{folder}/logs/{log}

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

billingAccounts/{billing_account}/logs/{log}

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