2023-12-05
▼ ▲ translate.projects.locations.adaptiveMtTranslate
Path: v3/{+parent}:adaptiveMtTranslate
Flat Path: v3/projects/{projectsId}/locations/{locationsId}:adaptiveMtTranslate
HTTP Method: POST
Parameters:
parent
Description: Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`.
Pattern: ^projects/[^/]+/locations/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: parent
Scopes:
Description: Translate text using Adaptive MT.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.create
Path: v3/{+parent}/adaptiveMtDatasets
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets
HTTP Method: POST
Parameters:
parent
Description: Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`
Pattern: ^projects/[^/]+/locations/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: parent
Scopes:
Description: Creates an Adaptive MT dataset.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.delete
Path: v3/{+name}
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}
HTTP Method: DELETE
Parameters:
name
Description: Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: name
Scopes:
Description: Deletes an Adaptive MT dataset, including all its entries and associated metadata.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.get
Path: v3/{+name}
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}
HTTP Method: GET
Parameters:
name
Description: Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: name
Scopes:
Description: Gets the Adaptive MT dataset.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.list
Path: v3/{+parent}/adaptiveMtDatasets
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets
HTTP Method: GET
Parameters:
parent
Description: Required. The resource name of the project from which to list the Adaptive MT datasets. `projects/{project-number-or-id}/locations/{location-id}`
Pattern: ^projects/[^/]+/locations/[^/]+$
Location: path
Required: Yes
Type: string
pageSize
Description: Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.
Location: query
Type: integer
Format: int32
pageToken
Description: Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to `ListAdaptiveMtDatasets` method. The first page is returned if `page_token`is empty or missing.
Location: query
Type: string
filter
Description: Optional. An expression for filtering the results of the request. Filter is not supported yet.
Location: query
Type: string
Parameter Order: parent
Scopes:
Description: Lists all Adaptive MT datasets for which the caller has read permission.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.importAdaptiveMtFile
Path: v3/{+parent}:importAdaptiveMtFile
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}:importAdaptiveMtFile
HTTP Method: POST
Parameters:
parent
Description: Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: parent
Scopes:
Description: Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.get
Path: v3/{+name}
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}
HTTP Method: GET
Parameters:
name
Description: Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: name
Scopes:
Description: Gets and AdaptiveMtFile
▼ ▲ translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.delete
Path: v3/{+name}
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}
HTTP Method: DELETE
Parameters:
name
Description: Required. The resource name of the file to delete, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/files/{file}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: name
Scopes:
Description: Deletes an AdaptiveMtFile along with its sentences.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list
Path: v3/{+parent}/adaptiveMtFiles
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles
HTTP Method: GET
Parameters:
parent
Description: Required. The resource name of the project from which to list the Adaptive MT files. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$
Location: path
Required: Yes
Type: string
pageSize
Description: Optional.
Location: query
Type: integer
Format: int32
pageToken
Description: Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtFilesResponse.next_page_token returned from the previous call to `ListAdaptiveMtFiles` method. The first page is returned if `page_token`is empty or missing.
Location: query
Type: string
Parameter Order: parent
Scopes:
Description: Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list
Path: v3/{+parent}/adaptiveMtSentences
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}/adaptiveMtSentences
HTTP Method: GET
Parameters:
parent
Description: Required. The resource name of the project from which to list the Adaptive MT files. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$
Location: path
Required: Yes
Type: string
pageSize
Location: query
Type: integer
Format: int32
pageToken
Description: A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.
Location: query
Type: string
Parameter Order: parent
Scopes:
Description: Lists all AdaptiveMtSentences under a given file/dataset.
▼ ▲ translate.projects.locations.adaptiveMtDatasets.adaptiveMtSentences.list
Path: v3/{+parent}/adaptiveMtSentences
Flat Path: v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtSentences
HTTP Method: GET
Parameters:
parent
Description: Required. The resource name of the project from which to list the Adaptive MT files. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
Pattern: ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$
Location: path
Required: Yes
Type: string
pageSize
Location: query
Type: integer
Format: int32
pageToken
Description: A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.
Location: query
Type: string
Parameter Order: parent
Scopes:
Description: Lists all AdaptiveMtSentences under a given file/dataset.