BigQuery Data Policy Service V1 API - Module Google::Cloud::Bigquery::DataPolicies::V1::DataPolicyService::Paths (v0.5.0)

Reference documentation and code samples for the BigQuery Data Policy Service V1 API module Google::Cloud::Bigquery::DataPolicies::V1::DataPolicyService::Paths.

Path helper methods for the DataPolicyService API.

Methods

#data_policy_path

def data_policy_path(project:, location:, data_policy:) -> ::String

Create a fully-qualified DataPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/dataPolicies/{data_policy}

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