public class CloudMachineLearningEngine.Projects.Models.Versions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudMachineLearningEngine.Projects.Models.Versions.Create |
class |
CloudMachineLearningEngine.Projects.Models.Versions.Delete |
class |
CloudMachineLearningEngine.Projects.Models.Versions.Get |
class |
CloudMachineLearningEngine.Projects.Models.Versions.List |
class |
CloudMachineLearningEngine.Projects.Models.Versions.Patch |
class |
CloudMachineLearningEngine.Projects.Models.Versions.SetDefault |
| Constructor and Description |
|---|
Versions() |
| Modifier and Type | Method and Description |
|---|---|
CloudMachineLearningEngine.Projects.Models.Versions.Create |
create(String parent,
GoogleCloudMlV1Version content)
Creates a new version of a model from a trained TensorFlow model.
|
CloudMachineLearningEngine.Projects.Models.Versions.Delete |
delete(String name)
Deletes a model version.
|
CloudMachineLearningEngine.Projects.Models.Versions.Get |
get(String name)
Gets information about a model version.
|
CloudMachineLearningEngine.Projects.Models.Versions.List |
list(String parent)
Gets basic information about all the versions of a model.
|
CloudMachineLearningEngine.Projects.Models.Versions.Patch |
patch(String name,
GoogleCloudMlV1Version content)
Updates the specified Version resource.
|
CloudMachineLearningEngine.Projects.Models.Versions.SetDefault |
setDefault(String name,
GoogleCloudMlV1SetDefaultVersionRequest content)
Designates a version to be the default for the model.
|
public CloudMachineLearningEngine.Projects.Models.Versions.Create create(String parent, GoogleCloudMlV1Version content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the model.content - the GoogleCloudMlV1VersionIOExceptionpublic CloudMachineLearningEngine.Projects.Models.Versions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the version. You can get the names of all the versions of a model by calling
projects.models.versions.list.IOExceptionpublic CloudMachineLearningEngine.Projects.Models.Versions.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the version.IOExceptionpublic CloudMachineLearningEngine.Projects.Models.Versions.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the model for which to list the version.IOExceptionpublic CloudMachineLearningEngine.Projects.Models.Versions.Patch patch(String name, GoogleCloudMlV1Version content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the model.content - the GoogleCloudMlV1VersionIOExceptionpublic CloudMachineLearningEngine.Projects.Models.Versions.SetDefault setDefault(String name, GoogleCloudMlV1SetDefaultVersionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the version to make the default for the model. You can get the names of all
the versions of a model by calling projects.models.versions.list.content - the GoogleCloudMlV1SetDefaultVersionRequestIOExceptionCopyright © 2011–2021 Google. All rights reserved.