public class Translate.Projects.Locations.AdaptiveMtDatasets extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Translate.Projects.Locations.AdaptiveMtDatasets.AdaptiveMtFiles
The "adaptiveMtFiles" collection of methods.
|
class |
Translate.Projects.Locations.AdaptiveMtDatasets.AdaptiveMtSentences
The "adaptiveMtSentences" collection of methods.
|
class |
Translate.Projects.Locations.AdaptiveMtDatasets.Create |
class |
Translate.Projects.Locations.AdaptiveMtDatasets.Delete |
class |
Translate.Projects.Locations.AdaptiveMtDatasets.Get |
class |
Translate.Projects.Locations.AdaptiveMtDatasets.ImportAdaptiveMtFile |
class |
Translate.Projects.Locations.AdaptiveMtDatasets.List |
| Constructor and Description |
|---|
AdaptiveMtDatasets() |
public Translate.Projects.Locations.AdaptiveMtDatasets.Create create(String parent, AdaptiveMtDataset content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations
/{location-id}`content - the AdaptiveMtDatasetIOExceptionpublic Translate.Projects.Locations.AdaptiveMtDatasets.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-
id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`IOExceptionpublic Translate.Projects.Locations.AdaptiveMtDatasets.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-
id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`IOExceptionpublic Translate.Projects.Locations.AdaptiveMtDatasets.ImportAdaptiveMtFile importAdaptiveMtFile(String parent, ImportAdaptiveMtFileRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.parent - Required. The resource name of the file, in form of `projects/{project-number-or-
id}/locations/{location_id}/adaptiveMtDatasets/{dataset}`content - the ImportAdaptiveMtFileRequestIOExceptionpublic Translate.Projects.Locations.AdaptiveMtDatasets.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the project from which to list the Adaptive MT datasets. `projects
/{project-number-or-id}/locations/{location-id}`IOExceptionpublic Translate.Projects.Locations.AdaptiveMtDatasets.AdaptiveMtFiles adaptiveMtFiles()
The typical use is:
Translate translate = new Translate(...);Translate.AdaptiveMtFiles.List request = translate.adaptiveMtFiles().list(parameters ...)
public Translate.Projects.Locations.AdaptiveMtDatasets.AdaptiveMtSentences adaptiveMtSentences()
The typical use is:
Translate translate = new Translate(...);Translate.AdaptiveMtSentences.List request = translate.adaptiveMtSentences().list(parameters ...)
Copyright © 2011–2023 Google. All rights reserved.