|
404 | 404 | "operations": {
|
405 | 405 | "methods": {
|
406 | 406 | "cancel": {
|
407 |
| - "description": "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`.", |
| 407 | + "description": "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`.", |
408 | 408 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
|
409 | 409 | "httpMethod": "POST",
|
410 | 410 | "id": "batch.projects.locations.operations.cancel",
|
|
561 | 561 | }
|
562 | 562 | }
|
563 | 563 | },
|
564 |
| - "revision": "20240925", |
| 564 | + "revision": "20241204", |
565 | 565 | "rootUrl": "https://batch.googleapis.com/",
|
566 | 566 | "schemas": {
|
567 | 567 | "Accelerator": {
|
|
1070 | 1070 | "id": "CloudLoggingOption",
|
1071 | 1071 | "properties": {
|
1072 | 1072 | "useGenericTaskMonitoredResource": {
|
1073 |
| - "description": "Optional. Set this flag to true to change the [monitored resource type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) type.", |
| 1073 | + "description": "Optional. Set this field to `true` to change the [monitored resource type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) type.", |
1074 | 1074 | "type": "boolean"
|
1075 | 1075 | }
|
1076 | 1076 | },
|
|
1264 | 1264 | "type": "string"
|
1265 | 1265 | },
|
1266 | 1266 | "reservation": {
|
1267 |
| - "description": "Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation. Additionally, VMs will not consume any reservation if \"NO_RESERVATION\" is specified.", |
| 1267 | + "description": "Optional. If not specified (default), VMs will consume any applicable reservation. If \"NO_RESERVATION\" is specified, VMs will not consume any reservation. Otherwise, if specified, VMs will consume only the specified reservation.", |
1268 | 1268 | "type": "string"
|
1269 | 1269 | }
|
1270 | 1270 | },
|
|
1287 | 1287 | "type": "boolean"
|
1288 | 1288 | },
|
1289 | 1289 | "instanceTemplate": {
|
1290 |
| - "description": "Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates. You can specify the global instance template as a full or partial URL.", |
| 1290 | + "description": "Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates from the same project as the job. You can specify the global instance template as a full or partial URL.", |
1291 | 1291 | "type": "string"
|
1292 | 1292 | },
|
1293 | 1293 | "policy": {
|
|
1637 | 1637 | "type": "object"
|
1638 | 1638 | },
|
1639 | 1639 | "LogsPolicy": {
|
1640 |
| - "description": "LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.", |
| 1640 | + "description": "LogsPolicy describes if and how a job's logs are preserved. Logs include information that is automatically written by the Batch service agent and any information that you configured the job's runnables to write to the `stdout` or `stderr` streams.", |
1641 | 1641 | "id": "LogsPolicy",
|
1642 | 1642 | "properties": {
|
1643 | 1643 | "cloudLoggingOption": {
|
1644 | 1644 | "$ref": "CloudLoggingOption",
|
1645 |
| - "description": "Optional. Additional settings for Cloud Logging. It will only take effect when the destination of `LogsPolicy` is set to `CLOUD_LOGGING`." |
| 1645 | + "description": "Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally set this field to configure additional settings for Cloud Logging." |
1646 | 1646 | },
|
1647 | 1647 | "destination": {
|
1648 |
| - "description": "Where logs should be saved.", |
| 1648 | + "description": "If and where logs should be saved.", |
1649 | 1649 | "enum": [
|
1650 | 1650 | "DESTINATION_UNSPECIFIED",
|
1651 | 1651 | "CLOUD_LOGGING",
|
1652 | 1652 | "PATH"
|
1653 | 1653 | ],
|
1654 | 1654 | "enumDescriptions": [
|
1655 |
| - "Logs are not preserved.", |
1656 |
| - "Logs are streamed to Cloud Logging.", |
1657 |
| - "Logs are saved to a file path." |
| 1655 | + "(Default) Logs are not preserved.", |
| 1656 | + "Logs are streamed to Cloud Logging. Optionally, you can configure additional settings in the `cloudLoggingOption` field.", |
| 1657 | + "Logs are saved to the file path specified in the `logsPath` field." |
1658 | 1658 | ],
|
1659 | 1659 | "type": "string"
|
1660 | 1660 | },
|
1661 | 1661 | "logsPath": {
|
1662 |
| - "description": "The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.", |
| 1662 | + "description": "When `destination` is set to `PATH`, you must set this field to the path where you want logs to be saved. This path can point to a local directory on the VM or (if congifured) a directory under the mount path of any Cloud Storage bucket, network file system (NFS), or writable persistent disk that is mounted to the job. For example, if the job has a bucket with `mountPath` set to `/mnt/disks/my-bucket`, you can write logs to the root directory of the `remotePath` of that bucket by setting this field to `/mnt/disks/my-bucket/`.", |
1663 | 1663 | "type": "string"
|
1664 | 1664 | }
|
1665 | 1665 | },
|
|
1835 | 1835 | "type": "string"
|
1836 | 1836 | },
|
1837 | 1837 | "requestedCancellation": {
|
1838 |
| - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
| 1838 | + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
1839 | 1839 | "readOnly": true,
|
1840 | 1840 | "type": "boolean"
|
1841 | 1841 | },
|
|
0 commit comments