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 parameters 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 parameters)

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 parameters 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 parameters 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 parameters)

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 parameters)

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 parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/list

Required parameters: parent

Optional parameters: filter, pageToken, pageSize

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: filter, pageToken, pageSize

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 parameters 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 parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/jobs/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :auditConfigs [GoogleIamV1__AuditConfig], :bindings [GoogleIamV1__Binding]}, :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 {:etag string,
          :version integer,
          :auditConfigs [GoogleIamV1__AuditConfig],
          :bindings [GoogleIamV1__Binding]},
 :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 parameters 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 parameters)

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 parameters)

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 parameters)

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 parameters)

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

locations-studies-create$clj

(locations-studies-create$ auth parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/create

Required parameters: parent

Optional parameters: studyId

Body:

{:state string, :name string, :studyConfig {:metrics [GoogleCloudMlV1_StudyConfig_MetricSpec], :algorithm string, :parameters [GoogleCloudMlV1_StudyConfig_ParameterSpec], :automatedStoppingConfig GoogleCloudMlV1__AutomatedStoppingConfig}, :inactiveReason string, :createTime string}

Creates a study.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/create

Required parameters: parent

Optional parameters: studyId

Body: 

{:state string,
 :name string,
 :studyConfig {:metrics [GoogleCloudMlV1_StudyConfig_MetricSpec],
               :algorithm string,
               :parameters [GoogleCloudMlV1_StudyConfig_ParameterSpec],
               :automatedStoppingConfig GoogleCloudMlV1__AutomatedStoppingConfig},
 :inactiveReason string,
 :createTime string}

Creates a study.
sourceraw docstring

locations-studies-delete$clj

(locations-studies-delete$ auth parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/delete

Required parameters: name

Optional parameters: none

Deletes a study.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/delete

Required parameters: name

Optional parameters: none

Deletes a study.
sourceraw docstring

locations-studies-get$clj

(locations-studies-get$ auth parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/get

Required parameters: name

Optional parameters: none

Gets a study.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/get

Required parameters: name

Optional parameters: none

Gets a study.
sourceraw docstring

locations-studies-list$clj

(locations-studies-list$ auth parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/list

Required parameters: parent

Optional parameters: none

Lists all the studies in a region for an associated project.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/list

Required parameters: parent

Optional parameters: none

Lists all the studies in a region for an associated project.
sourceraw docstring

locations-studies-trials-addMeasurement$clj

(locations-studies-trials-addMeasurement$ auth parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/addMeasurement

Required parameters: name

Optional parameters: none

Body:

{:measurement {:metrics [GoogleCloudMlV1_Measurement_Metric], :stepCount string, :elapsedTime string}}

Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have been taken before the Trial is complete.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/addMeasurement

Required parameters: name

Optional parameters: none

Body: 

{:measurement {:metrics [GoogleCloudMlV1_Measurement_Metric],
               :stepCount string,
               :elapsedTime string}}

Adds a measurement of the objective metrics to a Trial. This measurement
is assumed to have been taken before the Trial is complete.
sourceraw docstring

locations-studies-trials-checkEarlyStoppingState$clj

(locations-studies-trials-checkEarlyStoppingState$ auth parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/checkEarlyStoppingState

Required parameters: name

Optional parameters: none

Body:

{}

Checks whether a trial should stop or not.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/checkEarlyStoppingState

Required parameters: name

Optional parameters: none

Body: 

{}

Checks whether a trial should stop or not.
sourceraw docstring

locations-studies-trials-complete$clj

(locations-studies-trials-complete$ auth parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/complete

Required parameters: name

Optional parameters: none

Body:

{:finalMeasurement {:metrics [GoogleCloudMlV1_Measurement_Metric], :stepCount string, :elapsedTime string}, :infeasibleReason string, :trialInfeasible boolean}

Marks a Trial as complete.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/complete

Required parameters: name

Optional parameters: none

Body: 

{:finalMeasurement {:metrics [GoogleCloudMlV1_Measurement_Metric],
                    :stepCount string,
                    :elapsedTime string},
 :infeasibleReason string,
 :trialInfeasible boolean}

Marks a Trial as complete.
sourceraw docstring

locations-studies-trials-create$clj

(locations-studies-trials-create$ auth parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/create

Required parameters: parent

Optional parameters: none

Body:

{:clientId string, :startTime string, :measurements [{:metrics [GoogleCloudMlV1_Measurement_Metric], :stepCount string, :elapsedTime string}], :name string, :endTime string, :state string, :finalMeasurement {:metrics [GoogleCloudMlV1_Measurement_Metric], :stepCount string, :elapsedTime string}, :infeasibleReason string, :trialInfeasible boolean, :parameters [{:intValue string, :floatValue number, :stringValue string, :parameter string}]}

Adds a user provided trial to a Study.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/create

Required parameters: parent

Optional parameters: none

Body: 

{:clientId string,
 :startTime string,
 :measurements [{:metrics [GoogleCloudMlV1_Measurement_Metric],
                 :stepCount string,
                 :elapsedTime string}],
 :name string,
 :endTime string,
 :state string,
 :finalMeasurement {:metrics [GoogleCloudMlV1_Measurement_Metric],
                    :stepCount string,
                    :elapsedTime string},
 :infeasibleReason string,
 :trialInfeasible boolean,
 :parameters [{:intValue string,
               :floatValue number,
               :stringValue string,
               :parameter string}]}

Adds a user provided trial to a Study.
sourceraw docstring

locations-studies-trials-delete$clj

(locations-studies-trials-delete$ auth parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/delete

Required parameters: name

Optional parameters: none

Deletes a Trial.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/delete

Required parameters: name

Optional parameters: none

Deletes a Trial.
sourceraw docstring

locations-studies-trials-get$clj

(locations-studies-trials-get$ auth parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/get

Required parameters: name

Optional parameters: none

Gets a Trial.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/get

Required parameters: name

Optional parameters: none

Gets a Trial.
sourceraw docstring

locations-studies-trials-list$clj

(locations-studies-trials-list$ auth parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/list

Required parameters: parent

Optional parameters: none

Lists the trials associated with a Study.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/list

Required parameters: parent

Optional parameters: none

Lists the trials associated with a Study.
sourceraw docstring

locations-studies-trials-stop$clj

(locations-studies-trials-stop$ auth parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/stop

Required parameters: name

Optional parameters: none

Body:

{}

Stops a trial.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/stop

Required parameters: name

Optional parameters: none

Body: 

{}

Stops a trial.
sourceraw docstring

locations-studies-trials-suggest$clj

(locations-studies-trials-suggest$ auth parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/suggest

Required parameters: parent

Optional parameters: none

Body:

{:suggestionCount integer, :clientId string}

Returns a long-running operation associated with the generation of trial suggestions.

https://cloud.google.com/ml/api/reference/rest/v1/projects/locations/studies/trials/suggest

Required parameters: parent

Optional parameters: none

Body: 

{:suggestionCount integer, :clientId string}

Returns a long-running operation associated with the generation of trial
suggestions.
sourceraw docstring

models-create$clj

(models-create$ auth parameters 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}, :regions [string], :onlinePredictionConsoleLogging boolean, :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},
 :regions [string],
 :onlinePredictionConsoleLogging boolean,
 :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 parameters)

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 parameters)

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 parameters)

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 parameters)

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 parameters 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}, :regions [string], :onlinePredictionConsoleLogging boolean, :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},
 :regions [string],
 :onlinePredictionConsoleLogging boolean,
 :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 parameters body)

https://cloud.google.com/ml/api/reference/rest/v1/projects/models/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :auditConfigs [GoogleIamV1__AuditConfig], :bindings [GoogleIamV1__Binding]}, :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 {:etag string,
          :version integer,
          :auditConfigs [GoogleIamV1__AuditConfig],
          :bindings [GoogleIamV1__Binding]},
 :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 parameters 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 parameters 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, :xraiAttribution GoogleCloudMlV1__XraiAttribution}, :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,
                     :xraiAttribution GoogleCloudMlV1__XraiAttribution},
 :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 parameters)

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 parameters)

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 parameters)

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 parameters 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, :xraiAttribution GoogleCloudMlV1__XraiAttribution}, :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,
                     :xraiAttribution GoogleCloudMlV1__XraiAttribution},
 :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 parameters 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 parameters)

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 parameters)

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 parameters)

https://cloud.google.com/ml/api/reference/rest/v1/projects/operations/list

Required parameters: name

Optional parameters: pageToken, pageSize, filter

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: pageToken, pageSize, filter

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 parameters 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