Liking cljdoc? Tell your friends :D

happygapi.ml.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

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
raw docstring

explain$clj

(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.
sourceraw docstring

getConfig$clj

(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.
sourceraw docstring

jobs-cancel$clj

(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.
sourceraw docstring

jobs-create$clj

(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.
sourceraw docstring

jobs-get$clj

(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.
sourceraw docstring

jobs-getIamPolicy$clj

(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.
sourceraw docstring

jobs-list$clj

(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: {}.
sourceraw docstring

jobs-patch$clj

(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`.
sourceraw docstring

jobs-setIamPolicy$clj

(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
sourceraw docstring

jobs-testIamPermissions$clj

(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.
sourceraw docstring

locations-get$clj

(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.
sourceraw docstring

locations-list$clj

(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.
sourceraw docstring

locations-operations-cancel$clj

(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`.
sourceraw docstring

locations-operations-get$clj

(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.
sourceraw docstring

models-create$clj

(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.
sourceraw docstring

models-delete$clj

(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.
sourceraw docstring

models-get$clj

(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).
sourceraw docstring

models-getIamPolicy$clj

(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.
sourceraw docstring

models-list$clj

(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: {}.
sourceraw docstring

models-patch$clj

(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`.
sourceraw docstring

models-setIamPolicy$clj

(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
sourceraw docstring

models-testIamPermissions$clj

(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.
sourceraw docstring

models-versions-create$clj

(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.
sourceraw docstring

models-versions-delete$clj

(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.
sourceraw docstring

models-versions-get$clj

(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.
sourceraw docstring

models-versions-list$clj

(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: {}.
sourceraw docstring

models-versions-patch$clj

(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`.
sourceraw docstring

models-versions-setDefault$clj

(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.
sourceraw docstring

operations-cancel$clj

(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`.
sourceraw docstring

operations-get$clj

(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.
sourceraw docstring

operations-list$clj

(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.
sourceraw docstring

predict$clj

(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>
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close