2023-01-11
▼ ▲ translate.projects.locations.datasets.examples.list
Description: Lists sentence pairs in the dataset.
Parameters:
pageToken
Location: query
Type: string
Description: Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.
filter
Description: Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN`
Location: query
Type: string
pageSize
Description: Optional. Requested page size. The server can return fewer results than requested.
Format: int32
Location: query
Type: integer
parent
Description: Required. Name of the parent dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
Location: path
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$
Required: Yes
HTTP Method: GET
Path: v3/{+parent}/examples
Scopes:
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/examples
Parameter Order: parent
▼ ▲ translate.projects.locations.datasets.list
Description: Lists datasets.
Scopes:
Parameters:
pageSize
Location: query
Format: int32
Description: Optional. Requested page size. The server can return fewer results than requested.
Type: integer
parent
Pattern: ^projects/[^/]+/locations/[^/]+$
Location: path
Required: Yes
Description: Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`
Type: string
pageToken
Location: query
Type: string
Description: Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListDatasets call.
HTTP Method: GET
Parameter Order: parent
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/datasets
Path: v3/{+parent}/datasets
▼ ▲ translate.projects.locations.datasets.delete
Scopes:
Description: Deletes a dataset and all of its contents.
Parameter Order: name
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}
Path: v3/{+name}
HTTP Method: DELETE
Parameters:
name
Description: Required. The name of the dataset to delete.
Location: path
Pattern: ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$
Type: string
Required: Yes
▼ ▲ translate.projects.locations.datasets.get
Parameters:
name
Required: Yes
Location: path
Type: string
Description: Required. The resource name of the dataset to retrieve.
Pattern: ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}
Path: v3/{+name}
Description: Gets a Dataset.
Parameter Order: name
Scopes:
HTTP Method: GET
▼ ▲ translate.projects.locations.datasets.exportData
Path: v3/{+dataset}:exportData
HTTP Method: POST
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:exportData
Description: Exports dataset's data to the provided output location.
Scopes:
Parameter Order: dataset
Parameters:
dataset
Description: Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$
Location: path
Type: string
▼ ▲ translate.projects.locations.datasets.importData
Scopes:
Parameters:
dataset
Required: Yes
Type: string
Location: path
Description: Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`
Pattern: ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$
HTTP Method: POST
Parameter Order: dataset
Description: Import sentence pairs into translation Dataset.
Path: v3/{+dataset}:importData
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:importData
▼ ▲ translate.projects.locations.datasets.create
Description: Creates a Dataset.
Parameters:
parent
Type: string
Required: Yes
Location: path
Pattern: ^projects/[^/]+/locations/[^/]+$
Description: Required. The project name.
Parameter Order: parent
Path: v3/{+parent}/datasets
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/datasets
Scopes:
HTTP Method: POST
▼ ▲ translate.projects.locations.models.delete
Parameter Order: name
Scopes:
Path: v3/{+name}
Parameters:
name
Description: Required. The name of the model to delete.
Type: string
Pattern: ^projects/[^/]+/locations/[^/]+/models/[^/]+$
Required: Yes
Location: path
Description: Deletes a model.
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId}
HTTP Method: DELETE
▼ ▲ translate.projects.locations.models.get
Path: v3/{+name}
HTTP Method: GET
Description: Gets a model.
Parameters:
name
Location: path
Required: Yes
Pattern: ^projects/[^/]+/locations/[^/]+/models/[^/]+$
Description: Required. The resource name of the model to retrieve.
Type: string
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId}
Scopes:
Parameter Order: name
▼ ▲ translate.projects.locations.models.create
Path: v3/{+parent}/models
Scopes:
Description: Creates a Model.
Parameter Order: parent
HTTP Method: POST
Parameters:
parent
Required: Yes
Location: path
Type: string
Description: Required. The project name, in form of `projects/{project}/locations/{location}`
Pattern: ^projects/[^/]+/locations/[^/]+$
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/models
▼ ▲ translate.projects.locations.models.list
Scopes:
HTTP Method: GET
Path: v3/{+parent}/models
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/models
Parameter Order: parent
Description: Lists models.
Parameters:
filter
Location: query
Type: string
Description: Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id}`
pageToken
Type: string
Description: Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListModels call.
Location: query
parent
Required: Yes
Description: Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`
Pattern: ^projects/[^/]+/locations/[^/]+$
Type: string
Location: path
pageSize
Type: integer
Description: Optional. Requested page size. The server can return fewer results than requested.
Location: query
Format: int32