Cloud Pub/Sub V1 API - Module Google::Cloud::PubSub::V1::SchemaService::Paths (v1.3.0)

Reference documentation and code samples for the Cloud Pub/Sub V1 API module Google::Cloud::PubSub::V1::SchemaService::Paths.

Path helper methods for the SchemaService API.

Methods

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

#schema_path

def schema_path(project:, schema:) -> ::String

Create a fully-qualified Schema resource string.

The resource will be in the following format:

projects/{project}/schemas/{schema}

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