| Package | Description |
|---|---|
| com.google.api.services.ml.v1 | |
| com.google.api.services.ml.v1.model |
| Modifier and Type | Method and Description |
|---|---|
CloudMachineLearningEngine.Projects.Models.Versions.Create |
CloudMachineLearningEngine.Projects.Models.Versions.create(String parent,
GoogleCloudMlV1Version content)
Creates a new version of a model from a trained TensorFlow model.
|
CloudMachineLearningEngine.Projects.Models.Versions.Patch |
CloudMachineLearningEngine.Projects.Models.Versions.patch(String name,
GoogleCloudMlV1Version content)
Updates the specified Version resource.
|
| Constructor and Description |
|---|
Create(String parent,
GoogleCloudMlV1Version content)
Creates a new version of a model from a trained TensorFlow model.
|
Patch(String name,
GoogleCloudMlV1Version content)
Updates the specified Version resource.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.clone() |
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.encodeEtag(byte[] etag)
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Model.getDefaultVersion()
Output only.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1OperationMetadata.getVersion()
Contains the version associated with the operation.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.set(String fieldName,
Object value) |
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig acceleratorConfig)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setAutoScaling(GoogleCloudMlV1AutoScaling autoScaling)
Automatically scale the number of nodes used to serve the model in response to increases and
decreases in traffic.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setContainer(GoogleCloudMlV1ContainerSpec container)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setCreateTime(String createTime)
Output only.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setDeploymentUri(String deploymentUri)
The Cloud Storage URI of a directory containing trained model artifacts to be used to create
the model version.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setDescription(String description)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setErrorMessage(String errorMessage)
Output only.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setEtag(String etag)
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setExplanationConfig(GoogleCloudMlV1ExplanationConfig explanationConfig)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setFramework(String framework)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setIsDefault(Boolean isDefault)
Output only.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setLabels(Map<String,String> labels)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setLastMigrationModelId(String lastMigrationModelId)
Output only.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setLastMigrationTime(String lastMigrationTime)
Output only.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setLastUseTime(String lastUseTime)
Output only.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setMachineType(String machineType)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setManualScaling(GoogleCloudMlV1ManualScaling manualScaling)
Manually select the number of nodes to use for serving the model.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setName(String name)
Required.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setPackageUris(List<String> packageUris)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setPredictionClass(String predictionClass)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setPythonVersion(String pythonVersion)
Required.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setRequestLoggingConfig(GoogleCloudMlV1RequestLoggingConfig requestLoggingConfig)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setRoutes(GoogleCloudMlV1RouteMap routes)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setRuntimeVersion(String runtimeVersion)
Required.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setServiceAccount(String serviceAccount)
Optional.
|
GoogleCloudMlV1Version |
GoogleCloudMlV1Version.setState(String state)
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
List<GoogleCloudMlV1Version> |
GoogleCloudMlV1ListVersionsResponse.getVersions()
The list of versions.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1Model |
GoogleCloudMlV1Model.setDefaultVersion(GoogleCloudMlV1Version defaultVersion)
Output only.
|
GoogleCloudMlV1OperationMetadata |
GoogleCloudMlV1OperationMetadata.setVersion(GoogleCloudMlV1Version version)
Contains the version associated with the operation.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1ListVersionsResponse |
GoogleCloudMlV1ListVersionsResponse.setVersions(List<GoogleCloudMlV1Version> versions)
The list of versions.
|
Copyright © 2011–2021 Google. All rights reserved.