@maxim_mazurok/gapi.client.batch-v1 0.0.20241021 → 0.0.20241204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://batch.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241204
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -203,7 +203,7 @@ declare namespace gapi.client {
|
|
|
203
203
|
}
|
|
204
204
|
interface CancelOperationRequest {}
|
|
205
205
|
interface CloudLoggingOption {
|
|
206
|
-
/** Optional. Set this
|
|
206
|
+
/** 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. */
|
|
207
207
|
useGenericTaskMonitoredResource?: boolean;
|
|
208
208
|
}
|
|
209
209
|
interface ComputeResource {
|
|
@@ -282,7 +282,7 @@ declare namespace gapi.client {
|
|
|
282
282
|
installGpuDrivers?: boolean;
|
|
283
283
|
/** Optional. Set this field true if you want Batch to install Ops Agent on your behalf. Default is false. */
|
|
284
284
|
installOpsAgent?: boolean;
|
|
285
|
-
/** 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. */
|
|
285
|
+
/** 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. */
|
|
286
286
|
instanceTemplate?: string;
|
|
287
287
|
/** InstancePolicy. */
|
|
288
288
|
policy?: InstancePolicy;
|
|
@@ -394,11 +394,11 @@ declare namespace gapi.client {
|
|
|
394
394
|
allowedLocations?: string[];
|
|
395
395
|
}
|
|
396
396
|
interface LogsPolicy {
|
|
397
|
-
/** Optional.
|
|
397
|
+
/** Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally set this field to configure additional settings for Cloud Logging. */
|
|
398
398
|
cloudLoggingOption?: CloudLoggingOption;
|
|
399
|
-
/**
|
|
399
|
+
/** If and where logs should be saved. */
|
|
400
400
|
destination?: string;
|
|
401
|
-
/**
|
|
401
|
+
/** 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/`. */
|
|
402
402
|
logsPath?: string;
|
|
403
403
|
}
|
|
404
404
|
interface Message {
|
|
@@ -446,7 +446,7 @@ declare namespace gapi.client {
|
|
|
446
446
|
createTime?: string;
|
|
447
447
|
/** Output only. The time the operation finished running. */
|
|
448
448
|
endTime?: string;
|
|
449
|
-
/** 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`. */
|
|
449
|
+
/** 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`. */
|
|
450
450
|
requestedCancellation?: boolean;
|
|
451
451
|
/** Output only. Human-readable status of the operation, if any. */
|
|
452
452
|
statusMessage?: string;
|
|
@@ -835,7 +835,7 @@ declare namespace gapi.client {
|
|
|
835
835
|
taskGroups: TaskGroupsResource;
|
|
836
836
|
}
|
|
837
837
|
interface OperationsResource {
|
|
838
|
-
/** 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
|
|
838
|
+
/** 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`. */
|
|
839
839
|
cancel(request: {
|
|
840
840
|
/** V1 error format. */
|
|
841
841
|
'$.xgafv'?: string;
|