Module Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Paths (v0.4.6)

Path helper methods for the DataTransferService API.

Methods

#data_source_path

def data_source_path(project:, data_source:) -> ::String
def data_source_path(project:, location:, data_source:) -> ::String

Create a fully-qualified DataSource resource string.

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

projects/{project}/dataSources/{data_source}

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

projects/{project}/locations/{location}/dataSources/{data_source}

Parameters
  • project (String)
  • location (String)
  • data_source (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)

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

#run_path

def run_path(project:, transfer_config:, run:) -> ::String
def run_path(project:, location:, transfer_config:, run:) -> ::String

Create a fully-qualified Run resource string.

Overloads
def run_path(project:, transfer_config:, run:) -> ::String
The resource will be in the following format:

projects/{project}/transferConfigs/{transfer_config}/runs/{run}

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

projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run}

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

#transfer_config_path

def transfer_config_path(project:, transfer_config:) -> ::String
def transfer_config_path(project:, location:, transfer_config:) -> ::String

Create a fully-qualified TransferConfig resource string.

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

projects/{project}/transferConfigs/{transfer_config}

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

projects/{project}/locations/{location}/transferConfigs/{transfer_config}

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