AI Platform Training & Prediction API: projects. An API to enable creating and using machine learning models. See: https://cloud.google.com/ml/api/reference/rest/v1/projects
AI Platform Training & Prediction API: projects. An API to enable creating and using machine learning models. See: https://cloud.google.com/ml/api/reference/rest/v1/projects
(explain$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/explain
Required parameters: name
Optional parameters: none
Body:
{:httpBody {:extensions [{}], :data string, :contentType string}}
Performs explanation on the data in the request.
AI Platform implements a custom explain
verb on top of an HTTP POST
method.
https://cloud.google.com/ml/api/reference/rest/v1/projects/explain Required parameters: name Optional parameters: none Body: {:httpBody {:extensions [{}], :data string, :contentType string}} Performs explanation on the data in the request. AI Platform implements a custom `explain` verb on top of an HTTP POST method.
(getConfig$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/getConfig
Required parameters: name
Optional parameters: none Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.
https://cloud.google.com/ml/api/reference/rest/v1/projects/getConfig Required parameters: name Optional parameters: none Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.
(jobs-cancel$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/cancel
Required parameters: name
Optional parameters: none
Body:
{}
Cancels a running job.
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/cancel Required parameters: name Optional parameters: none Body: {} Cancels a running job.
(jobs-create$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/create
Required parameters: parent
Optional parameters: none
Body:
{:labels {}, :errorMessage string, :predictionOutput {:errorCount string, :outputPath string, :nodeHours number, :predictionCount string}, :startTime string, :endTime string, :createTime string, :etag string, :state string, :trainingOutput {:isBuiltInAlgorithmJob boolean, :builtInAlgorithmOutput GoogleCloudMlV1__BuiltInAlgorithmOutput, :trials [GoogleCloudMlV1__HyperparameterOutput], :hyperparameterMetricTag string, :completedTrialCount string, :isHyperparameterTuningJob boolean, :consumedMLUnits number}, :trainingInput {:args [string], :useChiefInTfConfig boolean, :parameterServerType string, :workerType string, :scheduling GoogleCloudMlV1__Scheduling, :workerCount string, :hyperparameters GoogleCloudMlV1__HyperparameterSpec, :workerConfig GoogleCloudMlV1__ReplicaConfig, :jobDir string, :pythonVersion string, :packageUris [string], :region string, :masterConfig GoogleCloudMlV1__ReplicaConfig, :scaleTier string, :runtimeVersion string, :parameterServerCount string, :pythonModule string, :encryptionConfig GoogleCloudMlV1__EncryptionConfig, :parameterServerConfig GoogleCloudMlV1__ReplicaConfig, :masterType string}, :predictionInput {:outputPath string, :inputPaths [string], :versionName string, :modelName string, :region string, :outputDataFormat string, :runtimeVersion string, :batchSize string, :uri string, :signatureName string, :maxWorkerCount string, :dataFormat string}, :jobId string}
Creates a training or a batch prediction job.
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/create Required parameters: parent Optional parameters: none Body: {:labels {}, :errorMessage string, :predictionOutput {:errorCount string, :outputPath string, :nodeHours number, :predictionCount string}, :startTime string, :endTime string, :createTime string, :etag string, :state string, :trainingOutput {:isBuiltInAlgorithmJob boolean, :builtInAlgorithmOutput GoogleCloudMlV1__BuiltInAlgorithmOutput, :trials [GoogleCloudMlV1__HyperparameterOutput], :hyperparameterMetricTag string, :completedTrialCount string, :isHyperparameterTuningJob boolean, :consumedMLUnits number}, :trainingInput {:args [string], :useChiefInTfConfig boolean, :parameterServerType string, :workerType string, :scheduling GoogleCloudMlV1__Scheduling, :workerCount string, :hyperparameters GoogleCloudMlV1__HyperparameterSpec, :workerConfig GoogleCloudMlV1__ReplicaConfig, :jobDir string, :pythonVersion string, :packageUris [string], :region string, :masterConfig GoogleCloudMlV1__ReplicaConfig, :scaleTier string, :runtimeVersion string, :parameterServerCount string, :pythonModule string, :encryptionConfig GoogleCloudMlV1__EncryptionConfig, :parameterServerConfig GoogleCloudMlV1__ReplicaConfig, :masterType string}, :predictionInput {:outputPath string, :inputPaths [string], :versionName string, :modelName string, :region string, :outputDataFormat string, :runtimeVersion string, :batchSize string, :uri string, :signatureName string, :maxWorkerCount string, :dataFormat string}, :jobId string} Creates a training or a batch prediction job.
(jobs-get$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/get
Required parameters: name
Optional parameters: none Describes a job.
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/get Required parameters: name Optional parameters: none Describes a job.
(jobs-getIamPolicy$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/getIamPolicy
Required parameters: resource
Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(jobs-list$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/list
Required parameters: parent
Optional parameters: pageToken, pageSize, filter Lists the jobs in the project.
If there are no jobs that match the request parameters, the list request returns an empty response body: {}.
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/list Required parameters: parent Optional parameters: pageToken, pageSize, filter Lists the jobs in the project. If there are no jobs that match the request parameters, the list request returns an empty response body: {}.
(jobs-patch$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:labels {}, :errorMessage string, :predictionOutput {:errorCount string, :outputPath string, :nodeHours number, :predictionCount string}, :startTime string, :endTime string, :createTime string, :etag string, :state string, :trainingOutput {:isBuiltInAlgorithmJob boolean, :builtInAlgorithmOutput GoogleCloudMlV1__BuiltInAlgorithmOutput, :trials [GoogleCloudMlV1__HyperparameterOutput], :hyperparameterMetricTag string, :completedTrialCount string, :isHyperparameterTuningJob boolean, :consumedMLUnits number}, :trainingInput {:args [string], :useChiefInTfConfig boolean, :parameterServerType string, :workerType string, :scheduling GoogleCloudMlV1__Scheduling, :workerCount string, :hyperparameters GoogleCloudMlV1__HyperparameterSpec, :workerConfig GoogleCloudMlV1__ReplicaConfig, :jobDir string, :pythonVersion string, :packageUris [string], :region string, :masterConfig GoogleCloudMlV1__ReplicaConfig, :scaleTier string, :runtimeVersion string, :parameterServerCount string, :pythonModule string, :encryptionConfig GoogleCloudMlV1__EncryptionConfig, :parameterServerConfig GoogleCloudMlV1__ReplicaConfig, :masterType string}, :predictionInput {:outputPath string, :inputPaths [string], :versionName string, :modelName string, :region string, :outputDataFormat string, :runtimeVersion string, :batchSize string, :uri string, :signatureName string, :maxWorkerCount string, :dataFormat string}, :jobId string}
Updates a specific job resource.
Currently the only supported fields to update are labels
.
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/patch Required parameters: name Optional parameters: updateMask Body: {:labels {}, :errorMessage string, :predictionOutput {:errorCount string, :outputPath string, :nodeHours number, :predictionCount string}, :startTime string, :endTime string, :createTime string, :etag string, :state string, :trainingOutput {:isBuiltInAlgorithmJob boolean, :builtInAlgorithmOutput GoogleCloudMlV1__BuiltInAlgorithmOutput, :trials [GoogleCloudMlV1__HyperparameterOutput], :hyperparameterMetricTag string, :completedTrialCount string, :isHyperparameterTuningJob boolean, :consumedMLUnits number}, :trainingInput {:args [string], :useChiefInTfConfig boolean, :parameterServerType string, :workerType string, :scheduling GoogleCloudMlV1__Scheduling, :workerCount string, :hyperparameters GoogleCloudMlV1__HyperparameterSpec, :workerConfig GoogleCloudMlV1__ReplicaConfig, :jobDir string, :pythonVersion string, :packageUris [string], :region string, :masterConfig GoogleCloudMlV1__ReplicaConfig, :scaleTier string, :runtimeVersion string, :parameterServerCount string, :pythonModule string, :encryptionConfig GoogleCloudMlV1__EncryptionConfig, :parameterServerConfig GoogleCloudMlV1__ReplicaConfig, :masterType string}, :predictionInput {:outputPath string, :inputPaths [string], :versionName string, :modelName string, :region string, :outputDataFormat string, :runtimeVersion string, :batchSize string, :uri string, :signatureName string, :maxWorkerCount string, :dataFormat string}, :jobId string} Updates a specific job resource. Currently the only supported fields to update are `labels`.
(jobs-setIamPolicy$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:bindings [GoogleIamV1__Binding], :etag string, :version integer, :auditConfigs [GoogleIamV1__AuditConfig]}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/setIamPolicy Required parameters: resource Optional parameters: none Body: {:policy {:bindings [GoogleIamV1__Binding], :etag string, :version integer, :auditConfigs [GoogleIamV1__AuditConfig]}, :updateMask string} Sets the access control policy on the specified resource. Replaces any existing policy. Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
(jobs-testIamPermissions$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/testIamPermissions
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/testIamPermissions Required parameters: resource Optional parameters: none Body: {:permissions [string]} Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
(locations-get$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/get
Required parameters: name
Optional parameters: none Get the complete list of CMLE capabilities in a location, along with their location-specific properties.
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/get Required parameters: name Optional parameters: none Get the complete list of CMLE capabilities in a location, along with their location-specific properties.
(locations-list$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/list
Required parameters: parent
Optional parameters: pageToken, pageSize List all locations that provides at least one type of CMLE capability.
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/list Required parameters: parent Optional parameters: pageToken, pageSize List all locations that provides at least one type of CMLE capability.
(locations-operations-cancel$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/operations/cancel
Required parameters: name
Optional parameters: none
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not
guaranteed. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use
Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation,
the operation is not deleted; instead, it becomes an operation with
an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/operations/cancel Required parameters: name Optional parameters: none Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
(locations-operations-get$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/operations/get
Required parameters: name
Optional parameters: none Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/operations/get Required parameters: name Optional parameters: none Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
(models-create$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/create
Required parameters: parent
Optional parameters: none
Body:
{:onlinePredictionLogging boolean, :etag string, :labels {}, :name string, :defaultVersion {:description string, :serviceAccount string, :labels {}, :explanationConfig GoogleCloudMlV1__ExplanationConfig, :autoScaling GoogleCloudMlV1__AutoScaling, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig GoogleCloudMlV1__AcceleratorConfig, :runtimeVersion string, :manualScaling GoogleCloudMlV1__ManualScaling, :predictionClass string, :framework string, :requestLoggingConfig GoogleCloudMlV1__RequestLoggingConfig}, :onlinePredictionConsoleLogging boolean, :regions [string], :description string}
Creates a model which will later contain one or more versions.
You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/create Required parameters: parent Optional parameters: none Body: {:onlinePredictionLogging boolean, :etag string, :labels {}, :name string, :defaultVersion {:description string, :serviceAccount string, :labels {}, :explanationConfig GoogleCloudMlV1__ExplanationConfig, :autoScaling GoogleCloudMlV1__AutoScaling, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig GoogleCloudMlV1__AcceleratorConfig, :runtimeVersion string, :manualScaling GoogleCloudMlV1__ManualScaling, :predictionClass string, :framework string, :requestLoggingConfig GoogleCloudMlV1__RequestLoggingConfig}, :onlinePredictionConsoleLogging boolean, :regions [string], :description string} Creates a model which will later contain one or more versions. You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create.
(models-delete$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/delete
Required parameters: name
Optional parameters: none Deletes a model.
You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/delete Required parameters: name Optional parameters: none Deletes a model. You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete.
(models-get$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/get
Required parameters: name
Optional parameters: none 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).
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/get Required parameters: name Optional parameters: none 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).
(models-getIamPolicy$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/getIamPolicy
Required parameters: resource
Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(models-list$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/list
Required parameters: parent
Optional parameters: filter, pageToken, pageSize Lists the models in a project.
Each project can contain multiple models, and each model can have multiple versions.
If there are no models that match the request parameters, the list request returns an empty response body: {}.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/list Required parameters: parent Optional parameters: filter, pageToken, pageSize Lists the models in a project. Each project can contain multiple models, and each model can have multiple versions. If there are no models that match the request parameters, the list request returns an empty response body: {}.
(models-patch$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:onlinePredictionLogging boolean, :etag string, :labels {}, :name string, :defaultVersion {:description string, :serviceAccount string, :labels {}, :explanationConfig GoogleCloudMlV1__ExplanationConfig, :autoScaling GoogleCloudMlV1__AutoScaling, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig GoogleCloudMlV1__AcceleratorConfig, :runtimeVersion string, :manualScaling GoogleCloudMlV1__ManualScaling, :predictionClass string, :framework string, :requestLoggingConfig GoogleCloudMlV1__RequestLoggingConfig}, :onlinePredictionConsoleLogging boolean, :regions [string], :description string}
Updates a specific model resource.
Currently the only supported fields to update are description
and
default_version.name
.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/patch Required parameters: name Optional parameters: updateMask Body: {:onlinePredictionLogging boolean, :etag string, :labels {}, :name string, :defaultVersion {:description string, :serviceAccount string, :labels {}, :explanationConfig GoogleCloudMlV1__ExplanationConfig, :autoScaling GoogleCloudMlV1__AutoScaling, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig GoogleCloudMlV1__AcceleratorConfig, :runtimeVersion string, :manualScaling GoogleCloudMlV1__ManualScaling, :predictionClass string, :framework string, :requestLoggingConfig GoogleCloudMlV1__RequestLoggingConfig}, :onlinePredictionConsoleLogging boolean, :regions [string], :description string} Updates a specific model resource. Currently the only supported fields to update are `description` and `default_version.name`.
(models-setIamPolicy$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:bindings [GoogleIamV1__Binding], :etag string, :version integer, :auditConfigs [GoogleIamV1__AuditConfig]}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/setIamPolicy Required parameters: resource Optional parameters: none Body: {:policy {:bindings [GoogleIamV1__Binding], :etag string, :version integer, :auditConfigs [GoogleIamV1__AuditConfig]}, :updateMask string} Sets the access control policy on the specified resource. Replaces any existing policy. Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
(models-testIamPermissions$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/testIamPermissions
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/testIamPermissions Required parameters: resource Optional parameters: none Body: {:permissions [string]} Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
(models-versions-create$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/create
Required parameters: parent
Optional parameters: none
Body:
{:description string, :serviceAccount string, :labels {}, :explanationConfig {:integratedGradientsAttribution GoogleCloudMlV1__IntegratedGradientsAttribution, :sampledShapleyAttribution GoogleCloudMlV1__SampledShapleyAttribution}, :autoScaling {:minNodes integer}, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig {:count string, :type string}, :runtimeVersion string, :manualScaling {:nodes integer}, :predictionClass string, :framework string, :requestLoggingConfig {:bigqueryTableName string, :samplingPercentage number}}
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.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/create Required parameters: parent Optional parameters: none Body: {:description string, :serviceAccount string, :labels {}, :explanationConfig {:integratedGradientsAttribution GoogleCloudMlV1__IntegratedGradientsAttribution, :sampledShapleyAttribution GoogleCloudMlV1__SampledShapleyAttribution}, :autoScaling {:minNodes integer}, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig {:count string, :type string}, :runtimeVersion string, :manualScaling {:nodes integer}, :predictionClass string, :framework string, :requestLoggingConfig {:bigqueryTableName string, :samplingPercentage number}} 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.
(models-versions-delete$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/delete
Required parameters: name
Optional parameters: none 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.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/delete Required parameters: name Optional parameters: none 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.
(models-versions-get$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/get
Required parameters: name
Optional parameters: none 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.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/get Required parameters: name Optional parameters: none 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.
(models-versions-list$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/list
Required parameters: parent
Optional parameters: pageToken, pageSize, filter 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: {}.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/list Required parameters: parent Optional parameters: pageToken, pageSize, filter 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: {}.
(models-versions-patch$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:description string, :serviceAccount string, :labels {}, :explanationConfig {:integratedGradientsAttribution GoogleCloudMlV1__IntegratedGradientsAttribution, :sampledShapleyAttribution GoogleCloudMlV1__SampledShapleyAttribution}, :autoScaling {:minNodes integer}, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig {:count string, :type string}, :runtimeVersion string, :manualScaling {:nodes integer}, :predictionClass string, :framework string, :requestLoggingConfig {:bigqueryTableName string, :samplingPercentage number}}
Updates the specified Version resource.
Currently the only update-able fields are description
,
requestLoggingConfig
, autoScaling.minNodes
, and manualScaling.nodes
.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/patch Required parameters: name Optional parameters: updateMask Body: {:description string, :serviceAccount string, :labels {}, :explanationConfig {:integratedGradientsAttribution GoogleCloudMlV1__IntegratedGradientsAttribution, :sampledShapleyAttribution GoogleCloudMlV1__SampledShapleyAttribution}, :autoScaling {:minNodes integer}, :isDefault boolean, :errorMessage string, :lastUseTime string, :name string, :createTime string, :deploymentUri string, :etag string, :state string, :machineType string, :pythonVersion string, :packageUris [string], :acceleratorConfig {:count string, :type string}, :runtimeVersion string, :manualScaling {:nodes integer}, :predictionClass string, :framework string, :requestLoggingConfig {:bigqueryTableName string, :samplingPercentage number}} Updates the specified Version resource. Currently the only update-able fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
(models-versions-setDefault$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/setDefault
Required parameters: name
Optional parameters: none
Body:
{}
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.
https://cloud.google.com/ml/api/reference/rest/v1/projects/models/versions/setDefault Required parameters: name Optional parameters: none Body: {} 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.
(operations-cancel$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/operations/cancel
Required parameters: name
Optional parameters: none
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not
guaranteed. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use
Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation,
the operation is not deleted; instead, it becomes an operation with
an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
https://cloud.google.com/ml/api/reference/rest/v1/projects/operations/cancel Required parameters: name Optional parameters: none Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
(operations-get$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/operations/get
Required parameters: name
Optional parameters: none Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
https://cloud.google.com/ml/api/reference/rest/v1/projects/operations/get Required parameters: name Optional parameters: none Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
(operations-list$ auth args)
https://cloud.google.com/ml/api/reference/rest/v1/projects/operations/list
Required parameters: name
Optional parameters: filter, pageToken, pageSize
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
NOTE: the name
binding allows API services to override the binding
to use different resource name schemes, such as users/*/operations
. To
override the binding, API services can add a binding such as
"/v1/{name=users/*}/operations"
to their service configuration.
For backwards compatibility, the default name includes the operations
collection id, however overriding users must ensure the name binding
is the parent resource, without the operations collection id.
https://cloud.google.com/ml/api/reference/rest/v1/projects/operations/list Required parameters: name Optional parameters: filter, pageToken, pageSize Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
(predict$ auth args body)
https://cloud.google.com/ml/api/reference/rest/v1/projects/predict
Required parameters: name
Optional parameters: none
Body:
{:httpBody {:extensions [{}], :data string, :contentType string}}
Performs online prediction on the data in the request.
<div>{% dynamic include "/ai-platform/includes/___predict-request" %}</div>
https://cloud.google.com/ml/api/reference/rest/v1/projects/predict Required parameters: name Optional parameters: none Body: {:httpBody {:extensions [{}], :data string, :contentType string}} Performs online prediction on the data in the request. <div>{% dynamic include "/ai-platform/includes/___predict-request" %}</div>
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close