update API descriptions

This commit is contained in:
Sebastian Thiel
2020-07-10 09:11:32 +08:00
parent b6ee34dcff
commit 69fb05c4e1
271 changed files with 82506 additions and 23249 deletions

View File

@@ -447,7 +447,7 @@
}
}
},
"revision": "20200408",
"revision": "20200702",
"rootUrl": "https://remotebuildexecution.googleapis.com/",
"schemas": {
"BuildBazelRemoteExecutionV2Action": {
@@ -1537,6 +1537,7 @@
"PERMISSION_DENIED",
"INTERNAL",
"ABORTED",
"FAILED_PRECONDITION",
"CLEANUP_ERROR",
"DOWNLOAD_INPUTS_ERROR",
"UNKNOWN",
@@ -1562,7 +1563,9 @@
"DOCKER_CREATE_COMPUTE_SYSTEM_ERROR",
"DOCKER_PREPARELAYER_ERROR",
"DOCKER_INCOMPATIBLE_OS_ERROR",
"DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND"
"DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND",
"DOCKER_CREATE_RUNTIME_PERMISSION_DENIED",
"DOCKER_CREATE_PROCESS_FILE_NOT_FOUND"
],
"enumDescriptions": [
"The command succeeded.",
@@ -1572,6 +1575,7 @@
"The command failed due to permission errors.",
"The command failed because of some invariants expected by the underlying\nsystem have been broken. This usually indicates a bug wit the system.",
"The command was aborted.",
"The command failed because the system is not in a state required for the\ncommand, e.g. the command inputs cannot be found on the server.",
"The bot failed to do the cleanup, e.g. unable to delete the command\nworking directory or the command process.",
"The bot failed to download the inputs.",
"Unknown error.",
@@ -1597,7 +1601,9 @@
"Docker failed to run containers with CreateComputeSystem error.",
"Docker failed to run containers with hcsshim::PrepareLayer error.",
"Docker incompatible operating system error.",
"Docker failed to create OCI runtime because of file not found."
"Docker failed to create OCI runtime because of file not found.",
"Docker failed to create OCI runtime because of permission denied.",
"Docker failed to create process because of file not found."
],
"type": "string"
},
@@ -1655,6 +1661,23 @@
},
"type": "object"
},
"GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale": {
"description": "Autoscale defines the autoscaling policy of a worker pool.",
"id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale",
"properties": {
"maxSize": {
"description": "The maximal number of workers. Must be equal to or greater than min_size.",
"format": "int64",
"type": "string"
},
"minSize": {
"description": "The minimal number of workers. Must be greater than 0.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": {
"description": "The request used for `CreateInstance`.",
"id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest",
@@ -1826,16 +1849,20 @@
"description": "The request used for `UpdateInstance`.",
"id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest",
"properties": {
"instance": {
"$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance",
"description": "Specifies the instance to update."
},
"loggingEnabled": {
"description": "Whether to enable Stackdriver logging for this instance.",
"description": "Deprecated, use instance.logging_enabled instead.\nWhether to enable Stackdriver logging for this instance.",
"type": "boolean"
},
"name": {
"description": "Name of the instance to update.\nFormat: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.",
"description": "Deprecated, use instance.Name instead.\nName of the instance to update.\nFormat: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.",
"type": "string"
},
"updateMask": {
"description": "The fields to update.",
"description": "The update mask applies to instance. For the `FieldMask` definition, see\nhttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask\nIf an empty update_mask is provided, only the non-default valued field in\nthe worker pool field will be updated. Note that in order to update a field\nto the default value (zero, false, empty string) an explicit update_mask\nmust be provided.",
"format": "google-fieldmask",
"type": "string"
}
@@ -1902,6 +1929,10 @@
"reserved": {
"description": "Determines whether the worker is reserved (equivalent to a Compute Engine\non-demand VM and therefore won't be preempted).\nSee [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more\ndetails.",
"type": "boolean"
},
"vmImage": {
"description": "The name of the image used by each VM.",
"type": "string"
}
},
"type": "object"
@@ -1910,6 +1941,14 @@
"description": "A worker pool resource in the Remote Build Execution API.",
"id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool",
"properties": {
"autoscale": {
"$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale",
"description": "The autoscale policy to apply on a pool."
},
"channel": {
"description": "Channel specifies the release channel of the pool.",
"type": "string"
},
"name": {
"description": "WorkerPool resource name formatted as:\n`projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.\nname should not be populated when creating a worker pool since it is\nprovided in the `poolId` field.",
"type": "string"