Reference documentation and code samples for the Batch V1 API module Google::Cloud::Batch::V1::BatchService::Paths.
Path helper methods for the BatchService API.
Extended By
Methods
#job_path
def job_path(project:, location:, job:) -> ::String
Create a fully-qualified Job resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/jobs/{job}
- project (String)
- location (String)
- job (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_group_path
def task_group_path(project:, location:, job:, task_group:) -> ::String
Create a fully-qualified TaskGroup resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}
- project (String)
- location (String)
- job (String)
- task_group (String)
- (::String)
- (::ArgumentError)
#task_path
def task_path(project:, location:, job:, task_group:, task:) -> ::String
Create a fully-qualified Task resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}/tasks/{task}
- project (String)
- location (String)
- job (String)
- task_group (String)
- task (String)
- (::String)
- (::ArgumentError)