{ "uuid": "73d2cde4-63d3-4a56-93b0-0fa627dd9de1", "lastMigration": 29, "name": "AI Platform Training & Prediction API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "4b93e83f-c3d8-4c80-8531-2f5b24f750dd", "documentation": "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.", "method": "delete", "endpoint": "v1/:name", "responses": [ { "uuid": "32da9d15-7fe7-450a-b0d1-57634f679e2c", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6d1f5453-7fc2-469e-81c4-8848f69f326b", "documentation": "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.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "f9a6bcd5-5886-472a-bfab-a39a0169b663", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "eef10cb0-5b59-4af6-9586-a42950149c18", "documentation": "Updates the specified Version resource. Currently the only update-able fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "4d244853-b392-4e25-84a8-59c49f98b785", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e02b8c2b-d2ba-479d-8035-f85336345e45", "documentation": "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.", "method": "get", "endpoint": "v1/:name/operations", "responses": [ { "uuid": "a12f1373-1f64-4278-bbe0-69bbb112762f", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "78f01643-6bf7-46cb-8830-ccb404782b8a", "documentation": "Adds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken before the trial is complete.", "method": "post", "endpoint": "v1/:name:addMeasurement", "responses": [ { "uuid": "4b077abf-c142-44b7-bc33-b4d39dd3ee16", "body": "{\n \"clientId\": \"\",\n \"endTime\": \"\",\n \"finalMeasurement\": {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n },\n \"infeasibleReason\": \"\",\n \"measurements\": [\n {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n }\n ],\n \"name\": \"\",\n \"parameters\": [\n {\n \"floatValue\": {{faker 'number.float'}},\n \"intValue\": \"\",\n \"parameter\": \"\",\n \"stringValue\": \"\"\n }\n ],\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'REQUESTED' 'ACTIVE' 'COMPLETED' 'STOPPING')}}\",\n \"trialInfeasible\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "97b9ede9-6c7f-426b-b6dc-736a112bb35a", "documentation": "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`.", "method": "post", "endpoint": "v1/:name:cancel", "responses": [ { "uuid": "8718a468-7e2a-4543-a698-40d009547f97", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b58b8852-e608-44cd-94ac-a87d35cbbb61", "documentation": "Checks whether a trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse.", "method": "post", "endpoint": "v1/:name:checkEarlyStoppingState", "responses": [ { "uuid": "d3463ba0-b1eb-4872-9b4e-be5d167ab6e4", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "448f771b-faaf-48c3-a85e-ea418c12fe39", "documentation": "Marks a trial as complete.", "method": "post", "endpoint": "v1/:name:complete", "responses": [ { "uuid": "49ba2548-b705-4013-84bd-2fe2c005f751", "body": "{\n \"clientId\": \"\",\n \"endTime\": \"\",\n \"finalMeasurement\": {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n },\n \"infeasibleReason\": \"\",\n \"measurements\": [\n {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n }\n ],\n \"name\": \"\",\n \"parameters\": [\n {\n \"floatValue\": {{faker 'number.float'}},\n \"intValue\": \"\",\n \"parameter\": \"\",\n \"stringValue\": \"\"\n }\n ],\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'REQUESTED' 'ACTIVE' 'COMPLETED' 'STOPPING')}}\",\n \"trialInfeasible\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a923a446-23c4-49d2-b5be-2074c3d49135", "documentation": "Performs explanation on the data in the request. {% dynamic include \"/ai-platform/includes/___explain-request\" %} ", "method": "post", "endpoint": "v1/:name:explain", "responses": [ { "uuid": "dfc88a4c-b282-4b80-9fec-590873339abf", "body": "{\n \"contentType\": \"\",\n \"data\": \"\",\n \"extensions\": [\n {}\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f6f34107-b77d-40b5-8930-b3744ca8582b", "documentation": "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.", "method": "get", "endpoint": "v1/:name:getConfig", "responses": [ { "uuid": "959dbc14-2944-4043-9ea6-b0fff36aa2ac", "body": "{\n \"config\": {\n \"tpuServiceAccount\": \"\"\n },\n \"serviceAccount\": \"\",\n \"serviceAccountProject\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ca6b627b-e980-4b36-9bfa-03c30ca6b459", "documentation": "Performs online prediction on the data in the request. {% dynamic include \"/ai-platform/includes/___predict-request\" %} ", "method": "post", "endpoint": "v1/:name:predict", "responses": [ { "uuid": "c0b1d54e-bc07-444a-a670-59249819754f", "body": "{\n \"contentType\": \"\",\n \"data\": \"\",\n \"extensions\": [\n {}\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "31b18457-04dc-47d4-8a55-204d70c2861c", "documentation": "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.", "method": "post", "endpoint": "v1/:name:setDefault", "responses": [ { "uuid": "4f79cd17-79ac-46ff-9e67-5fb52f9f0196", "body": "{\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"autoScaling\": {\n \"maxNodes\": {{faker 'number.int' max=99999}},\n \"metrics\": [\n {\n \"name\": \"{{oneOf (array 'METRIC_NAME_UNSPECIFIED' 'CPU_USAGE' 'GPU_DUTY_CYCLE')}}\",\n \"target\": {{faker 'number.int' max=99999}}\n }\n ],\n \"minNodes\": {{faker 'number.int' max=99999}}\n },\n \"container\": {\n \"args\": [\n \"\"\n ],\n \"command\": [\n \"\"\n ],\n \"env\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"image\": \"\",\n \"ports\": [\n {\n \"containerPort\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"createTime\": \"\",\n \"deploymentUri\": \"\",\n \"description\": \"\",\n \"errorMessage\": \"\",\n \"etag\": \"\",\n \"explanationConfig\": {\n \"integratedGradientsAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n },\n \"sampledShapleyAttribution\": {\n \"numPaths\": {{faker 'number.int' max=99999}}\n },\n \"xraiAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n }\n },\n \"framework\": \"{{oneOf (array 'FRAMEWORK_UNSPECIFIED' 'TENSORFLOW' 'SCIKIT_LEARN' 'XGBOOST')}}\",\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"labels\": {},\n \"lastMigrationModelId\": \"\",\n \"lastMigrationTime\": \"\",\n \"lastUseTime\": \"\",\n \"machineType\": \"\",\n \"manualScaling\": {\n \"nodes\": {{faker 'number.int' max=99999}}\n },\n \"name\": \"\",\n \"packageUris\": [\n \"\"\n ],\n \"predictionClass\": \"\",\n \"pythonVersion\": \"\",\n \"requestLoggingConfig\": {\n \"bigqueryTableName\": \"\",\n \"samplingPercentage\": {{faker 'number.float'}}\n },\n \"routes\": {\n \"health\": \"\",\n \"predict\": \"\"\n },\n \"runtimeVersion\": \"\",\n \"serviceAccount\": \"\",\n \"state\": \"{{oneOf (array 'UNKNOWN' 'READY' 'CREATING' 'FAILED' 'DELETING' 'UPDATING')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2ca0098c-7358-422e-9824-558fce923398", "documentation": "Stops a trial.", "method": "post", "endpoint": "v1/:name:stop", "responses": [ { "uuid": "11a7621e-c965-4e8d-a177-a6bfc87ad51d", "body": "{\n \"clientId\": \"\",\n \"endTime\": \"\",\n \"finalMeasurement\": {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n },\n \"infeasibleReason\": \"\",\n \"measurements\": [\n {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n }\n ],\n \"name\": \"\",\n \"parameters\": [\n {\n \"floatValue\": {{faker 'number.float'}},\n \"intValue\": \"\",\n \"parameter\": \"\",\n \"stringValue\": \"\"\n }\n ],\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'REQUESTED' 'ACTIVE' 'COMPLETED' 'STOPPING')}}\",\n \"trialInfeasible\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9a0afbbf-223d-40f7-9a90-6b92f54a9942", "documentation": "Lists the jobs in the project. If there are no jobs that match the request parameters, the list request returns an empty response body: {}.", "method": "get", "endpoint": "v1/:parent/jobs", "responses": [ { "uuid": "a89cebd1-25f0-42e0-a845-901f95cb68cb", "body": "{\n \"jobs\": [\n {\n \"createTime\": \"\",\n \"endTime\": \"\",\n \"errorMessage\": \"\",\n \"etag\": \"\",\n \"jobId\": \"\",\n \"jobPosition\": \"\",\n \"labels\": {},\n \"predictionInput\": {\n \"batchSize\": \"\",\n \"dataFormat\": \"{{oneOf (array 'DATA_FORMAT_UNSPECIFIED' 'JSON' 'TEXT' 'TF_RECORD' 'TF_RECORD_GZIP' 'CSV')}}\",\n \"inputPaths\": [\n \"\"\n ],\n \"maxWorkerCount\": \"\",\n \"modelName\": \"\",\n \"outputDataFormat\": \"{{oneOf (array 'DATA_FORMAT_UNSPECIFIED' 'JSON' 'TEXT' 'TF_RECORD' 'TF_RECORD_GZIP' 'CSV')}}\",\n \"outputPath\": \"\",\n \"region\": \"\",\n \"runtimeVersion\": \"\",\n \"signatureName\": \"\",\n \"uri\": \"\",\n \"versionName\": \"\"\n },\n \"predictionOutput\": {\n \"errorCount\": \"\",\n \"nodeHours\": {{faker 'number.float'}},\n \"outputPath\": \"\",\n \"predictionCount\": \"\"\n },\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'QUEUED' 'PREPARING' 'RUNNING' 'SUCCEEDED' 'FAILED' 'CANCELLING' 'CANCELLED')}}\",\n \"trainingInput\": {\n \"args\": [\n \"\"\n ],\n \"enableWebAccess\": {{faker 'datatype.boolean'}},\n \"encryptionConfig\": {\n \"kmsKeyName\": \"\"\n },\n \"evaluatorConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"evaluatorCount\": \"\",\n \"evaluatorType\": \"\",\n \"hyperparameters\": {\n \"algorithm\": \"{{oneOf (array 'ALGORITHM_UNSPECIFIED' 'GRID_SEARCH' 'RANDOM_SEARCH')}}\",\n \"enableTrialEarlyStopping\": {{faker 'datatype.boolean'}},\n \"goal\": \"{{oneOf (array 'GOAL_TYPE_UNSPECIFIED' 'MAXIMIZE' 'MINIMIZE')}}\",\n \"hyperparameterMetricTag\": \"\",\n \"maxFailedTrials\": {{faker 'number.int' max=99999}},\n \"maxParallelTrials\": {{faker 'number.int' max=99999}},\n \"maxTrials\": {{faker 'number.int' max=99999}},\n \"params\": [\n {\n \"categoricalValues\": [\n \"\"\n ],\n \"discreteValues\": [\n {{faker 'number.float'}}\n ],\n \"maxValue\": {{faker 'number.float'}},\n \"minValue\": {{faker 'number.float'}},\n \"parameterName\": \"\",\n \"scaleType\": \"{{oneOf (array 'NONE' 'UNIT_LINEAR_SCALE' 'UNIT_LOG_SCALE' 'UNIT_REVERSE_LOG_SCALE')}}\",\n \"type\": \"{{oneOf (array 'PARAMETER_TYPE_UNSPECIFIED' 'DOUBLE' 'INTEGER' 'CATEGORICAL' 'DISCRETE')}}\"\n }\n ],\n \"resumePreviousJobId\": \"\"\n },\n \"jobDir\": \"\",\n \"masterConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"masterType\": \"\",\n \"network\": \"\",\n \"packageUris\": [\n \"\"\n ],\n \"parameterServerConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"parameterServerCount\": \"\",\n \"parameterServerType\": \"\",\n \"pythonModule\": \"\",\n \"pythonVersion\": \"\",\n \"region\": \"\",\n \"runtimeVersion\": \"\",\n \"scaleTier\": \"{{oneOf (array 'BASIC' 'STANDARD_1' 'PREMIUM_1' 'BASIC_GPU' 'BASIC_TPU' 'CUSTOM')}}\",\n \"scheduling\": {\n \"maxRunningTime\": \"\",\n \"maxWaitTime\": \"\",\n \"priority\": {{faker 'number.int' max=99999}}\n },\n \"serviceAccount\": \"\",\n \"useChiefInTfConfig\": {{faker 'datatype.boolean'}},\n \"workerConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"workerCount\": \"\",\n \"workerType\": \"\"\n },\n \"trainingOutput\": {\n \"builtInAlgorithmOutput\": {\n \"framework\": \"\",\n \"modelPath\": \"\",\n \"pythonVersion\": \"\",\n \"runtimeVersion\": \"\"\n },\n \"completedTrialCount\": \"\",\n \"consumedMLUnits\": {{faker 'number.float'}},\n \"hyperparameterMetricTag\": \"\",\n \"isBuiltInAlgorithmJob\": {{faker 'datatype.boolean'}},\n \"isHyperparameterTuningJob\": {{faker 'datatype.boolean'}},\n \"trials\": [\n {\n \"allMetrics\": [\n {\n \"objectiveValue\": {{faker 'number.float'}},\n \"trainingStep\": \"\"\n }\n ],\n \"builtInAlgorithmOutput\": {\n \"framework\": \"\",\n \"modelPath\": \"\",\n \"pythonVersion\": \"\",\n \"runtimeVersion\": \"\"\n },\n \"endTime\": \"\",\n \"finalMetric\": {\n \"objectiveValue\": {{faker 'number.float'}},\n \"trainingStep\": \"\"\n },\n \"hyperparameters\": {},\n \"isTrialStoppedEarly\": {{faker 'datatype.boolean'}},\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'QUEUED' 'PREPARING' 'RUNNING' 'SUCCEEDED' 'FAILED' 'CANCELLING' 'CANCELLED')}}\",\n \"trialId\": \"\",\n \"webAccessUris\": {}\n }\n ],\n \"webAccessUris\": {}\n }\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0e14e9e3-f45c-4dee-84a9-6374b5efc7de", "documentation": "Creates a training or a batch prediction job.", "method": "post", "endpoint": "v1/:parent/jobs", "responses": [ { "uuid": "65ebaf33-b37f-42d0-ba8f-f5f431beb726", "body": "{\n \"createTime\": \"\",\n \"endTime\": \"\",\n \"errorMessage\": \"\",\n \"etag\": \"\",\n \"jobId\": \"\",\n \"jobPosition\": \"\",\n \"labels\": {},\n \"predictionInput\": {\n \"batchSize\": \"\",\n \"dataFormat\": \"{{oneOf (array 'DATA_FORMAT_UNSPECIFIED' 'JSON' 'TEXT' 'TF_RECORD' 'TF_RECORD_GZIP' 'CSV')}}\",\n \"inputPaths\": [\n \"\"\n ],\n \"maxWorkerCount\": \"\",\n \"modelName\": \"\",\n \"outputDataFormat\": \"{{oneOf (array 'DATA_FORMAT_UNSPECIFIED' 'JSON' 'TEXT' 'TF_RECORD' 'TF_RECORD_GZIP' 'CSV')}}\",\n \"outputPath\": \"\",\n \"region\": \"\",\n \"runtimeVersion\": \"\",\n \"signatureName\": \"\",\n \"uri\": \"\",\n \"versionName\": \"\"\n },\n \"predictionOutput\": {\n \"errorCount\": \"\",\n \"nodeHours\": {{faker 'number.float'}},\n \"outputPath\": \"\",\n \"predictionCount\": \"\"\n },\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'QUEUED' 'PREPARING' 'RUNNING' 'SUCCEEDED' 'FAILED' 'CANCELLING' 'CANCELLED')}}\",\n \"trainingInput\": {\n \"args\": [\n \"\"\n ],\n \"enableWebAccess\": {{faker 'datatype.boolean'}},\n \"encryptionConfig\": {\n \"kmsKeyName\": \"\"\n },\n \"evaluatorConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"evaluatorCount\": \"\",\n \"evaluatorType\": \"\",\n \"hyperparameters\": {\n \"algorithm\": \"{{oneOf (array 'ALGORITHM_UNSPECIFIED' 'GRID_SEARCH' 'RANDOM_SEARCH')}}\",\n \"enableTrialEarlyStopping\": {{faker 'datatype.boolean'}},\n \"goal\": \"{{oneOf (array 'GOAL_TYPE_UNSPECIFIED' 'MAXIMIZE' 'MINIMIZE')}}\",\n \"hyperparameterMetricTag\": \"\",\n \"maxFailedTrials\": {{faker 'number.int' max=99999}},\n \"maxParallelTrials\": {{faker 'number.int' max=99999}},\n \"maxTrials\": {{faker 'number.int' max=99999}},\n \"params\": [\n {\n \"categoricalValues\": [\n \"\"\n ],\n \"discreteValues\": [\n {{faker 'number.float'}}\n ],\n \"maxValue\": {{faker 'number.float'}},\n \"minValue\": {{faker 'number.float'}},\n \"parameterName\": \"\",\n \"scaleType\": \"{{oneOf (array 'NONE' 'UNIT_LINEAR_SCALE' 'UNIT_LOG_SCALE' 'UNIT_REVERSE_LOG_SCALE')}}\",\n \"type\": \"{{oneOf (array 'PARAMETER_TYPE_UNSPECIFIED' 'DOUBLE' 'INTEGER' 'CATEGORICAL' 'DISCRETE')}}\"\n }\n ],\n \"resumePreviousJobId\": \"\"\n },\n \"jobDir\": \"\",\n \"masterConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"masterType\": \"\",\n \"network\": \"\",\n \"packageUris\": [\n \"\"\n ],\n \"parameterServerConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"parameterServerCount\": \"\",\n \"parameterServerType\": \"\",\n \"pythonModule\": \"\",\n \"pythonVersion\": \"\",\n \"region\": \"\",\n \"runtimeVersion\": \"\",\n \"scaleTier\": \"{{oneOf (array 'BASIC' 'STANDARD_1' 'PREMIUM_1' 'BASIC_GPU' 'BASIC_TPU' 'CUSTOM')}}\",\n \"scheduling\": {\n \"maxRunningTime\": \"\",\n \"maxWaitTime\": \"\",\n \"priority\": {{faker 'number.int' max=99999}}\n },\n \"serviceAccount\": \"\",\n \"useChiefInTfConfig\": {{faker 'datatype.boolean'}},\n \"workerConfig\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"containerArgs\": [\n \"\"\n ],\n \"containerCommand\": [\n \"\"\n ],\n \"diskConfig\": {\n \"bootDiskSizeGb\": {{faker 'number.int' max=99999}},\n \"bootDiskType\": \"\"\n },\n \"imageUri\": \"\",\n \"tpuTfVersion\": \"\"\n },\n \"workerCount\": \"\",\n \"workerType\": \"\"\n },\n \"trainingOutput\": {\n \"builtInAlgorithmOutput\": {\n \"framework\": \"\",\n \"modelPath\": \"\",\n \"pythonVersion\": \"\",\n \"runtimeVersion\": \"\"\n },\n \"completedTrialCount\": \"\",\n \"consumedMLUnits\": {{faker 'number.float'}},\n \"hyperparameterMetricTag\": \"\",\n \"isBuiltInAlgorithmJob\": {{faker 'datatype.boolean'}},\n \"isHyperparameterTuningJob\": {{faker 'datatype.boolean'}},\n \"trials\": [\n {\n \"allMetrics\": [\n {\n \"objectiveValue\": {{faker 'number.float'}},\n \"trainingStep\": \"\"\n }\n ],\n \"builtInAlgorithmOutput\": {\n \"framework\": \"\",\n \"modelPath\": \"\",\n \"pythonVersion\": \"\",\n \"runtimeVersion\": \"\"\n },\n \"endTime\": \"\",\n \"finalMetric\": {\n \"objectiveValue\": {{faker 'number.float'}},\n \"trainingStep\": \"\"\n },\n \"hyperparameters\": {},\n \"isTrialStoppedEarly\": {{faker 'datatype.boolean'}},\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'QUEUED' 'PREPARING' 'RUNNING' 'SUCCEEDED' 'FAILED' 'CANCELLING' 'CANCELLED')}}\",\n \"trialId\": \"\",\n \"webAccessUris\": {}\n }\n ],\n \"webAccessUris\": {}\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e4887cc2-d9d7-4147-b8b2-e1af59252337", "documentation": "List all locations that provides at least one type of CMLE capability.", "method": "get", "endpoint": "v1/:parent/locations", "responses": [ { "uuid": "5240a922-749d-4f82-be4e-0e560d2354f1", "body": "{\n \"locations\": [\n {\n \"capabilities\": [\n {\n \"availableAccelerators\": [\n \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'TRAINING' 'BATCH_PREDICTION' 'ONLINE_PREDICTION')}}\"\n }\n ],\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e0838fbc-3372-4684-8c5d-ab1461e93afa", "documentation": "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: {}.", "method": "get", "endpoint": "v1/:parent/models", "responses": [ { "uuid": "4b74d0a0-b775-4c1a-b913-22eb770c4c6a", "body": "{\n \"models\": [\n {\n \"defaultVersion\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"autoScaling\": {\n \"maxNodes\": {{faker 'number.int' max=99999}},\n \"metrics\": [\n {\n \"name\": \"{{oneOf (array 'METRIC_NAME_UNSPECIFIED' 'CPU_USAGE' 'GPU_DUTY_CYCLE')}}\",\n \"target\": {{faker 'number.int' max=99999}}\n }\n ],\n \"minNodes\": {{faker 'number.int' max=99999}}\n },\n \"container\": {\n \"args\": [\n \"\"\n ],\n \"command\": [\n \"\"\n ],\n \"env\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"image\": \"\",\n \"ports\": [\n {\n \"containerPort\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"createTime\": \"\",\n \"deploymentUri\": \"\",\n \"description\": \"\",\n \"errorMessage\": \"\",\n \"etag\": \"\",\n \"explanationConfig\": {\n \"integratedGradientsAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n },\n \"sampledShapleyAttribution\": {\n \"numPaths\": {{faker 'number.int' max=99999}}\n },\n \"xraiAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n }\n },\n \"framework\": \"{{oneOf (array 'FRAMEWORK_UNSPECIFIED' 'TENSORFLOW' 'SCIKIT_LEARN' 'XGBOOST')}}\",\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"labels\": {},\n \"lastMigrationModelId\": \"\",\n \"lastMigrationTime\": \"\",\n \"lastUseTime\": \"\",\n \"machineType\": \"\",\n \"manualScaling\": {\n \"nodes\": {{faker 'number.int' max=99999}}\n },\n \"name\": \"\",\n \"packageUris\": [\n \"\"\n ],\n \"predictionClass\": \"\",\n \"pythonVersion\": \"\",\n \"requestLoggingConfig\": {\n \"bigqueryTableName\": \"\",\n \"samplingPercentage\": {{faker 'number.float'}}\n },\n \"routes\": {\n \"health\": \"\",\n \"predict\": \"\"\n },\n \"runtimeVersion\": \"\",\n \"serviceAccount\": \"\",\n \"state\": \"{{oneOf (array 'UNKNOWN' 'READY' 'CREATING' 'FAILED' 'DELETING' 'UPDATING')}}\"\n },\n \"description\": \"\",\n \"etag\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"onlinePredictionConsoleLogging\": {{faker 'datatype.boolean'}},\n \"onlinePredictionLogging\": {{faker 'datatype.boolean'}},\n \"regions\": [\n \"\"\n ]\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b4ecfab1-cfd6-42ce-9799-e98a228a5cb1", "documentation": "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.", "method": "post", "endpoint": "v1/:parent/models", "responses": [ { "uuid": "1bb1300d-af58-4660-a3d0-4df8f469d6ec", "body": "{\n \"defaultVersion\": {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"autoScaling\": {\n \"maxNodes\": {{faker 'number.int' max=99999}},\n \"metrics\": [\n {\n \"name\": \"{{oneOf (array 'METRIC_NAME_UNSPECIFIED' 'CPU_USAGE' 'GPU_DUTY_CYCLE')}}\",\n \"target\": {{faker 'number.int' max=99999}}\n }\n ],\n \"minNodes\": {{faker 'number.int' max=99999}}\n },\n \"container\": {\n \"args\": [\n \"\"\n ],\n \"command\": [\n \"\"\n ],\n \"env\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"image\": \"\",\n \"ports\": [\n {\n \"containerPort\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"createTime\": \"\",\n \"deploymentUri\": \"\",\n \"description\": \"\",\n \"errorMessage\": \"\",\n \"etag\": \"\",\n \"explanationConfig\": {\n \"integratedGradientsAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n },\n \"sampledShapleyAttribution\": {\n \"numPaths\": {{faker 'number.int' max=99999}}\n },\n \"xraiAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n }\n },\n \"framework\": \"{{oneOf (array 'FRAMEWORK_UNSPECIFIED' 'TENSORFLOW' 'SCIKIT_LEARN' 'XGBOOST')}}\",\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"labels\": {},\n \"lastMigrationModelId\": \"\",\n \"lastMigrationTime\": \"\",\n \"lastUseTime\": \"\",\n \"machineType\": \"\",\n \"manualScaling\": {\n \"nodes\": {{faker 'number.int' max=99999}}\n },\n \"name\": \"\",\n \"packageUris\": [\n \"\"\n ],\n \"predictionClass\": \"\",\n \"pythonVersion\": \"\",\n \"requestLoggingConfig\": {\n \"bigqueryTableName\": \"\",\n \"samplingPercentage\": {{faker 'number.float'}}\n },\n \"routes\": {\n \"health\": \"\",\n \"predict\": \"\"\n },\n \"runtimeVersion\": \"\",\n \"serviceAccount\": \"\",\n \"state\": \"{{oneOf (array 'UNKNOWN' 'READY' 'CREATING' 'FAILED' 'DELETING' 'UPDATING')}}\"\n },\n \"description\": \"\",\n \"etag\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"onlinePredictionConsoleLogging\": {{faker 'datatype.boolean'}},\n \"onlinePredictionLogging\": {{faker 'datatype.boolean'}},\n \"regions\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c8204c01-1a6b-45e8-8a6a-298d2f016242", "documentation": "Lists all the studies in a region for an associated project.", "method": "get", "endpoint": "v1/:parent/studies", "responses": [ { "uuid": "2f6e4aea-ae14-41c2-b1d9-1f6da0ccf847", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f05e462d-2cd3-469e-a67f-da10a2e6140a", "documentation": "Creates a study.", "method": "post", "endpoint": "v1/:parent/studies", "responses": [ { "uuid": "bbe97239-2dcd-46bb-9008-c65d7798d631", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a6541f86-db2f-47c1-87fd-95d21df06b63", "documentation": "Lists the trials associated with a study.", "method": "get", "endpoint": "v1/:parent/trials", "responses": [ { "uuid": "edff1b98-9a97-4cab-949c-c58d4d27f653", "body": "{\n \"trials\": [\n {\n \"clientId\": \"\",\n \"endTime\": \"\",\n \"finalMeasurement\": {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n },\n \"infeasibleReason\": \"\",\n \"measurements\": [\n {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n }\n ],\n \"name\": \"\",\n \"parameters\": [\n {\n \"floatValue\": {{faker 'number.float'}},\n \"intValue\": \"\",\n \"parameter\": \"\",\n \"stringValue\": \"\"\n }\n ],\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'REQUESTED' 'ACTIVE' 'COMPLETED' 'STOPPING')}}\",\n \"trialInfeasible\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c89bd121-d846-4fcc-85ba-707f8be46b4a", "documentation": "Adds a user provided trial to a study.", "method": "post", "endpoint": "v1/:parent/trials", "responses": [ { "uuid": "332c8ed2-b77c-4542-9f0a-d1e1f2681a9b", "body": "{\n \"clientId\": \"\",\n \"endTime\": \"\",\n \"finalMeasurement\": {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n },\n \"infeasibleReason\": \"\",\n \"measurements\": [\n {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n }\n ],\n \"name\": \"\",\n \"parameters\": [\n {\n \"floatValue\": {{faker 'number.float'}},\n \"intValue\": \"\",\n \"parameter\": \"\",\n \"stringValue\": \"\"\n }\n ],\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'REQUESTED' 'ACTIVE' 'COMPLETED' 'STOPPING')}}\",\n \"trialInfeasible\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a8674a6f-55fe-4366-8a45-78591974e6ee", "documentation": "Lists the pareto-optimal trials for multi-objective study or the optimal trials for single-objective study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency", "method": "post", "endpoint": "v1/:parent/trials:listOptimalTrials", "responses": [ { "uuid": "4d9d99f3-23c3-4443-b00e-4cc1e3bab9d4", "body": "{\n \"trials\": [\n {\n \"clientId\": \"\",\n \"endTime\": \"\",\n \"finalMeasurement\": {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n },\n \"infeasibleReason\": \"\",\n \"measurements\": [\n {\n \"elapsedTime\": \"\",\n \"metrics\": [\n {\n \"metric\": \"\",\n \"value\": {{faker 'number.float'}}\n }\n ],\n \"stepCount\": \"\"\n }\n ],\n \"name\": \"\",\n \"parameters\": [\n {\n \"floatValue\": {{faker 'number.float'}},\n \"intValue\": \"\",\n \"parameter\": \"\",\n \"stringValue\": \"\"\n }\n ],\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'REQUESTED' 'ACTIVE' 'COMPLETED' 'STOPPING')}}\",\n \"trialInfeasible\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "be2170d1-93f7-41ee-b25c-30ac43b1fcc5", "documentation": "Adds one or more trials to a study, with parameter values suggested by AI Platform Vizier. Returns a long-running operation associated with the generation of trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse.", "method": "post", "endpoint": "v1/:parent/trials:suggest", "responses": [ { "uuid": "81cf1c01-53b6-48ea-b3f2-3b6eaae8dad4", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "abfb0027-b23a-4ab6-a512-5f8cb33e9ccf", "documentation": "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: {}.", "method": "get", "endpoint": "v1/:parent/versions", "responses": [ { "uuid": "c8b25c36-483b-4257-921a-7cc00ce719fb", "body": "{\n \"nextPageToken\": \"\",\n \"versions\": [\n {\n \"acceleratorConfig\": {\n \"count\": \"\",\n \"type\": \"{{oneOf (array 'ACCELERATOR_TYPE_UNSPECIFIED' 'NVIDIA_TESLA_K80' 'NVIDIA_TESLA_P100' 'NVIDIA_TESLA_V100' 'NVIDIA_TESLA_P4' 'NVIDIA_TESLA_T4' 'NVIDIA_TESLA_A100' 'TPU_V2' 'TPU_V3' 'TPU_V2_POD' 'TPU_V3_POD')}}\"\n },\n \"autoScaling\": {\n \"maxNodes\": {{faker 'number.int' max=99999}},\n \"metrics\": [\n {\n \"name\": \"{{oneOf (array 'METRIC_NAME_UNSPECIFIED' 'CPU_USAGE' 'GPU_DUTY_CYCLE')}}\",\n \"target\": {{faker 'number.int' max=99999}}\n }\n ],\n \"minNodes\": {{faker 'number.int' max=99999}}\n },\n \"container\": {\n \"args\": [\n \"\"\n ],\n \"command\": [\n \"\"\n ],\n \"env\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"image\": \"\",\n \"ports\": [\n {\n \"containerPort\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"createTime\": \"\",\n \"deploymentUri\": \"\",\n \"description\": \"\",\n \"errorMessage\": \"\",\n \"etag\": \"\",\n \"explanationConfig\": {\n \"integratedGradientsAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n },\n \"sampledShapleyAttribution\": {\n \"numPaths\": {{faker 'number.int' max=99999}}\n },\n \"xraiAttribution\": {\n \"numIntegralSteps\": {{faker 'number.int' max=99999}}\n }\n },\n \"framework\": \"{{oneOf (array 'FRAMEWORK_UNSPECIFIED' 'TENSORFLOW' 'SCIKIT_LEARN' 'XGBOOST')}}\",\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"labels\": {},\n \"lastMigrationModelId\": \"\",\n \"lastMigrationTime\": \"\",\n \"lastUseTime\": \"\",\n \"machineType\": \"\",\n \"manualScaling\": {\n \"nodes\": {{faker 'number.int' max=99999}}\n },\n \"name\": \"\",\n \"packageUris\": [\n \"\"\n ],\n \"predictionClass\": \"\",\n \"pythonVersion\": \"\",\n \"requestLoggingConfig\": {\n \"bigqueryTableName\": \"\",\n \"samplingPercentage\": {{faker 'number.float'}}\n },\n \"routes\": {\n \"health\": \"\",\n \"predict\": \"\"\n },\n \"runtimeVersion\": \"\",\n \"serviceAccount\": \"\",\n \"state\": \"{{oneOf (array 'UNKNOWN' 'READY' 'CREATING' 'FAILED' 'DELETING' 'UPDATING')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f175cdd8-73f7-498a-a7bb-3152d0c5b6a3", "documentation": "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.", "method": "post", "endpoint": "v1/:parent/versions", "responses": [ { "uuid": "3c1ebad9-6afd-467e-a071-0a09b256c257", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b2c56e58-e6c7-4178-9a6b-b174a770b696", "documentation": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", "method": "get", "endpoint": "v1/:resource:getIamPolicy", "responses": [ { "uuid": "81c91688-c0c4-444e-91d2-89d0e2ab31cd", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c7d0c898-fb8e-4aa7-a877-8cdfc74a88a6", "documentation": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", "method": "post", "endpoint": "v1/:resource:setIamPolicy", "responses": [ { "uuid": "39e7da61-da34-43e1-8f9a-7004ac451fea", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7603a0c4-ebe6-43dc-837b-7c7b66318f04", "documentation": "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.", "method": "post", "endpoint": "v1/:resource:testIamPermissions", "responses": [ { "uuid": "03c95a1c-cbe5-4b22-b9ea-2879dd786334", "body": "{\n \"permissions\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "4b93e83f-c3d8-4c80-8531-2f5b24f750dd" }, { "type": "route", "uuid": "6d1f5453-7fc2-469e-81c4-8848f69f326b" }, { "type": "route", "uuid": "eef10cb0-5b59-4af6-9586-a42950149c18" }, { "type": "route", "uuid": "e02b8c2b-d2ba-479d-8035-f85336345e45" }, { "type": "route", "uuid": "78f01643-6bf7-46cb-8830-ccb404782b8a" }, { "type": "route", "uuid": "97b9ede9-6c7f-426b-b6dc-736a112bb35a" }, { "type": "route", "uuid": "b58b8852-e608-44cd-94ac-a87d35cbbb61" }, { "type": "route", "uuid": "448f771b-faaf-48c3-a85e-ea418c12fe39" }, { "type": "route", "uuid": "a923a446-23c4-49d2-b5be-2074c3d49135" }, { "type": "route", "uuid": "f6f34107-b77d-40b5-8930-b3744ca8582b" }, { "type": "route", "uuid": "ca6b627b-e980-4b36-9bfa-03c30ca6b459" }, { "type": "route", "uuid": "31b18457-04dc-47d4-8a55-204d70c2861c" }, { "type": "route", "uuid": "2ca0098c-7358-422e-9824-558fce923398" }, { "type": "route", "uuid": "9a0afbbf-223d-40f7-9a90-6b92f54a9942" }, { "type": "route", "uuid": "0e14e9e3-f45c-4dee-84a9-6374b5efc7de" }, { "type": "route", "uuid": "e4887cc2-d9d7-4147-b8b2-e1af59252337" }, { "type": "route", "uuid": "e0838fbc-3372-4684-8c5d-ab1461e93afa" }, { "type": "route", "uuid": "b4ecfab1-cfd6-42ce-9799-e98a228a5cb1" }, { "type": "route", "uuid": "c8204c01-1a6b-45e8-8a6a-298d2f016242" }, { "type": "route", "uuid": "f05e462d-2cd3-469e-a67f-da10a2e6140a" }, { "type": "route", "uuid": "a6541f86-db2f-47c1-87fd-95d21df06b63" }, { "type": "route", "uuid": "c89bd121-d846-4fcc-85ba-707f8be46b4a" }, { "type": "route", "uuid": "a8674a6f-55fe-4366-8a45-78591974e6ee" }, { "type": "route", "uuid": "be2170d1-93f7-41ee-b25c-30ac43b1fcc5" }, { "type": "route", "uuid": "abfb0027-b23a-4ab6-a512-5f8cb33e9ccf" }, { "type": "route", "uuid": "f175cdd8-73f7-498a-a7bb-3152d0c5b6a3" }, { "type": "route", "uuid": "b2c56e58-e6c7-4178-9a6b-b174a770b696" }, { "type": "route", "uuid": "c7d0c898-fb8e-4aa7-a877-8cdfc74a88a6" }, { "type": "route", "uuid": "7603a0c4-ebe6-43dc-837b-7c7b66318f04" } ] }