Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::GenAiTuningService::Paths.
Path helper methods for the GenAiTuningService API.
Methods
#context_path
def context_path(project:, location:, metadata_store:, context:) -> ::String
Create a fully-qualified Context resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}
- project (String)
- location (String)
- metadata_store (String)
- context (String)
- (::String)
- (::ArgumentError)
#endpoint_path
def endpoint_path(project:, location:, endpoint:) -> ::String
def endpoint_path(project:, location:, publisher:, model:) -> ::String
Create a fully-qualified Endpoint resource string.
def endpoint_path(project:, location:, endpoint:) -> ::String
projects/{project}/locations/{location}/endpoints/{endpoint}
- project (String)
- location (String)
- endpoint (String)
def endpoint_path(project:, location:, publisher:, model:) -> ::String
projects/{project}/locations/{location}/publishers/{publisher}/models/{model}
- project (String)
- location (String)
- publisher (String)
- model (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)
#model_path
def model_path(project:, location:, model:) -> ::String
Create a fully-qualified Model resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/models/{model}
- project (String)
- location (String)
- model (String)
- (::String)
- (::ArgumentError)
#tuning_job_path
def tuning_job_path(project:, location:, tuning_job:) -> ::String
Create a fully-qualified TuningJob resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/tuningJobs/{tuning_job}
- project (String)
- location (String)
- tuning_job (String)
- (::String)
- (::ArgumentError)