@maxim_mazurok/gapi.client.batch-v1 0.0.20230416 → 0.0.20230503

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 +819 -410
  2. package/package.json +1 -1
  3. package/tests.ts +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: 20230416
12
+ // Revision: 20230503
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,325 +24,434 @@ declare namespace gapi.client {
24
24
  namespace batch {
25
25
  interface Accelerator {
26
26
  /** The number of accelerators of this type. */
27
- count?: string;
27
+ count?:
28
+ string;
28
29
  /** Deprecated: please use instances[0].install_gpu_drivers instead. */
29
- installGpuDrivers?: boolean;
30
+ installGpuDrivers?:
31
+ boolean;
30
32
  /** The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`. */
31
- type?: string;
33
+ type?:
34
+ string;
32
35
  }
33
36
  interface ActionCondition {
34
37
  /** Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed. */
35
- exitCodes?: number[];
38
+ exitCodes?:
39
+ number[];
36
40
  }
37
41
  interface AgentInfo {
38
42
  /** The assigned Job ID */
39
- jobId?: string;
43
+ jobId?:
44
+ string;
40
45
  /** When the AgentInfo is generated. */
41
- reportTime?: string;
46
+ reportTime?:
47
+ string;
42
48
  /** Agent state. */
43
- state?: string;
49
+ state?:
50
+ string;
44
51
  /** The assigned task group ID. */
45
- taskGroupId?: string;
52
+ taskGroupId?:
53
+ string;
46
54
  /** Task Info. */
47
- tasks?: AgentTaskInfo[];
55
+ tasks?:
56
+ AgentTaskInfo[];
48
57
  }
49
58
  interface AgentMetadata {
50
59
  /** When the VM agent started. Use agent_startup_time instead. */
51
- creationTime?: string;
60
+ creationTime?:
61
+ string;
52
62
  /**
53
63
  * Full name of the entity that created this vm. For MIG, this path is: projects/{project}/regions/{region}/InstanceGroupManagers/{igm} The value is retrieved from the vm metadata key
54
64
  * of "created-by".
55
65
  */
56
- creator?: string;
66
+ creator?:
67
+ string;
57
68
  /** image version for the VM that this agent is installed on. */
58
- imageVersion?: string;
69
+ imageVersion?:
70
+ string;
59
71
  /** GCP instance name (go/instance-name). */
60
- instance?: string;
72
+ instance?:
73
+ string;
61
74
  /** GCP instance ID (go/instance-id). */
62
- instanceId?: string;
75
+ instanceId?:
76
+ string;
63
77
  /** If the GCP instance has received preemption notice. */
64
- instancePreemptionNoticeReceived?: boolean;
78
+ instancePreemptionNoticeReceived?:
79
+ boolean;
65
80
  /** parsed contents of /etc/os-release */
66
- osRelease?: { [P in string]: string };
81
+ osRelease?:
82
+ { [P in string]: string };
67
83
  /** agent binary version running on VM */
68
- version?: string;
84
+ version?:
85
+ string;
69
86
  /** Agent zone. */
70
- zone?: string;
87
+ zone?:
88
+ string;
71
89
  }
72
90
  interface AgentTask {
73
91
  /** The intended state of the task. */
74
- intendedState?: string;
92
+ intendedState?:
93
+ string;
75
94
  /** The highest barrier reached by all tasks in the task's TaskGroup. */
76
- reachedBarrier?: string;
95
+ reachedBarrier?:
96
+ string;
77
97
  /** Task Spec. */
78
- spec?: TaskSpec;
98
+ spec?:
99
+ TaskSpec;
79
100
  /** Task status. */
80
- status?: TaskStatus;
101
+ status?:
102
+ TaskStatus;
81
103
  /** Task name. */
82
- task?: string;
104
+ task?:
105
+ string;
83
106
  /** TaskSource represents the source of the task. */
84
- taskSource?: string;
107
+ taskSource?:
108
+ string;
85
109
  }
86
110
  interface AgentTaskInfo {
87
111
  /** The highest index of a runnable started by the agent for this task. The runnables are indexed from 1. Value 0 is undefined. */
88
- runnable?: string;
112
+ runnable?:
113
+ string;
89
114
  /** ID of the Task */
90
- taskId?: string;
115
+ taskId?:
116
+ string;
91
117
  /** The status of the Task. If we need agent specific fields we should fork the public TaskStatus into an agent specific one. Or add them below. */
92
- taskStatus?: TaskStatus;
118
+ taskStatus?:
119
+ TaskStatus;
93
120
  }
94
121
  interface AgentTimingInfo {
95
122
  /** Agent startup time */
96
- agentStartupTime?: string;
123
+ agentStartupTime?:
124
+ string;
97
125
  /** Boot timestamp of the VM OS */
98
- bootTime?: string;
126
+ bootTime?:
127
+ string;
99
128
  /** Startup time of the Batch VM script. */
100
- scriptStartupTime?: string;
129
+ scriptStartupTime?:
130
+ string;
101
131
  }
102
132
  interface AllocationPolicy {
103
133
  /** Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now. */
104
- instances?: InstancePolicyOrTemplate[];
134
+ instances?:
135
+ InstancePolicyOrTemplate[];
105
136
  /**
106
137
  * Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. [Google
107
138
  * Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
108
139
  */
109
- labels?: { [P in string]: string };
140
+ labels?:
141
+ { [P in string]: string };
110
142
  /** Location where compute resources should be allocated for the Job. */
111
- location?: LocationPolicy;
143
+ location?:
144
+ LocationPolicy;
112
145
  /** The network policy. */
113
- network?: NetworkPolicy;
146
+ network?:
147
+ NetworkPolicy;
114
148
  /** The placement policy. */
115
- placement?: PlacementPolicy;
149
+ placement?:
150
+ PlacementPolicy;
116
151
  /** Service account that VMs will run as. */
117
- serviceAccount?: ServiceAccount;
152
+ serviceAccount?:
153
+ ServiceAccount;
118
154
  }
119
155
  interface AttachedDisk {
120
156
  /**
121
157
  * Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the
122
158
  * disk, and it should match the device_name field in volumes.
123
159
  */
124
- deviceName?: string;
160
+ deviceName?:
161
+ string;
125
162
  /** Name of an existing PD. */
126
- existingDisk?: string;
127
- newDisk?: Disk;
163
+ existingDisk?:
164
+ string;
165
+ newDisk?:
166
+ Disk;
128
167
  }
129
168
  interface Barrier {
130
169
  /** Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier. */
131
- name?: string;
170
+ name?:
171
+ string;
132
172
  }
133
173
  // tslint:disable-next-line:no-empty-interface
134
174
  interface CancelOperationRequest {
135
175
  }
136
176
  interface ComputeResource {
137
177
  /** Extra boot disk size in MiB for each task. */
138
- bootDiskMib?: string;
178
+ bootDiskMib?:
179
+ string;
139
180
  /** The milliCPU count. */
140
- cpuMilli?: string;
181
+ cpuMilli?:
182
+ string;
141
183
  /** Memory in MiB. */
142
- memoryMib?: string;
184
+ memoryMib?:
185
+ string;
143
186
  }
144
187
  interface Container {
145
188
  /**
146
189
  * If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network
147
190
  * cannot be specified in the `container.options` field.
148
191
  */
149
- blockExternalNetwork?: boolean;
192
+ blockExternalNetwork?:
193
+ boolean;
150
194
  /**
151
195
  * Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments
152
196
  * to the ENTRYPOINT.
153
197
  */
154
- commands?: string[];
198
+ commands?:
199
+ string[];
155
200
  /** Overrides the `ENTRYPOINT` specified in the container. */
156
- entrypoint?: string;
201
+ entrypoint?:
202
+ string;
157
203
  /** The URI to pull the container image from. */
158
- imageUri?: string;
204
+ imageUri?:
205
+ string;
159
206
  /** Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host". */
160
- options?: string;
207
+ options?:
208
+ string;
161
209
  /** Optional password for logging in to a docker registry. If password matches `projects/*‍/secrets/*‍/versions/*` then Batch will read the password from the Secret Manager; */
162
- password?: string;
210
+ password?:
211
+ string;
163
212
  /** Optional username for logging in to a docker registry. If username matches `projects/*‍/secrets/*‍/versions/*` then Batch will read the username from the Secret Manager. */
164
- username?: string;
213
+ username?:
214
+ string;
165
215
  /** Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro */
166
- volumes?: string[];
216
+ volumes?:
217
+ string[];
167
218
  }
168
219
  interface Disk {
169
220
  /** Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. We only support "SCSI" for persistent disks now. */
170
- diskInterface?: string;
221
+ diskInterface?:
222
+ string;
171
223
  /**
172
224
  * Name of a public or custom image used as the data source. For example, the following are all valid URLs: * Specify the image by its family name:
173
225
  * projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short
174
226
  * names. The following image values are supported for a boot disk: * "batch-debian": use Batch Debian images. * "batch-centos": use Batch CentOS images. * "batch-cos": use Batch
175
227
  * Container-Optimized images.
176
228
  */
177
- image?: string;
229
+ image?:
230
+ string;
178
231
  /**
179
232
  * Disk size in GB. For persistent disk, this field is ignored if `data_source` is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB, otherwise, the final
180
233
  * size will be the next greater multiple of 375 GB. For boot disk, Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size.
181
234
  * If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.
182
235
  */
183
- sizeGb?: string;
236
+ sizeGb?:
237
+ string;
184
238
  /** Name of a snapshot used as the data source. Snapshot is not supported as boot disk now. */
185
- snapshot?: string;
239
+ snapshot?:
240
+ string;
186
241
  /**
187
242
  * Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or
188
243
  * "pd-standard".
189
244
  */
190
- type?: string;
245
+ type?:
246
+ string;
191
247
  }
192
248
  // tslint:disable-next-line:no-empty-interface
193
249
  interface Empty {
194
250
  }
195
251
  interface Environment {
196
252
  /** An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values. */
197
- encryptedVariables?: KMSEnvMap;
253
+ encryptedVariables?:
254
+ KMSEnvMap;
198
255
  /** A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable. */
199
- secretVariables?: { [P in string]: string };
256
+ secretVariables?:
257
+ { [P in string]: string };
200
258
  /** A map of environment variable names to values. */
201
- variables?: { [P in string]: string };
259
+ variables?:
260
+ { [P in string]: string };
202
261
  }
203
262
  interface GCS {
204
263
  /** Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/ */
205
- remotePath?: string;
264
+ remotePath?:
265
+ string;
206
266
  }
207
267
  interface InstancePolicy {
208
268
  /** The accelerators attached to each VM instance. */
209
- accelerators?: Accelerator[];
269
+ accelerators?:
270
+ Accelerator[];
210
271
  /** Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image. */
211
- bootDisk?: Disk;
272
+ bootDisk?:
273
+ Disk;
212
274
  /** Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. */
213
- disks?: AttachedDisk[];
275
+ disks?:
276
+ AttachedDisk[];
214
277
  /** The Compute Engine machine type. */
215
- machineType?: string;
278
+ machineType?:
279
+ string;
216
280
  /** The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. Not yet implemented. */
217
- minCpuPlatform?: string;
281
+ minCpuPlatform?:
282
+ string;
218
283
  /** The provisioning model. */
219
- provisioningModel?: string;
284
+ provisioningModel?:
285
+ string;
220
286
  }
221
287
  interface InstancePolicyOrTemplate {
222
288
  /**
223
289
  * Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their
224
290
  * behalf. Default is false.
225
291
  */
226
- installGpuDrivers?: boolean;
292
+ installGpuDrivers?:
293
+ boolean;
227
294
  /** Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict. */
228
- instanceTemplate?: string;
295
+ instanceTemplate?:
296
+ string;
229
297
  /** InstancePolicy. */
230
- policy?: InstancePolicy;
298
+ policy?:
299
+ InstancePolicy;
231
300
  }
232
301
  interface InstanceStatus {
233
302
  /** The VM boot disk. */
234
- bootDisk?: Disk;
303
+ bootDisk?:
304
+ Disk;
235
305
  /** The Compute Engine machine type. */
236
- machineType?: string;
306
+ machineType?:
307
+ string;
237
308
  /** The VM instance provisioning model. */
238
- provisioningModel?: string;
309
+ provisioningModel?:
310
+ string;
239
311
  /** The max number of tasks can be assigned to this instance type. */
240
- taskPack?: string;
312
+ taskPack?:
313
+ string;
241
314
  }
242
315
  interface Job {
243
316
  /** Compute resource allocation for all TaskGroups in the Job. */
244
- allocationPolicy?: AllocationPolicy;
317
+ allocationPolicy?:
318
+ AllocationPolicy;
245
319
  /** Output only. When the Job was created. */
246
- createTime?: string;
320
+ createTime?:
321
+ string;
247
322
  /**
248
323
  * Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels.
249
324
  * [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are
250
325
  * reserved.
251
326
  */
252
- labels?: { [P in string]: string };
327
+ labels?:
328
+ { [P in string]: string };
253
329
  /** Log preservation policy for the Job. */
254
- logsPolicy?: LogsPolicy;
330
+ logsPolicy?:
331
+ LogsPolicy;
255
332
  /** Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01". */
256
- name?: string;
333
+ name?:
334
+ string;
257
335
  /** Notification configurations. */
258
- notifications?: JobNotification[];
336
+ notifications?:
337
+ JobNotification[];
259
338
  /**
260
339
  * Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if
261
340
  * all other requirements are satisfied.
262
341
  */
263
- priority?: string;
342
+ priority?:
343
+ string;
264
344
  /** Output only. Job status. It is read only for users. */
265
- status?: JobStatus;
345
+ status?:
346
+ JobStatus;
266
347
  /** Required. TaskGroups in the Job. Only one TaskGroup is supported now. */
267
- taskGroups?: TaskGroup[];
348
+ taskGroups?:
349
+ TaskGroup[];
268
350
  /** Output only. A system generated unique ID (in UUID4 format) for the Job. */
269
- uid?: string;
351
+ uid?:
352
+ string;
270
353
  /** Output only. The last time the Job was updated. */
271
- updateTime?: string;
354
+ updateTime?:
355
+ string;
272
356
  }
273
357
  interface JobNotification {
274
358
  /** The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent. */
275
- message?: Message;
359
+ message?:
360
+ Message;
276
361
  /**
277
362
  * The Pub/Sub topic where notifications like the job state changes will be published. This topic exist in the same project as the job and billings will be charged to this project. If
278
363
  * not specified, no Pub/Sub messages will be sent. Topic format: `projects/{project}/topics/{topic}`.
279
364
  */
280
- pubsubTopic?: string;
365
+ pubsubTopic?:
366
+ string;
281
367
  }
282
368
  interface JobStatus {
283
369
  /** The duration of time that the Job spent in status RUNNING. */
284
- runDuration?: string;
370
+ runDuration?:
371
+ string;
285
372
  /** Job state */
286
- state?: string;
373
+ state?:
374
+ string;
287
375
  /** Job status events */
288
- statusEvents?: StatusEvent[];
376
+ statusEvents?:
377
+ StatusEvent[];
289
378
  /** Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID. */
290
- taskGroups?: { [P in string]: TaskGroupStatus };
379
+ taskGroups?:
380
+ { [P in string]: TaskGroupStatus };
291
381
  }
292
382
  interface KMSEnvMap {
293
383
  /** The value of the cipherText response from the `encrypt` method. */
294
- cipherText?: string;
384
+ cipherText?:
385
+ string;
295
386
  /** The name of the KMS key that will be used to decrypt the cipher text. */
296
- keyName?: string;
387
+ keyName?:
388
+ string;
297
389
  }
298
390
  interface LifecyclePolicy {
299
391
  /**
300
392
  * Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found.
301
393
  * Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
302
394
  */
303
- action?: string;
395
+ action?:
396
+ string;
304
397
  /** Conditions that decide why a task failure is dealt with a specific action. */
305
- actionCondition?: ActionCondition;
398
+ actionCondition?:
399
+ ActionCondition;
306
400
  }
307
401
  interface ListJobsResponse {
308
402
  /** Jobs. */
309
- jobs?: Job[];
403
+ jobs?:
404
+ Job[];
310
405
  /** Next page token. */
311
- nextPageToken?: string;
406
+ nextPageToken?:
407
+ string;
312
408
  /** Locations that could not be reached. */
313
- unreachable?: string[];
409
+ unreachable?:
410
+ string[];
314
411
  }
315
412
  interface ListLocationsResponse {
316
413
  /** A list of locations that matches the specified filter in the request. */
317
- locations?: Location[];
414
+ locations?:
415
+ Location[];
318
416
  /** The standard List next-page token. */
319
- nextPageToken?: string;
417
+ nextPageToken?:
418
+ string;
320
419
  }
321
420
  interface ListOperationsResponse {
322
421
  /** The standard List next-page token. */
323
- nextPageToken?: string;
422
+ nextPageToken?:
423
+ string;
324
424
  /** A list of operations that matches the specified filter in the request. */
325
- operations?: Operation[];
425
+ operations?:
426
+ Operation[];
326
427
  }
327
428
  interface ListTasksResponse {
328
429
  /** Next page token. */
329
- nextPageToken?: string;
430
+ nextPageToken?:
431
+ string;
330
432
  /** Tasks. */
331
- tasks?: Task[];
433
+ tasks?:
434
+ Task[];
332
435
  /** Locations that could not be reached. */
333
- unreachable?: string[];
436
+ unreachable?:
437
+ string[];
334
438
  }
335
439
  interface Location {
336
440
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
337
- displayName?: string;
441
+ displayName?:
442
+ string;
338
443
  /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
339
- labels?: { [P in string]: string };
444
+ labels?:
445
+ { [P in string]: string };
340
446
  /** The canonical id for this location. For example: `"us-east1"`. */
341
- locationId?: string;
447
+ locationId?:
448
+ string;
342
449
  /** Service-specific metadata. For example the available capacity at the given location. */
343
- metadata?: { [P in string]: any };
450
+ metadata?:
451
+ { [P in string]: any };
344
452
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
345
- name?: string;
453
+ name?:
454
+ string;
346
455
  }
347
456
  interface LocationPolicy {
348
457
  /**
@@ -351,122 +460,154 @@ declare namespace gapi.client {
351
460
  * 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"]
352
461
  * contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
353
462
  */
354
- allowedLocations?: string[];
463
+ allowedLocations?:
464
+ string[];
355
465
  }
356
466
  interface LogsPolicy {
357
467
  /** Where logs should be saved. */
358
- destination?: string;
468
+ destination?:
469
+ string;
359
470
  /**
360
471
  * 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
361
472
  * path.
362
473
  */
363
- logsPath?: string;
474
+ logsPath?:
475
+ string;
364
476
  }
365
477
  interface Message {
366
478
  /** The new job state. */
367
- newJobState?: string;
479
+ newJobState?:
480
+ string;
368
481
  /** The new task state. */
369
- newTaskState?: string;
482
+ newTaskState?:
483
+ string;
370
484
  /** The message type. */
371
- type?: string;
485
+ type?:
486
+ string;
372
487
  }
373
488
  interface NetworkInterface {
374
489
  /**
375
490
  * The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: *
376
491
  * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
377
492
  */
378
- network?: string;
493
+ network?:
494
+ string;
379
495
  /**
380
496
  * Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is
381
497
  * required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and
382
498
  * https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
383
499
  */
384
- noExternalIpAddress?: boolean;
500
+ noExternalIpAddress?:
501
+ boolean;
385
502
  /**
386
503
  * The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: *
387
504
  * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} *
388
505
  * regions/{region}/subnetworks/{subnetwork}
389
506
  */
390
- subnetwork?: string;
507
+ subnetwork?:
508
+ string;
391
509
  }
392
510
  interface NetworkPolicy {
393
511
  /** Network configurations. */
394
- networkInterfaces?: NetworkInterface[];
512
+ networkInterfaces?:
513
+ NetworkInterface[];
395
514
  }
396
515
  interface NFS {
397
516
  /** Remote source path exported from the NFS, e.g., "/share". */
398
- remotePath?: string;
517
+ remotePath?:
518
+ string;
399
519
  /** The IP address of the NFS. */
400
- server?: string;
520
+ server?:
521
+ string;
401
522
  }
402
523
  interface Operation {
403
524
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
404
- done?: boolean;
525
+ done?:
526
+ boolean;
405
527
  /** The error result of the operation in case of failure or cancellation. */
406
- error?: Status;
528
+ error?:
529
+ Status;
407
530
  /**
408
531
  * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
409
532
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
410
533
  */
411
- metadata?: { [P in string]: any };
534
+ metadata?:
535
+ { [P in string]: any };
412
536
  /**
413
537
  * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
414
538
  * with `operations/{unique_id}`.
415
539
  */
416
- name?: string;
540
+ name?:
541
+ string;
417
542
  /**
418
543
  * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
419
544
  * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
420
545
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
421
546
  */
422
- response?: { [P in string]: any };
547
+ response?:
548
+ { [P in string]: any };
423
549
  }
424
550
  interface OperationMetadata {
425
551
  /** Output only. API version used to start the operation. */
426
- apiVersion?: string;
552
+ apiVersion?:
553
+ string;
427
554
  /** Output only. The time the operation was created. */
428
- createTime?: string;
555
+ createTime?:
556
+ string;
429
557
  /** Output only. The time the operation finished running. */
430
- endTime?: string;
558
+ endTime?:
559
+ string;
431
560
  /**
432
561
  * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
433
562
  * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
434
563
  */
435
- requestedCancellation?: boolean;
564
+ requestedCancellation?:
565
+ boolean;
436
566
  /** Output only. Human-readable status of the operation, if any. */
437
- statusMessage?: string;
567
+ statusMessage?:
568
+ string;
438
569
  /** Output only. Server-defined resource path for the target of the operation. */
439
- target?: string;
570
+ target?:
571
+ string;
440
572
  /** Output only. Name of the verb executed by the operation. */
441
- verb?: string;
573
+ verb?:
574
+ string;
442
575
  }
443
576
  interface PlacementPolicy {
444
577
  /**
445
578
  * UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy
446
579
  * will be generated when collocation is UNSPECIFIED.
447
580
  */
448
- collocation?: string;
581
+ collocation?:
582
+ string;
449
583
  /**
450
584
  * When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when
451
585
  * max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
452
586
  */
453
- maxDistance?: string;
587
+ maxDistance?:
588
+ string;
454
589
  }
455
590
  interface ReportAgentStateRequest {
456
591
  /** Agent info. */
457
- agentInfo?: AgentInfo;
592
+ agentInfo?:
593
+ AgentInfo;
458
594
  /** Agent timing info. */
459
- agentTimingInfo?: AgentTimingInfo;
595
+ agentTimingInfo?:
596
+ AgentTimingInfo;
460
597
  /** Agent metadata. */
461
- metadata?: AgentMetadata;
598
+ metadata?:
599
+ AgentMetadata;
462
600
  }
463
601
  interface ReportAgentStateResponse {
464
602
  /** Default report interval override */
465
- defaultReportInterval?: string;
603
+ defaultReportInterval?:
604
+ string;
466
605
  /** Minimum report interval override */
467
- minReportInterval?: string;
606
+ minReportInterval?:
607
+ string;
468
608
  /** Tasks assigned to the agent */
469
- tasks?: AgentTask[];
609
+ tasks?:
610
+ AgentTask[];
470
611
  }
471
612
  interface Runnable {
472
613
  /**
@@ -474,26 +615,35 @@ declare namespace gapi.client {
474
615
  * Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then
475
616
  * no further Runnables will execute, not even always_run Runnables.
476
617
  */
477
- alwaysRun?: boolean;
618
+ alwaysRun?:
619
+ boolean;
478
620
  /**
479
621
  * This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide
480
622
  * debugging support tools like SSH servers).
481
623
  */
482
- background?: boolean;
624
+ background?:
625
+ boolean;
483
626
  /** Barrier runnable. */
484
- barrier?: Barrier;
627
+ barrier?:
628
+ Barrier;
485
629
  /** Container runnable. */
486
- container?: Container;
630
+ container?:
631
+ Container;
487
632
  /** Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup). */
488
- environment?: Environment;
633
+ environment?:
634
+ Environment;
489
635
  /** Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead. */
490
- ignoreExitStatus?: boolean;
636
+ ignoreExitStatus?:
637
+ boolean;
491
638
  /** Labels for this Runnable. */
492
- labels?: { [P in string]: string };
639
+ labels?:
640
+ { [P in string]: string };
493
641
  /** Script runnable. */
494
- script?: Script;
642
+ script?:
643
+ Script;
495
644
  /** Timeout for this Runnable. */
496
- timeout?: string;
645
+ timeout?:
646
+ string;
497
647
  }
498
648
  interface Script {
499
649
  /**
@@ -501,231 +651,310 @@ declare namespace gapi.client {
501
651
  * file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the
502
652
  * first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
503
653
  */
504
- path?: string;
654
+ path?:
655
+ string;
505
656
  /**
506
657
  * Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To
507
658
  * execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
508
659
  */
509
- text?: string;
660
+ text?:
661
+ string;
510
662
  }
511
663
  interface ServiceAccount {
512
664
  /**
513
665
  * 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
514
666
  * account has to be specified in the instance template and it has to match the email field here.
515
667
  */
516
- email?: string;
668
+ email?:
669
+ string;
517
670
  /** 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. */
518
- scopes?: string[];
671
+ scopes?:
672
+ string[];
519
673
  }
520
674
  interface Status {
521
675
  /** The status code, which should be an enum value of google.rpc.Code. */
522
- code?: number;
676
+ code?:
677
+ number;
523
678
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
524
- details?: Array<{ [P in string]: any }>;
679
+ details?:
680
+ Array<{ [P in string]: any }>;
525
681
  /**
526
682
  * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
527
683
  * client.
528
684
  */
529
- message?: string;
685
+ message?:
686
+ string;
530
687
  }
531
688
  interface StatusEvent {
532
689
  /** Description of the event. */
533
- description?: string;
690
+ description?:
691
+ string;
534
692
  /** The time this event occurred. */
535
- eventTime?: string;
693
+ eventTime?:
694
+ string;
536
695
  /** Task Execution */
537
- taskExecution?: TaskExecution;
696
+ taskExecution?:
697
+ TaskExecution;
538
698
  /** Task State */
539
- taskState?: string;
699
+ taskState?:
700
+ string;
540
701
  /** Type of the event. */
541
- type?: string;
702
+ type?:
703
+ string;
542
704
  }
543
705
  interface Task {
544
706
  /** Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01". */
545
- name?: string;
707
+ name?:
708
+ string;
546
709
  /** Task Status. */
547
- status?: TaskStatus;
710
+ status?:
711
+ TaskStatus;
548
712
  }
549
713
  interface TaskExecution {
550
714
  /** When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success. */
551
- exitCode?: number;
715
+ exitCode?:
716
+ number;
552
717
  }
553
718
  interface TaskGroup {
554
719
  /** Output only. TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01". */
555
- name?: string;
720
+ name?:
721
+ string;
556
722
  /** Max number of tasks that can run in parallel. Default to min(task_count, 1000). Field parallelism must be 1 if the scheduling_policy is IN_ORDER. */
557
- parallelism?: string;
723
+ parallelism?:
724
+ string;
558
725
  /** When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup. */
559
- permissiveSsh?: boolean;
726
+ permissiveSsh?:
727
+ boolean;
560
728
  /** When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false. */
561
- requireHostsFile?: boolean;
729
+ requireHostsFile?:
730
+ boolean;
562
731
  /** Number of Tasks in the TaskGroup. Default is 1. */
563
- taskCount?: string;
732
+ taskCount?:
733
+ string;
564
734
  /** Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements. */
565
- taskCountPerNode?: string;
735
+ taskCountPerNode?:
736
+ string;
566
737
  /**
567
738
  * An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and
568
739
  * will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment
569
740
  * variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
570
741
  * task_environments supports up to 200 entries.
571
742
  */
572
- taskEnvironments?: Environment[];
743
+ taskEnvironments?:
744
+ Environment[];
573
745
  /** Required. Tasks in the group share the same task spec. */
574
- taskSpec?: TaskSpec;
746
+ taskSpec?:
747
+ TaskSpec;
575
748
  }
576
749
  interface TaskGroupStatus {
577
750
  /** Count of task in each state in the TaskGroup. The map key is task state name. */
578
- counts?: { [P in string]: string };
751
+ counts?:
752
+ { [P in string]: string };
579
753
  /** Status of instances allocated for the TaskGroup. */
580
- instances?: InstanceStatus[];
754
+ instances?:
755
+ InstanceStatus[];
581
756
  }
582
757
  interface TaskSpec {
583
758
  /** ComputeResource requirements. */
584
- computeResource?: ComputeResource;
759
+ computeResource?:
760
+ ComputeResource;
585
761
  /** Environment variables to set before running the Task. */
586
- environment?: Environment;
762
+ environment?:
763
+ Environment;
587
764
  /** Deprecated: please use environment(non-plural) instead. */
588
- environments?: { [P in string]: string };
765
+ environments?:
766
+ { [P in string]: string };
589
767
  /**
590
768
  * Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the
591
769
  * policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit
592
770
  * task. If task ends with non-zero exit code, retry the task with max_retry_count.
593
771
  */
594
- lifecyclePolicies?: LifecyclePolicy[];
772
+ lifecyclePolicies?:
773
+ LifecyclePolicy[];
595
774
  /** Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10]. */
596
- maxRetryCount?: number;
775
+ maxRetryCount?:
776
+ number;
597
777
  /** Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. */
598
- maxRunDuration?: string;
778
+ maxRunDuration?:
779
+ string;
599
780
  /**
600
781
  * 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
601
782
  * 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
602
783
  * 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
603
784
  * treated as Task failures.
604
785
  */
605
- runnables?: Runnable[];
786
+ runnables?:
787
+ Runnable[];
606
788
  /** Volumes to mount before running Tasks using this TaskSpec. */
607
- volumes?: Volume[];
789
+ volumes?:
790
+ Volume[];
608
791
  }
609
792
  interface TaskStatus {
610
793
  /** Task state */
611
- state?: string;
794
+ state?:
795
+ string;
612
796
  /** Detailed info about why the state is reached. */
613
- statusEvents?: StatusEvent[];
797
+ statusEvents?:
798
+ StatusEvent[];
614
799
  }
615
800
  interface Volume {
616
801
  /**
617
802
  * Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given
618
803
  * instance template in job.allocation_policy.instances[0].instance_template.
619
804
  */
620
- deviceName?: string;
805
+ deviceName?:
806
+ string;
621
807
  /** A Google Cloud Storage (GCS) volume. */
622
- gcs?: GCS;
808
+ gcs?:
809
+ GCS;
623
810
  /**
624
811
  * For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount
625
812
  * options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode
626
813
  * (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount
627
814
  * command (https://man7.org/linux/man-pages/man8/mount.8.html).
628
815
  */
629
- mountOptions?: string[];
816
+ mountOptions?:
817
+ string[];
630
818
  /** The mount path for the volume, e.g. /mnt/disks/share. */
631
- mountPath?: string;
819
+ mountPath?:
820
+ string;
632
821
  /** A Network File System (NFS) volume. For example, a Filestore file share. */
633
- nfs?: NFS;
822
+ nfs?:
823
+ NFS;
634
824
  }
635
825
  interface TasksResource {
636
826
  /** Return a single Task. */
637
827
  get(request?: {
638
828
  /** V1 error format. */
639
- "$.xgafv"?: string;
829
+ "$.xgafv"?:
830
+ string;
640
831
  /** OAuth access token. */
641
- access_token?: string;
832
+ access_token?:
833
+ string;
642
834
  /** Data format for response. */
643
- alt?: string;
835
+ alt?:
836
+ string;
644
837
  /** JSONP */
645
- callback?: string;
838
+ callback?:
839
+ string;
646
840
  /** Selector specifying which fields to include in a partial response. */
647
- fields?: string;
841
+ fields?:
842
+ string;
648
843
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
649
- key?: string;
844
+ key?:
845
+ string;
650
846
  /** Required. Task name. */
651
- name: string;
847
+ name:
848
+ string;
652
849
  /** OAuth 2.0 token for the current user. */
653
- oauth_token?: string;
850
+ oauth_token?:
851
+ string;
654
852
  /** Returns response with indentations and line breaks. */
655
- prettyPrint?: boolean;
853
+ prettyPrint?:
854
+ boolean;
656
855
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
657
- quotaUser?: string;
856
+ quotaUser?:
857
+ string;
658
858
  /** Upload protocol for media (e.g. "raw", "multipart"). */
659
- upload_protocol?: string;
859
+ upload_protocol?:
860
+ string;
660
861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
661
- uploadType?: string;
862
+ uploadType?:
863
+ string;
662
864
  }): Request<Task>;
663
865
  /** List Tasks associated with a job. */
664
866
  list(request?: {
665
867
  /** V1 error format. */
666
- "$.xgafv"?: string;
868
+ "$.xgafv"?:
869
+ string;
667
870
  /** OAuth access token. */
668
- access_token?: string;
871
+ access_token?:
872
+ string;
669
873
  /** Data format for response. */
670
- alt?: string;
874
+ alt?:
875
+ string;
671
876
  /** JSONP */
672
- callback?: string;
877
+ callback?:
878
+ string;
673
879
  /** Selector specifying which fields to include in a partial response. */
674
- fields?: string;
880
+ fields?:
881
+ string;
675
882
  /** Task filter, null filter matches all Tasks. Filter string should be of the format State=TaskStatus.State e.g. State=RUNNING */
676
- filter?: string;
883
+ filter?:
884
+ string;
677
885
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
678
- key?: string;
886
+ key?:
887
+ string;
679
888
  /** OAuth 2.0 token for the current user. */
680
- oauth_token?: string;
889
+ oauth_token?:
890
+ string;
681
891
  /** Page size. */
682
- pageSize?: number;
892
+ pageSize?:
893
+ number;
683
894
  /** Page token. */
684
- pageToken?: string;
895
+ pageToken?:
896
+ string;
685
897
  /** Required. Name of a TaskGroup from which Tasks are being requested. Pattern: "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}" */
686
- parent: string;
898
+ parent:
899
+ string;
687
900
  /** Returns response with indentations and line breaks. */
688
- prettyPrint?: boolean;
901
+ prettyPrint?:
902
+ boolean;
689
903
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
690
- quotaUser?: string;
904
+ quotaUser?:
905
+ string;
691
906
  /** Upload protocol for media (e.g. "raw", "multipart"). */
692
- upload_protocol?: string;
907
+ upload_protocol?:
908
+ string;
693
909
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
694
- uploadType?: string;
910
+ uploadType?:
911
+ string;
695
912
  }): Request<ListTasksResponse>;
696
913
  }
697
914
  interface TaskGroupsResource {
698
- tasks: TasksResource;
915
+ tasks:
916
+ TasksResource;
699
917
  }
700
918
  interface JobsResource {
701
919
  /** Create a Job. */
702
920
  create(request: {
703
921
  /** V1 error format. */
704
- "$.xgafv"?: string;
922
+ "$.xgafv"?:
923
+ string;
705
924
  /** OAuth access token. */
706
- access_token?: string;
925
+ access_token?:
926
+ string;
707
927
  /** Data format for response. */
708
- alt?: string;
928
+ alt?:
929
+ string;
709
930
  /** JSONP */
710
- callback?: string;
931
+ callback?:
932
+ string;
711
933
  /** Selector specifying which fields to include in a partial response. */
712
- fields?: string;
934
+ fields?:
935
+ string;
713
936
  /**
714
937
  * ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase
715
938
  * characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field
716
939
  * in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
717
940
  */
718
- jobId?: string;
941
+ jobId?:
942
+ string;
719
943
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
720
- key?: string;
944
+ key?:
945
+ string;
721
946
  /** OAuth 2.0 token for the current user. */
722
- oauth_token?: string;
947
+ oauth_token?:
948
+ string;
723
949
  /** Required. The parent resource name where the Job will be created. Pattern: "projects/{project}/locations/{location}" */
724
- parent: string;
950
+ parent:
951
+ string;
725
952
  /** Returns response with indentations and line breaks. */
726
- prettyPrint?: boolean;
953
+ prettyPrint?:
954
+ boolean;
727
955
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
728
- quotaUser?: string;
956
+ quotaUser?:
957
+ string;
729
958
  /**
730
959
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
731
960
  * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
@@ -733,41 +962,56 @@ declare namespace gapi.client {
733
962
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
734
963
  * supported (00000000-0000-0000-0000-000000000000).
735
964
  */
736
- requestId?: string;
965
+ requestId?:
966
+ string;
737
967
  /** Upload protocol for media (e.g. "raw", "multipart"). */
738
- upload_protocol?: string;
968
+ upload_protocol?:
969
+ string;
739
970
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
740
- uploadType?: string;
971
+ uploadType?:
972
+ string;
741
973
  /** Request body */
742
- resource: Job;
974
+ resource:
975
+ Job;
743
976
  }): Request<Job>;
744
977
  create(request: {
745
978
  /** V1 error format. */
746
- "$.xgafv"?: string;
979
+ "$.xgafv"?:
980
+ string;
747
981
  /** OAuth access token. */
748
- access_token?: string;
982
+ access_token?:
983
+ string;
749
984
  /** Data format for response. */
750
- alt?: string;
985
+ alt?:
986
+ string;
751
987
  /** JSONP */
752
- callback?: string;
988
+ callback?:
989
+ string;
753
990
  /** Selector specifying which fields to include in a partial response. */
754
- fields?: string;
991
+ fields?:
992
+ string;
755
993
  /**
756
994
  * ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase
757
995
  * characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field
758
996
  * in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
759
997
  */
760
- jobId?: string;
998
+ jobId?:
999
+ string;
761
1000
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
762
- key?: string;
1001
+ key?:
1002
+ string;
763
1003
  /** OAuth 2.0 token for the current user. */
764
- oauth_token?: string;
1004
+ oauth_token?:
1005
+ string;
765
1006
  /** Required. The parent resource name where the Job will be created. Pattern: "projects/{project}/locations/{location}" */
766
- parent: string;
1007
+ parent:
1008
+ string;
767
1009
  /** Returns response with indentations and line breaks. */
768
- prettyPrint?: boolean;
1010
+ prettyPrint?:
1011
+ boolean;
769
1012
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
770
- quotaUser?: string;
1013
+ quotaUser?:
1014
+ string;
771
1015
  /**
772
1016
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
773
1017
  * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
@@ -775,37 +1019,51 @@ declare namespace gapi.client {
775
1019
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
776
1020
  * supported (00000000-0000-0000-0000-000000000000).
777
1021
  */
778
- requestId?: string;
1022
+ requestId?:
1023
+ string;
779
1024
  /** Upload protocol for media (e.g. "raw", "multipart"). */
780
- upload_protocol?: string;
1025
+ upload_protocol?:
1026
+ string;
781
1027
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
782
- uploadType?: string;
1028
+ uploadType?:
1029
+ string;
783
1030
  },
784
1031
  body: Job): Request<Job>;
785
1032
  /** Delete a Job. */
786
1033
  delete(request?: {
787
1034
  /** V1 error format. */
788
- "$.xgafv"?: string;
1035
+ "$.xgafv"?:
1036
+ string;
789
1037
  /** OAuth access token. */
790
- access_token?: string;
1038
+ access_token?:
1039
+ string;
791
1040
  /** Data format for response. */
792
- alt?: string;
1041
+ alt?:
1042
+ string;
793
1043
  /** JSONP */
794
- callback?: string;
1044
+ callback?:
1045
+ string;
795
1046
  /** Selector specifying which fields to include in a partial response. */
796
- fields?: string;
1047
+ fields?:
1048
+ string;
797
1049
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
798
- key?: string;
1050
+ key?:
1051
+ string;
799
1052
  /** Job name. */
800
- name: string;
1053
+ name:
1054
+ string;
801
1055
  /** OAuth 2.0 token for the current user. */
802
- oauth_token?: string;
1056
+ oauth_token?:
1057
+ string;
803
1058
  /** Returns response with indentations and line breaks. */
804
- prettyPrint?: boolean;
1059
+ prettyPrint?:
1060
+ boolean;
805
1061
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
806
- quotaUser?: string;
1062
+ quotaUser?:
1063
+ string;
807
1064
  /** Optional. Reason for this deletion. */
808
- reason?: string;
1065
+ reason?:
1066
+ string;
809
1067
  /**
810
1068
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
811
1069
  * already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and
@@ -813,73 +1071,104 @@ declare namespace gapi.client {
813
1071
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
814
1072
  * supported (00000000-0000-0000-0000-000000000000).
815
1073
  */
816
- requestId?: string;
1074
+ requestId?:
1075
+ string;
817
1076
  /** Upload protocol for media (e.g. "raw", "multipart"). */
818
- upload_protocol?: string;
1077
+ upload_protocol?:
1078
+ string;
819
1079
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
820
- uploadType?: string;
1080
+ uploadType?:
1081
+ string;
821
1082
  }): Request<Operation>;
822
1083
  /** Get a Job specified by its resource name. */
823
1084
  get(request?: {
824
1085
  /** V1 error format. */
825
- "$.xgafv"?: string;
1086
+ "$.xgafv"?:
1087
+ string;
826
1088
  /** OAuth access token. */
827
- access_token?: string;
1089
+ access_token?:
1090
+ string;
828
1091
  /** Data format for response. */
829
- alt?: string;
1092
+ alt?:
1093
+ string;
830
1094
  /** JSONP */
831
- callback?: string;
1095
+ callback?:
1096
+ string;
832
1097
  /** Selector specifying which fields to include in a partial response. */
833
- fields?: string;
1098
+ fields?:
1099
+ string;
834
1100
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
835
- key?: string;
1101
+ key?:
1102
+ string;
836
1103
  /** Required. Job name. */
837
- name: string;
1104
+ name:
1105
+ string;
838
1106
  /** OAuth 2.0 token for the current user. */
839
- oauth_token?: string;
1107
+ oauth_token?:
1108
+ string;
840
1109
  /** Returns response with indentations and line breaks. */
841
- prettyPrint?: boolean;
1110
+ prettyPrint?:
1111
+ boolean;
842
1112
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
843
- quotaUser?: string;
1113
+ quotaUser?:
1114
+ string;
844
1115
  /** Upload protocol for media (e.g. "raw", "multipart"). */
845
- upload_protocol?: string;
1116
+ upload_protocol?:
1117
+ string;
846
1118
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
847
- uploadType?: string;
1119
+ uploadType?:
1120
+ string;
848
1121
  }): Request<Job>;
849
1122
  /** List all Jobs for a project within a region. */
850
1123
  list(request?: {
851
1124
  /** V1 error format. */
852
- "$.xgafv"?: string;
1125
+ "$.xgafv"?:
1126
+ string;
853
1127
  /** OAuth access token. */
854
- access_token?: string;
1128
+ access_token?:
1129
+ string;
855
1130
  /** Data format for response. */
856
- alt?: string;
1131
+ alt?:
1132
+ string;
857
1133
  /** JSONP */
858
- callback?: string;
1134
+ callback?:
1135
+ string;
859
1136
  /** Selector specifying which fields to include in a partial response. */
860
- fields?: string;
1137
+ fields?:
1138
+ string;
861
1139
  /** List filter. */
862
- filter?: string;
1140
+ filter?:
1141
+ string;
863
1142
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
864
- key?: string;
1143
+ key?:
1144
+ string;
865
1145
  /** OAuth 2.0 token for the current user. */
866
- oauth_token?: string;
1146
+ oauth_token?:
1147
+ string;
867
1148
  /** Page size. */
868
- pageSize?: number;
1149
+ pageSize?:
1150
+ number;
869
1151
  /** Page token. */
870
- pageToken?: string;
1152
+ pageToken?:
1153
+ string;
871
1154
  /** Parent path. */
872
- parent: string;
1155
+ parent:
1156
+ string;
873
1157
  /** Returns response with indentations and line breaks. */
874
- prettyPrint?: boolean;
1158
+ prettyPrint?:
1159
+ boolean;
875
1160
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
876
- quotaUser?: string;
1161
+ quotaUser?:
1162
+ string;
877
1163
  /** Upload protocol for media (e.g. "raw", "multipart"). */
878
- upload_protocol?: string;
1164
+ upload_protocol?:
1165
+ string;
879
1166
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
880
- uploadType?: string;
1167
+ uploadType?:
1168
+ string;
881
1169
  }): Request<ListJobsResponse>;
882
- taskGroups: TaskGroupsResource;
1170
+ taskGroups:
1171
+ TaskGroupsResource;
883
1172
  }
884
1173
  interface OperationsResource {
885
1174
  /**
@@ -890,57 +1179,82 @@ declare namespace gapi.client {
890
1179
  */
891
1180
  cancel(request: {
892
1181
  /** V1 error format. */
893
- "$.xgafv"?: string;
1182
+ "$.xgafv"?:
1183
+ string;
894
1184
  /** OAuth access token. */
895
- access_token?: string;
1185
+ access_token?:
1186
+ string;
896
1187
  /** Data format for response. */
897
- alt?: string;
1188
+ alt?:
1189
+ string;
898
1190
  /** JSONP */
899
- callback?: string;
1191
+ callback?:
1192
+ string;
900
1193
  /** Selector specifying which fields to include in a partial response. */
901
- fields?: string;
1194
+ fields?:
1195
+ string;
902
1196
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
903
- key?: string;
1197
+ key?:
1198
+ string;
904
1199
  /** The name of the operation resource to be cancelled. */
905
- name: string;
1200
+ name:
1201
+ string;
906
1202
  /** OAuth 2.0 token for the current user. */
907
- oauth_token?: string;
1203
+ oauth_token?:
1204
+ string;
908
1205
  /** Returns response with indentations and line breaks. */
909
- prettyPrint?: boolean;
1206
+ prettyPrint?:
1207
+ boolean;
910
1208
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
911
- quotaUser?: string;
1209
+ quotaUser?:
1210
+ string;
912
1211
  /** Upload protocol for media (e.g. "raw", "multipart"). */
913
- upload_protocol?: string;
1212
+ upload_protocol?:
1213
+ string;
914
1214
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
915
- uploadType?: string;
1215
+ uploadType?:
1216
+ string;
916
1217
  /** Request body */
917
- resource: CancelOperationRequest;
1218
+ resource:
1219
+ CancelOperationRequest;
918
1220
  }): Request<{}>;
919
1221
  cancel(request: {
920
1222
  /** V1 error format. */
921
- "$.xgafv"?: string;
1223
+ "$.xgafv"?:
1224
+ string;
922
1225
  /** OAuth access token. */
923
- access_token?: string;
1226
+ access_token?:
1227
+ string;
924
1228
  /** Data format for response. */
925
- alt?: string;
1229
+ alt?:
1230
+ string;
926
1231
  /** JSONP */
927
- callback?: string;
1232
+ callback?:
1233
+ string;
928
1234
  /** Selector specifying which fields to include in a partial response. */
929
- fields?: string;
1235
+ fields?:
1236
+ string;
930
1237
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
931
- key?: string;
1238
+ key?:
1239
+ string;
932
1240
  /** The name of the operation resource to be cancelled. */
933
- name: string;
1241
+ name:
1242
+ string;
934
1243
  /** OAuth 2.0 token for the current user. */
935
- oauth_token?: string;
1244
+ oauth_token?:
1245
+ string;
936
1246
  /** Returns response with indentations and line breaks. */
937
- prettyPrint?: boolean;
1247
+ prettyPrint?:
1248
+ boolean;
938
1249
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
939
- quotaUser?: string;
1250
+ quotaUser?:
1251
+ string;
940
1252
  /** Upload protocol for media (e.g. "raw", "multipart"). */
941
- upload_protocol?: string;
1253
+ upload_protocol?:
1254
+ string;
942
1255
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
943
- uploadType?: string;
1256
+ uploadType?:
1257
+ string;
944
1258
  },
945
1259
  body: CancelOperationRequest): Request<{}>;
946
1260
  /**
@@ -949,146 +1263,210 @@ declare namespace gapi.client {
949
1263
  */
950
1264
  delete(request?: {
951
1265
  /** V1 error format. */
952
- "$.xgafv"?: string;
1266
+ "$.xgafv"?:
1267
+ string;
953
1268
  /** OAuth access token. */
954
- access_token?: string;
1269
+ access_token?:
1270
+ string;
955
1271
  /** Data format for response. */
956
- alt?: string;
1272
+ alt?:
1273
+ string;
957
1274
  /** JSONP */
958
- callback?: string;
1275
+ callback?:
1276
+ string;
959
1277
  /** Selector specifying which fields to include in a partial response. */
960
- fields?: string;
1278
+ fields?:
1279
+ string;
961
1280
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
962
- key?: string;
1281
+ key?:
1282
+ string;
963
1283
  /** The name of the operation resource to be deleted. */
964
- name: string;
1284
+ name:
1285
+ string;
965
1286
  /** OAuth 2.0 token for the current user. */
966
- oauth_token?: string;
1287
+ oauth_token?:
1288
+ string;
967
1289
  /** Returns response with indentations and line breaks. */
968
- prettyPrint?: boolean;
1290
+ prettyPrint?:
1291
+ boolean;
969
1292
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
970
- quotaUser?: string;
1293
+ quotaUser?:
1294
+ string;
971
1295
  /** Upload protocol for media (e.g. "raw", "multipart"). */
972
- upload_protocol?: string;
1296
+ upload_protocol?:
1297
+ string;
973
1298
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
974
- uploadType?: string;
1299
+ uploadType?:
1300
+ string;
975
1301
  }): Request<{}>;
976
1302
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
977
1303
  get(request?: {
978
1304
  /** V1 error format. */
979
- "$.xgafv"?: string;
1305
+ "$.xgafv"?:
1306
+ string;
980
1307
  /** OAuth access token. */
981
- access_token?: string;
1308
+ access_token?:
1309
+ string;
982
1310
  /** Data format for response. */
983
- alt?: string;
1311
+ alt?:
1312
+ string;
984
1313
  /** JSONP */
985
- callback?: string;
1314
+ callback?:
1315
+ string;
986
1316
  /** Selector specifying which fields to include in a partial response. */
987
- fields?: string;
1317
+ fields?:
1318
+ string;
988
1319
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
989
- key?: string;
1320
+ key?:
1321
+ string;
990
1322
  /** The name of the operation resource. */
991
- name: string;
1323
+ name:
1324
+ string;
992
1325
  /** OAuth 2.0 token for the current user. */
993
- oauth_token?: string;
1326
+ oauth_token?:
1327
+ string;
994
1328
  /** Returns response with indentations and line breaks. */
995
- prettyPrint?: boolean;
1329
+ prettyPrint?:
1330
+ boolean;
996
1331
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
997
- quotaUser?: string;
1332
+ quotaUser?:
1333
+ string;
998
1334
  /** Upload protocol for media (e.g. "raw", "multipart"). */
999
- upload_protocol?: string;
1335
+ upload_protocol?:
1336
+ string;
1000
1337
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1001
- uploadType?: string;
1338
+ uploadType?:
1339
+ string;
1002
1340
  }): Request<Operation>;
1003
1341
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1004
1342
  list(request?: {
1005
1343
  /** V1 error format. */
1006
- "$.xgafv"?: string;
1344
+ "$.xgafv"?:
1345
+ string;
1007
1346
  /** OAuth access token. */
1008
- access_token?: string;
1347
+ access_token?:
1348
+ string;
1009
1349
  /** Data format for response. */
1010
- alt?: string;
1350
+ alt?:
1351
+ string;
1011
1352
  /** JSONP */
1012
- callback?: string;
1353
+ callback?:
1354
+ string;
1013
1355
  /** Selector specifying which fields to include in a partial response. */
1014
- fields?: string;
1356
+ fields?:
1357
+ string;
1015
1358
  /** The standard list filter. */
1016
- filter?: string;
1359
+ filter?:
1360
+ string;
1017
1361
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1018
- key?: string;
1362
+ key?:
1363
+ string;
1019
1364
  /** The name of the operation's parent resource. */
1020
- name: string;
1365
+ name:
1366
+ string;
1021
1367
  /** OAuth 2.0 token for the current user. */
1022
- oauth_token?: string;
1368
+ oauth_token?:
1369
+ string;
1023
1370
  /** The standard list page size. */
1024
- pageSize?: number;
1371
+ pageSize?:
1372
+ number;
1025
1373
  /** The standard list page token. */
1026
- pageToken?: string;
1374
+ pageToken?:
1375
+ string;
1027
1376
  /** Returns response with indentations and line breaks. */
1028
- prettyPrint?: boolean;
1377
+ prettyPrint?:
1378
+ boolean;
1029
1379
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1030
- quotaUser?: string;
1380
+ quotaUser?:
1381
+ string;
1031
1382
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1032
- upload_protocol?: string;
1383
+ upload_protocol?:
1384
+ string;
1033
1385
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1034
- uploadType?: string;
1386
+ uploadType?:
1387
+ string;
1035
1388
  }): Request<ListOperationsResponse>;
1036
1389
  }
1037
1390
  interface StateResource {
1038
1391
  /** Report agent's state, e.g. agent status and tasks information */
1039
1392
  report(request: {
1040
1393
  /** V1 error format. */
1041
- "$.xgafv"?: string;
1394
+ "$.xgafv"?:
1395
+ string;
1042
1396
  /** OAuth access token. */
1043
- access_token?: string;
1397
+ access_token?:
1398
+ string;
1044
1399
  /** Data format for response. */
1045
- alt?: string;
1400
+ alt?:
1401
+ string;
1046
1402
  /** JSONP */
1047
- callback?: string;
1403
+ callback?:
1404
+ string;
1048
1405
  /** Selector specifying which fields to include in a partial response. */
1049
- fields?: string;
1406
+ fields?:
1407
+ string;
1050
1408
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1051
- key?: string;
1409
+ key?:
1410
+ string;
1052
1411
  /** OAuth 2.0 token for the current user. */
1053
- oauth_token?: string;
1412
+ oauth_token?:
1413
+ string;
1054
1414
  /** Required. Format: projects/{project}/locations/{location} {project} should be a project number. */
1055
- parent: string;
1415
+ parent:
1416
+ string;
1056
1417
  /** Returns response with indentations and line breaks. */
1057
- prettyPrint?: boolean;
1418
+ prettyPrint?:
1419
+ boolean;
1058
1420
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1059
- quotaUser?: string;
1421
+ quotaUser?:
1422
+ string;
1060
1423
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1061
- upload_protocol?: string;
1424
+ upload_protocol?:
1425
+ string;
1062
1426
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1063
- uploadType?: string;
1427
+ uploadType?:
1428
+ string;
1064
1429
  /** Request body */
1065
- resource: ReportAgentStateRequest;
1430
+ resource:
1431
+ ReportAgentStateRequest;
1066
1432
  }): Request<ReportAgentStateResponse>;
1067
1433
  report(request: {
1068
1434
  /** V1 error format. */
1069
- "$.xgafv"?: string;
1435
+ "$.xgafv"?:
1436
+ string;
1070
1437
  /** OAuth access token. */
1071
- access_token?: string;
1438
+ access_token?:
1439
+ string;
1072
1440
  /** Data format for response. */
1073
- alt?: string;
1441
+ alt?:
1442
+ string;
1074
1443
  /** JSONP */
1075
- callback?: string;
1444
+ callback?:
1445
+ string;
1076
1446
  /** Selector specifying which fields to include in a partial response. */
1077
- fields?: string;
1447
+ fields?:
1448
+ string;
1078
1449
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1079
- key?: string;
1450
+ key?:
1451
+ string;
1080
1452
  /** OAuth 2.0 token for the current user. */
1081
- oauth_token?: string;
1453
+ oauth_token?:
1454
+ string;
1082
1455
  /** Required. Format: projects/{project}/locations/{location} {project} should be a project number. */
1083
- parent: string;
1456
+ parent:
1457
+ string;
1084
1458
  /** Returns response with indentations and line breaks. */
1085
- prettyPrint?: boolean;
1459
+ prettyPrint?:
1460
+ boolean;
1086
1461
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1087
- quotaUser?: string;
1462
+ quotaUser?:
1463
+ string;
1088
1464
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1089
- upload_protocol?: string;
1465
+ upload_protocol?:
1466
+ string;
1090
1467
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1091
- uploadType?: string;
1468
+ uploadType?:
1469
+ string;
1092
1470
  },
1093
1471
  body: ReportAgentStateRequest): Request<ReportAgentStateResponse>;
1094
1472
  }
@@ -1096,72 +1474,103 @@ declare namespace gapi.client {
1096
1474
  /** Gets information about a location. */
1097
1475
  get(request?: {
1098
1476
  /** V1 error format. */
1099
- "$.xgafv"?: string;
1477
+ "$.xgafv"?:
1478
+ string;
1100
1479
  /** OAuth access token. */
1101
- access_token?: string;
1480
+ access_token?:
1481
+ string;
1102
1482
  /** Data format for response. */
1103
- alt?: string;
1483
+ alt?:
1484
+ string;
1104
1485
  /** JSONP */
1105
- callback?: string;
1486
+ callback?:
1487
+ string;
1106
1488
  /** Selector specifying which fields to include in a partial response. */
1107
- fields?: string;
1489
+ fields?:
1490
+ string;
1108
1491
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1109
- key?: string;
1492
+ key?:
1493
+ string;
1110
1494
  /** Resource name for the location. */
1111
- name: string;
1495
+ name:
1496
+ string;
1112
1497
  /** OAuth 2.0 token for the current user. */
1113
- oauth_token?: string;
1498
+ oauth_token?:
1499
+ string;
1114
1500
  /** Returns response with indentations and line breaks. */
1115
- prettyPrint?: boolean;
1501
+ prettyPrint?:
1502
+ boolean;
1116
1503
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1117
- quotaUser?: string;
1504
+ quotaUser?:
1505
+ string;
1118
1506
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1119
- upload_protocol?: string;
1507
+ upload_protocol?:
1508
+ string;
1120
1509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1121
- uploadType?: string;
1510
+ uploadType?:
1511
+ string;
1122
1512
  }): Request<Location>;
1123
1513
  /** Lists information about the supported locations for this service. */
1124
1514
  list(request?: {
1125
1515
  /** V1 error format. */
1126
- "$.xgafv"?: string;
1516
+ "$.xgafv"?:
1517
+ string;
1127
1518
  /** OAuth access token. */
1128
- access_token?: string;
1519
+ access_token?:
1520
+ string;
1129
1521
  /** Data format for response. */
1130
- alt?: string;
1522
+ alt?:
1523
+ string;
1131
1524
  /** JSONP */
1132
- callback?: string;
1525
+ callback?:
1526
+ string;
1133
1527
  /** Selector specifying which fields to include in a partial response. */
1134
- fields?: string;
1528
+ fields?:
1529
+ string;
1135
1530
  /**
1136
1531
  * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
1137
1532
  * [AIP-160](https://google.aip.dev/160).
1138
1533
  */
1139
- filter?: string;
1534
+ filter?:
1535
+ string;
1140
1536
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1141
- key?: string;
1537
+ key?:
1538
+ string;
1142
1539
  /** The resource that owns the locations collection, if applicable. */
1143
- name: string;
1540
+ name:
1541
+ string;
1144
1542
  /** OAuth 2.0 token for the current user. */
1145
- oauth_token?: string;
1543
+ oauth_token?:
1544
+ string;
1146
1545
  /** The maximum number of results to return. If not set, the service selects a default. */
1147
- pageSize?: number;
1546
+ pageSize?:
1547
+ number;
1148
1548
  /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1149
- pageToken?: string;
1549
+ pageToken?:
1550
+ string;
1150
1551
  /** Returns response with indentations and line breaks. */
1151
- prettyPrint?: boolean;
1552
+ prettyPrint?:
1553
+ boolean;
1152
1554
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1153
- quotaUser?: string;
1555
+ quotaUser?:
1556
+ string;
1154
1557
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1155
- upload_protocol?: string;
1558
+ upload_protocol?:
1559
+ string;
1156
1560
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1157
- uploadType?: string;
1561
+ uploadType?:
1562
+ string;
1158
1563
  }): Request<ListLocationsResponse>;
1159
- jobs: JobsResource;
1160
- operations: OperationsResource;
1161
- state: StateResource;
1564
+ jobs:
1565
+ JobsResource;
1566
+ operations:
1567
+ OperationsResource;
1568
+ state:
1569
+ StateResource;
1162
1570
  }
1163
1571
  interface ProjectsResource {
1164
- locations: LocationsResource;
1572
+ locations:
1573
+ LocationsResource;
1165
1574
  }
1166
1575
 
1167
1576
  const projects: ProjectsResource;