@maxim_mazurok/gapi.client.batch-v1 0.0.20240315 → 0.0.20240411

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 (2) hide show
  1. package/index.d.ts +5 -5
  2. 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: 20240315
12
+ // Revision: 20240411
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -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[];
@@ -378,7 +378,7 @@ declare namespace gapi.client {
378
378
  name?: string;
379
379
  }
380
380
  interface LocationPolicy {
381
- /** A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case. */
381
+ /** A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. Mixing locations from different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains locations from two distinct regions: us-central1 and us-west1. This combination will trigger an error. */
382
382
  allowedLocations?: string[];
383
383
  }
384
384
  interface LogsPolicy {
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.batch-v1",
3
- "version": "0.0.20240315",
3
+ "version": "0.0.20240411",
4
4
  "description": "TypeScript typings for Batch API v1",
5
5
  "repository": {
6
6
  "type": "git",