Path helper methods for the DataplexService API.
Methods
#asset_path
def asset_path(project:, location:, lake:, zone:, asset:) -> ::String
Create a fully-qualified Asset resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}
- project (String)
- location (String)
- lake (String)
- zone (String)
- asset (String)
- (::String)
- (::ArgumentError)
#job_path
def job_path(project:, location:, lake:, task:, job:) -> ::String
Create a fully-qualified Job resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/lakes/{lake}/tasks/{task}/jobs/{job}
- project (String)
- location (String)
- lake (String)
- task (String)
- job (String)
- (::String)
- (::ArgumentError)
#lake_path
def lake_path(project:, location:, lake:) -> ::String
Create a fully-qualified Lake resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/lakes/{lake}
- project (String)
- location (String)
- lake (String)
- (::String)
- (::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}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#task_path
def task_path(project:, location:, lake:, task:) -> ::String
Create a fully-qualified Task resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/lakes/{lake}/tasks/{task}
- project (String)
- location (String)
- lake (String)
- task (String)
- (::String)
- (::ArgumentError)
#zone_path
def zone_path(project:, location:, lake:, zone:) -> ::String
Create a fully-qualified Zone resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}
- project (String)
- location (String)
- lake (String)
- zone (String)
- (::String)
- (::ArgumentError)