@maxim_mazurok/gapi.client.batch-v1 0.0.20240305 → 0.0.20240324

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.
Files changed (3) hide show
  1. package/index.d.ts +6 -6
  2. package/package.json +1 -1
  3. package/readme.md +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: 20240305
12
+ // Revision: 20240324
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -145,7 +145,7 @@ declare namespace gapi.client {
145
145
  interface AgentTaskSpec {
146
146
  /** Environment variables to set before running the Task. */
147
147
  environment?: AgentEnvironment;
148
- /** Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. */
148
+ /** Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], */
149
149
  maxRunDuration?: string;
150
150
  /** AgentTaskRunnable is runanbles that will be executed on the agent. */
151
151
  runnables?: AgentTaskRunnable[];
@@ -177,7 +177,7 @@ declare namespace gapi.client {
177
177
  network?: NetworkPolicy;
178
178
  /** The placement policy. */
179
179
  placement?: PlacementPolicy;
180
- /** Service account that VMs will run as. */
180
+ /** Defines the service account for Batch-created VMs. If omitted, the [default Compute Engine service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. Must match the service account specified in any used instance template configured in the Batch job. Includes the following fields: * email: The service account's email address. If not set, the default Compute Engine service account is used. * scopes: Additional OAuth scopes to grant the service account, beyond the default cloud-platform scope. (list of strings) */
181
181
  serviceAccount?: ServiceAccount;
182
182
  /** Optional. Tags applied to the VM instances. The tags identify valid sources or targets for network firewalls. Each tag must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). */
183
183
  tags?: string[];
@@ -496,9 +496,9 @@ declare namespace gapi.client {
496
496
  text?: string;
497
497
  }
498
498
  interface ServiceAccount {
499
- /** Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here. */
499
+ /** Email address of the service account. */
500
500
  email?: string;
501
- /** List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default. */
501
+ /** List of scopes to be enabled for this service account. */
502
502
  scopes?: string[];
503
503
  }
504
504
  interface Status {
@@ -570,7 +570,7 @@ declare namespace gapi.client {
570
570
  lifecyclePolicies?: LifecyclePolicy[];
571
571
  /** Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10]. */
572
572
  maxRetryCount?: number;
573
- /** Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. */
573
+ /** Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], */
574
574
  maxRunDuration?: string;
575
575
  /** The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures. */
576
576
  runnables?: Runnable[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.batch-v1",
3
- "version": "0.0.20240305",
3
+ "version": "0.0.20240324",
4
4
  "description": "TypeScript typings for Batch API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TypeScript typings for Batch API v1
2
2
 
3
- An API to manage the running of batch resources on Google Cloud Platform.
3
+ An API to manage the running of Batch resources on Google Cloud Platform.
4
4
  For detailed description please check [documentation](https://cloud.google.com/batch/).
5
5
 
6
6
  ## Installing