Observability V1 API - Module Google::Cloud::Observability::V1::Observability::Paths (v0.1.0)

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

Path helper methods for the Observability API.

Methods

#bucket_path

def bucket_path(project:, location:, bucket:) -> ::String

Create a fully-qualified Bucket resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/buckets/{bucket}

Parameters
  • project (String)
  • location (String)
  • bucket (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#dataset_path

def dataset_path(project:, location:, bucket:, dataset:) -> ::String

Create a fully-qualified Dataset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/buckets/{bucket}/datasets/{dataset}

Parameters
  • project (String)
  • location (String)
  • bucket (String)
  • dataset (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)
def link_path(project:, location:, bucket:, dataset:, link:) -> ::String

Create a fully-qualified Link resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/buckets/{bucket}/datasets/{dataset}/links/{link}

Parameters
  • project (String)
  • location (String)
  • bucket (String)
  • dataset (String)
  • link (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#scope_path

def scope_path(project:, location:, scope:) -> ::String

Create a fully-qualified Scope resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/scopes/{scope}

Parameters
  • project (String)
  • location (String)
  • scope (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#settings_path

def settings_path(project:, location:) -> ::String
def settings_path(organization:, location:) -> ::String
def settings_path(folder:, location:) -> ::String

Create a fully-qualified Settings resource string.

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

projects/{project}/locations/{location}/settings

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

organizations/{organization}/locations/{location}/settings

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

folders/{folder}/locations/{location}/settings

Parameters
  • folder (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#trace_scope_path

def trace_scope_path(project:, location:, trace_scope:) -> ::String

Create a fully-qualified TraceScope resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/traceScopes/{trace_scope}

Parameters
  • project (String)
  • location (String)
  • trace_scope (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#view_path

def view_path(project:, location:, bucket:, dataset:, view:) -> ::String

Create a fully-qualified View resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/buckets/{bucket}/datasets/{dataset}/views/{view}

Parameters
  • project (String)
  • location (String)
  • bucket (String)
  • dataset (String)
  • view (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)