public class Translate.Projects.Locations.Models extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Translate.Projects.Locations.Models.Create |
class |
Translate.Projects.Locations.Models.Delete |
class |
Translate.Projects.Locations.Models.Get |
class |
Translate.Projects.Locations.Models.List |
| Constructor and Description |
|---|
Models() |
| Modifier and Type | Method and Description |
|---|---|
Translate.Projects.Locations.Models.Create |
create(String parent,
Model content)
Creates a Model.
|
Translate.Projects.Locations.Models.Delete |
delete(String name)
Deletes a model.
|
Translate.Projects.Locations.Models.Get |
get(String name)
Gets a model.
|
Translate.Projects.Locations.Models.List |
list(String parent)
Lists models.
|
public Translate.Projects.Locations.Models.Create create(String parent, Model content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The project name, in form of `projects/{project}/locations/{location}`content - the ModelIOExceptionpublic Translate.Projects.Locations.Models.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the model to delete.IOExceptionpublic Translate.Projects.Locations.Models.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the model to retrieve.IOExceptionpublic Translate.Projects.Locations.Models.List list(String parent) 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}`IOExceptionCopyright © 2011–2023 Google. All rights reserved.