public class CloudMachineLearningEngine.Projects.Models extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudMachineLearningEngine.Projects.Models.Create |
class |
CloudMachineLearningEngine.Projects.Models.Delete |
class |
CloudMachineLearningEngine.Projects.Models.Get |
class |
CloudMachineLearningEngine.Projects.Models.GetIamPolicy |
class |
CloudMachineLearningEngine.Projects.Models.List |
class |
CloudMachineLearningEngine.Projects.Models.Patch |
class |
CloudMachineLearningEngine.Projects.Models.SetIamPolicy |
class |
CloudMachineLearningEngine.Projects.Models.TestIamPermissions |
class |
CloudMachineLearningEngine.Projects.Models.Versions
The "versions" collection of methods.
|
| Constructor and Description |
|---|
Models() |
| Modifier and Type | Method and Description |
|---|---|
CloudMachineLearningEngine.Projects.Models.Create |
create(String parent,
GoogleCloudMlV1Model content)
Creates a model which will later contain one or more versions.
|
CloudMachineLearningEngine.Projects.Models.Delete |
delete(String name)
Deletes a model.
|
CloudMachineLearningEngine.Projects.Models.Get |
get(String name)
Gets information about a model, including its name, the description (if set), and the default
version (if at least one version of the model has been deployed).
|
CloudMachineLearningEngine.Projects.Models.GetIamPolicy |
getIamPolicy(String resource)
Gets the access control policy for a resource.
|
CloudMachineLearningEngine.Projects.Models.List |
list(String parent)
Lists the models in a project.
|
CloudMachineLearningEngine.Projects.Models.Patch |
patch(String name,
GoogleCloudMlV1Model content)
Updates a specific model resource.
|
CloudMachineLearningEngine.Projects.Models.SetIamPolicy |
setIamPolicy(String resource,
GoogleIamV1SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
CloudMachineLearningEngine.Projects.Models.TestIamPermissions |
testIamPermissions(String resource,
GoogleIamV1TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
CloudMachineLearningEngine.Projects.Models.Versions |
versions()
An accessor for creating requests from the Versions collection.
|
public CloudMachineLearningEngine.Projects.Models.Create create(String parent, GoogleCloudMlV1Model content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The project name.content - the GoogleCloudMlV1ModelIOExceptionpublic CloudMachineLearningEngine.Projects.Models.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the model.IOExceptionpublic CloudMachineLearningEngine.Projects.Models.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the model.IOExceptionpublic CloudMachineLearningEngine.Projects.Models.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.IOExceptionpublic CloudMachineLearningEngine.Projects.Models.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the project whose models are to be listed.IOExceptionpublic CloudMachineLearningEngine.Projects.Models.Patch patch(String name, GoogleCloudMlV1Model content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The project name.content - the GoogleCloudMlV1ModelIOExceptionpublic CloudMachineLearningEngine.Projects.Models.SetIamPolicy setIamPolicy(String resource, GoogleIamV1SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being specified. See the operation documentation for
the appropriate value for this field.content - the GoogleIamV1SetIamPolicyRequestIOExceptionpublic CloudMachineLearningEngine.Projects.Models.TestIamPermissions testIamPermissions(String resource, GoogleIamV1TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy detail is being requested. See the operation
documentation for the appropriate value for this field.content - the GoogleIamV1TestIamPermissionsRequestIOExceptionpublic CloudMachineLearningEngine.Projects.Models.Versions versions()
The typical use is:
CloudMachineLearningEngine ml = new CloudMachineLearningEngine(...);CloudMachineLearningEngine.Versions.List request = ml.versions().list(parameters ...)
Copyright © 2011–2021 Google. All rights reserved.