BigQuery Storage V1 API - Module Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Paths (v0.11.1)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the BigQuery Storage V1 API module Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Paths.

Path helper methods for the BigQueryRead 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)

#read_session_path

def read_session_path(project:, location:, session:) -> ::String

Create a fully-qualified ReadSession resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sessions/{session}

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

#read_stream_path

def read_stream_path(project:, location:, session:, stream:) -> ::String

Create a fully-qualified ReadStream resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sessions/{session}/streams/{stream}

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

#table_path

def table_path(project:, dataset:, table:) -> ::String

Create a fully-qualified Table resource string.

The resource will be in the following format:

projects/{project}/datasets/{dataset}/tables/{table}

Parameters
  • project (String)
  • dataset (String)
  • table (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)