ml
v1
|
The "versions" collection of methods. More...
Classes | |
class | CreateRequest |
Creates a new version of a model from a trained TensorFlow model. More... | |
class | DeleteRequest |
Deletes a model version. More... | |
class | GetRequest |
Gets information about a model version. More... | |
class | ListRequest |
Gets basic information about all the versions of a model. More... | |
class | PatchRequest |
Updates the specified Version resource. More... | |
class | SetDefaultRequest |
Designates a version to be the default for the model. More... | |
Public Member Functions | |
VersionsResource (Google.Apis.Services.IClientService service) | |
Constructs a new resource. More... | |
virtual CreateRequest | Create (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Version body, string parent) |
Creates a new version of a model from a trained TensorFlow model. More... | |
virtual DeleteRequest | Delete (string name) |
Deletes a model version. More... | |
virtual GetRequest | Get (string name) |
Gets information about a model version. More... | |
virtual ListRequest | List (string parent) |
Gets basic information about all the versions of a model. More... | |
virtual PatchRequest | Patch (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Version body, string name) |
Updates the specified Version resource. More... | |
virtual SetDefaultRequest | SetDefault (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1SetDefaultVersionRequest body, string name) |
Designates a version to be the default for the model. More... | |
The "versions" collection of methods.
|
inline |
Constructs a new resource.
|
inlinevirtual |
Creates a new version of a model from a trained TensorFlow model.
If the version created in the cloud by this call is the first deployed version of the specified model, it will be made the default version of the model. When you add a version to a model that already has one or more versions, the default version does not automatically change. If you want a new version to be the default, you must call projects.models.versions.setDefault.
body | The body of the request. |
parent | Required. The name of the model. |
|
inlinevirtual |
Deletes a model version.
Each model can have multiple versions deployed and in use at any given time. Use this method to remove a single version.
Note: You cannot delete the version that is set as the default version of the model unless it is the only remaining version.
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. |
|
inlinevirtual |
Gets information about a model version.
Models can have multiple versions. You can call projects.models.versions.list to get the same information that this method returns for all of the versions of a model.
name | Required. The name of the version. |
|
inlinevirtual |
Gets basic information about all the versions of a model.
If you expect that a model has many versions, or if you need to handle only a limited number of results at a time, you can request that the list be retrieved in batches (called pages).
If there are no versions that match the request parameters, the list request returns an empty response body: {}.
parent | Required. The name of the model for which to list the version. |
|
inlinevirtual |
Updates the specified Version resource.
Currently the only update-able fields are description
, requestLoggingConfig
, autoScaling.minNodes
, and manualScaling.nodes
.
body | The body of the request. |
name | Required. The name of the model. |
|
inlinevirtual |
Designates a version to be the default for the model.
The default version is used for prediction requests made against the model that don't specify a version.
The first version to be created for a model is automatically set as the default. You must make any subsequent changes to the default version setting manually using this method.
body | The body of the request. |
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. |