@maxim_mazurok/gapi.client.cloudbuild-v1 0.1.20260309 → 0.2.20260309

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 +338 -227
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -36,7 +36,7 @@ declare namespace gapi.client {
36
36
  /** Optional. An optional comment for this manual approval result. */
37
37
  comment?: string;
38
38
  /** Required. The decision of this manual approval. */
39
- decision?: string;
39
+ decision?: 'DECISION_UNSPECIFIED' | 'APPROVED' | 'REJECTED';
40
40
  /** Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build. */
41
41
  url?: string;
42
42
  }
@@ -228,7 +228,17 @@ declare namespace gapi.client {
228
228
  /** Output only. Time at which execution of the build was started. */
229
229
  startTime?: string;
230
230
  /** Output only. Status of the build. */
231
- status?: string;
231
+ status?:
232
+ | 'STATUS_UNKNOWN'
233
+ | 'PENDING'
234
+ | 'QUEUED'
235
+ | 'WORKING'
236
+ | 'SUCCESS'
237
+ | 'FAILURE'
238
+ | 'INTERNAL_ERROR'
239
+ | 'TIMEOUT'
240
+ | 'CANCELLED'
241
+ | 'EXPIRED';
232
242
  /** Output only. Customer-readable message about the current status. */
233
243
  statusDetail?: string;
234
244
  /** Required. The operations to be performed on the workspace. */
@@ -250,7 +260,12 @@ declare namespace gapi.client {
250
260
  /** Output only. Result of manual approval for this Build. */
251
261
  result?: ApprovalResult;
252
262
  /** Output only. The state of this build's approval. */
253
- state?: string;
263
+ state?:
264
+ | 'STATE_UNSPECIFIED'
265
+ | 'PENDING'
266
+ | 'APPROVED'
267
+ | 'REJECTED'
268
+ | 'CANCELLED';
254
269
  }
255
270
  interface BuildOperationMetadata {
256
271
  /** The build that the operation is tracking. */
@@ -260,7 +275,10 @@ declare namespace gapi.client {
260
275
  /** Option to include built-in and custom substitutions as env variables for all build steps. */
261
276
  automapSubstitutions?: boolean;
262
277
  /** Optional. Option to specify how default logs buckets are setup. */
263
- defaultLogsBucketBehavior?: string;
278
+ defaultLogsBucketBehavior?:
279
+ | 'DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED'
280
+ | 'REGIONAL_USER_OWNED_BUCKET'
281
+ | 'LEGACY_BUCKET';
264
282
  /** Requested disk size for the VM that runs the build. Note that this is *NOT* "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error. */
265
283
  diskSizeGb?: string;
266
284
  /** Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file. */
@@ -270,23 +288,41 @@ declare namespace gapi.client {
270
288
  /** A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". */
271
289
  env?: string[];
272
290
  /** Option to specify the logging mode, which determines if and where build logs are stored. */
273
- logging?: string;
291
+ logging?:
292
+ | 'LOGGING_UNSPECIFIED'
293
+ | 'LEGACY'
294
+ | 'GCS_ONLY'
295
+ | 'STACKDRIVER_ONLY'
296
+ | 'CLOUD_LOGGING_ONLY'
297
+ | 'NONE';
274
298
  /** Option to define build log streaming behavior to Cloud Storage. */
275
- logStreamingOption?: string;
299
+ logStreamingOption?: 'STREAM_DEFAULT' | 'STREAM_ON' | 'STREAM_OFF';
276
300
  /** Compute Engine machine type on which to run the build. */
277
- machineType?: string;
301
+ machineType?:
302
+ | 'UNSPECIFIED'
303
+ | 'N1_HIGHCPU_8'
304
+ | 'N1_HIGHCPU_32'
305
+ | 'E2_HIGHCPU_8'
306
+ | 'E2_HIGHCPU_32'
307
+ | 'E2_MEDIUM';
278
308
  /** Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. */
279
309
  pool?: PoolOption;
280
310
  /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
281
311
  pubsubTopic?: string;
282
312
  /** Requested verifiability options. */
283
- requestedVerifyOption?: string;
313
+ requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
284
314
  /** A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. */
285
315
  secretEnv?: string[];
286
316
  /** Requested hash for SourceProvenance. */
287
- sourceProvenanceHash?: string[];
317
+ sourceProvenanceHash?:
318
+ | 'NONE'
319
+ | 'SHA256'
320
+ | 'MD5'
321
+ | 'GO_MODULE_H1'
322
+ | 'SHA512'
323
+ | 'DIRSUM_SHA256'[];
288
324
  /** Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. */
289
- substitutionOption?: string;
325
+ substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
290
326
  /** Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. */
291
327
  volumes?: Volume[];
292
328
  /** This field deprecated; please use `pool.name` instead. */
@@ -320,7 +356,17 @@ declare namespace gapi.client {
320
356
  /** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
321
357
  secretEnv?: string[];
322
358
  /** Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses. */
323
- status?: string;
359
+ status?:
360
+ | 'STATUS_UNKNOWN'
361
+ | 'PENDING'
362
+ | 'QUEUED'
363
+ | 'WORKING'
364
+ | 'SUCCESS'
365
+ | 'FAILURE'
366
+ | 'INTERNAL_ERROR'
367
+ | 'TIMEOUT'
368
+ | 'CANCELLED'
369
+ | 'EXPIRED';
324
370
  /** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
325
371
  timeout?: string;
326
372
  /** Output only. Stores timing information for executing this build step. */
@@ -348,7 +394,12 @@ declare namespace gapi.client {
348
394
  /** If true, the trigger will never automatically execute a build. */
349
395
  disabled?: boolean;
350
396
  /** EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set. */
351
- eventType?: string;
397
+ eventType?:
398
+ | 'EVENT_TYPE_UNSPECIFIED'
399
+ | 'REPO'
400
+ | 'WEBHOOK'
401
+ | 'PUBSUB'
402
+ | 'MANUAL';
352
403
  /** Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml). */
353
404
  filename?: string;
354
405
  /** A Common Expression Language string. */
@@ -364,7 +415,9 @@ declare namespace gapi.client {
364
415
  /** ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build. */
365
416
  ignoredFiles?: string[];
366
417
  /** If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error. */
367
- includeBuildLogs?: string;
418
+ includeBuildLogs?:
419
+ | 'INCLUDE_BUILD_LOGS_UNSPECIFIED'
420
+ | 'INCLUDE_BUILD_LOGS_WITH_STATUS';
368
421
  /** If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build. */
369
422
  includedFiles?: string[];
370
423
  /** User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character. */
@@ -396,7 +449,10 @@ declare namespace gapi.client {
396
449
  /** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
397
450
  name?: string;
398
451
  /** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
399
- ociMediaType?: string;
452
+ ociMediaType?:
453
+ | 'OCI_MEDIA_TYPE_UNSPECIFIED'
454
+ | 'IMAGE_MANIFEST'
455
+ | 'IMAGE_INDEX';
400
456
  /** Output only. Stores timing information for pushing the specified image. */
401
457
  pushTiming?: TimeSpan;
402
458
  }
@@ -517,7 +573,14 @@ declare namespace gapi.client {
517
573
  /** Required. The Developer Connect Git repository link, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*`. */
518
574
  gitRepositoryLink?: string;
519
575
  /** Output only. The type of DeveloperConnect GitRepositoryLink. */
520
- gitRepositoryLinkType?: string;
576
+ gitRepositoryLinkType?:
577
+ | 'GIT_REPOSITORY_LINK_TYPE_UNSPECIFIED'
578
+ | 'GITHUB'
579
+ | 'GITHUB_ENTERPRISE'
580
+ | 'GITLAB'
581
+ | 'GITLAB_ENTERPRISE'
582
+ | 'BITBUCKET_DATA_CENTER'
583
+ | 'BITBUCKET_CLOUD';
521
584
  /** Filter to match changes in pull requests. */
522
585
  pullRequest?: PullRequestFilter;
523
586
  /** Filter to match changes in refs like branches and tags. */
@@ -528,7 +591,14 @@ declare namespace gapi.client {
528
591
  /** Explains the failure issue in more detail using hard-coded text. */
529
592
  detail?: string;
530
593
  /** The name of the failure. */
531
- type?: string;
594
+ type?:
595
+ | 'FAILURE_TYPE_UNSPECIFIED'
596
+ | 'PUSH_FAILED'
597
+ | 'PUSH_IMAGE_NOT_FOUND'
598
+ | 'PUSH_NOT_AUTHORIZED'
599
+ | 'LOGGING_FAILURE'
600
+ | 'USER_BUILD_STEP'
601
+ | 'FETCH_SOURCE_FAILED';
532
602
  }
533
603
  interface FileHashes {
534
604
  /** Collection of file hashes. */
@@ -548,7 +618,13 @@ declare namespace gapi.client {
548
618
  /** The fully qualified resource name of the Repos API repository. Either URI or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path. */
549
619
  repository?: string;
550
620
  /** See RepoType above. */
551
- repoType?: string;
621
+ repoType?:
622
+ | 'UNKNOWN'
623
+ | 'CLOUD_SOURCE_REPOSITORIES'
624
+ | 'GITHUB'
625
+ | 'BITBUCKET_SERVER'
626
+ | 'GITLAB'
627
+ | 'BITBUCKET_CLOUD';
552
628
  /** The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path. */
553
629
  revision?: string;
554
630
  /** The URI of the repo. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path. */
@@ -688,7 +764,13 @@ declare namespace gapi.client {
688
764
  /** The connected repository resource name, in the format `projects/*‍/locations/*‍/connections/*‍/repositories/*`. Either `uri` or `repository` can be specified and is required. */
689
765
  repository?: string;
690
766
  /** See RepoType below. */
691
- repoType?: string;
767
+ repoType?:
768
+ | 'UNKNOWN'
769
+ | 'CLOUD_SOURCE_REPOSITORIES'
770
+ | 'GITHUB'
771
+ | 'BITBUCKET_SERVER'
772
+ | 'GITLAB'
773
+ | 'BITBUCKET_CLOUD';
692
774
  /** The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. */
693
775
  uri?: string;
694
776
  }
@@ -734,7 +816,13 @@ declare namespace gapi.client {
734
816
  }
735
817
  interface Hash {
736
818
  /** The type of hash that was performed. */
737
- type?: string;
819
+ type?:
820
+ | 'NONE'
821
+ | 'SHA256'
822
+ | 'MD5'
823
+ | 'GO_MODULE_H1'
824
+ | 'SHA512'
825
+ | 'DIRSUM_SHA256';
738
826
  /** The hash value. */
739
827
  value?: string;
740
828
  }
@@ -818,7 +906,10 @@ declare namespace gapi.client {
818
906
  }
819
907
  interface NetworkConfig {
820
908
  /** Option to configure network egress for the workers. */
821
- egressOption?: string;
909
+ egressOption?:
910
+ | 'EGRESS_OPTION_UNSPECIFIED'
911
+ | 'NO_PUBLIC_EGRESS'
912
+ | 'PUBLIC_EGRESS';
822
913
  /** Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/build/docs/private-pools/set-up-private-pool-environment) */
823
914
  peeredNetwork?: string;
824
915
  /** Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used. */
@@ -898,7 +989,12 @@ declare namespace gapi.client {
898
989
  /** Service account that will make the push request. */
899
990
  serviceAccountEmail?: string;
900
991
  /** Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. */
901
- state?: string;
992
+ state?:
993
+ | 'STATE_UNSPECIFIED'
994
+ | 'OK'
995
+ | 'SUBSCRIPTION_DELETED'
996
+ | 'TOPIC_DELETED'
997
+ | 'SUBSCRIPTION_MISCONFIGURED';
902
998
  /** Output only. Name of the subscription. Format is `projects/{project}/subscriptions/{subscription}`. */
903
999
  subscription?: string;
904
1000
  /** Optional. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. */
@@ -908,7 +1004,10 @@ declare namespace gapi.client {
908
1004
  /** Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
909
1005
  branch?: string;
910
1006
  /** If CommentControl is enabled, depending on the setting, builds may not fire until a repository writer comments `/gcbrun` on a pull request or `/gcbrun` is in the pull request description. Only PR comments that contain `/gcbrun` will trigger builds. If CommentControl is set to disabled, comments with `/gcbrun` from a user with repository write permission or above will still trigger builds to run. */
911
- commentControl?: string;
1007
+ commentControl?:
1008
+ | 'COMMENTS_DISABLED'
1009
+ | 'COMMENTS_ENABLED'
1010
+ | 'COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY';
912
1011
  /** If true, branches that do NOT match the git_ref will trigger a build. */
913
1012
  invertRegex?: boolean;
914
1013
  }
@@ -943,7 +1042,13 @@ declare namespace gapi.client {
943
1042
  /** The resource name of the Repo API resource. */
944
1043
  repository?: string;
945
1044
  /** Output only. The type of the SCM vendor the repository points to. */
946
- repositoryType?: string;
1045
+ repositoryType?:
1046
+ | 'REPOSITORY_TYPE_UNSPECIFIED'
1047
+ | 'GITHUB'
1048
+ | 'GITHUB_ENTERPRISE'
1049
+ | 'GITLAB_ENTERPRISE'
1050
+ | 'BITBUCKET_DATA_CENTER'
1051
+ | 'BITBUCKET_CLOUD';
947
1052
  }
948
1053
  interface RepoSource {
949
1054
  /** Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
@@ -1067,7 +1172,7 @@ declare namespace gapi.client {
1067
1172
  /** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
1068
1173
  object?: string;
1069
1174
  /** Optional. Option to specify the tool to fetch the source file for the build. */
1070
- sourceFetcher?: string;
1175
+ sourceFetcher?: 'SOURCE_FETCHER_UNSPECIFIED' | 'GSUTIL' | 'GCS_FETCHER';
1071
1176
  }
1072
1177
  interface StorageSourceManifest {
1073
1178
  /** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
@@ -1163,7 +1268,7 @@ declare namespace gapi.client {
1163
1268
  }
1164
1269
  interface Warning {
1165
1270
  /** The priority for this warning. */
1166
- priority?: string;
1271
+ priority?: 'PRIORITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ALERT';
1167
1272
  /** Explanation of the warning generated. */
1168
1273
  text?: string;
1169
1274
  }
@@ -1171,7 +1276,7 @@ declare namespace gapi.client {
1171
1276
  /** Required. Resource name for the secret required as a URL parameter. */
1172
1277
  secret?: string;
1173
1278
  /** Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. */
1174
- state?: string;
1279
+ state?: 'STATE_UNSPECIFIED' | 'OK' | 'SECRET_DELETED';
1175
1280
  }
1176
1281
  interface WorkerConfig {
1177
1282
  /** Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 4000. If `0` is specified, Cloud Build will use a standard disk size. */
@@ -1197,7 +1302,13 @@ declare namespace gapi.client {
1197
1302
  /** Private Pool configuration. */
1198
1303
  privatePoolV1Config?: PrivatePoolV1Config;
1199
1304
  /** Output only. `WorkerPool` state. */
1200
- state?: string;
1305
+ state?:
1306
+ | 'STATE_UNSPECIFIED'
1307
+ | 'CREATING'
1308
+ | 'RUNNING'
1309
+ | 'DELETING'
1310
+ | 'DELETED'
1311
+ | 'UPDATING';
1201
1312
  /** Output only. A unique identifier for the `WorkerPool`. */
1202
1313
  uid?: string;
1203
1314
  /** Output only. Time at which the request to update the `WorkerPool` was received. */
@@ -1207,11 +1318,11 @@ declare namespace gapi.client {
1207
1318
  /** ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook. */
1208
1319
  receive(request: {
1209
1320
  /** V1 error format. */
1210
- '$.xgafv'?: string;
1321
+ '$.xgafv'?: '1' | '2';
1211
1322
  /** OAuth access token. */
1212
1323
  access_token?: string;
1213
1324
  /** Data format for response. */
1214
- alt?: string;
1325
+ alt?: 'json' | 'media' | 'proto';
1215
1326
  /** JSONP */
1216
1327
  callback?: string;
1217
1328
  /** Selector specifying which fields to include in a partial response. */
@@ -1236,11 +1347,11 @@ declare namespace gapi.client {
1236
1347
  receive(
1237
1348
  request: {
1238
1349
  /** V1 error format. */
1239
- '$.xgafv'?: string;
1350
+ '$.xgafv'?: '1' | '2';
1240
1351
  /** OAuth access token. */
1241
1352
  access_token?: string;
1242
1353
  /** Data format for response. */
1243
- alt?: string;
1354
+ alt?: 'json' | 'media' | 'proto';
1244
1355
  /** JSONP */
1245
1356
  callback?: string;
1246
1357
  /** Selector specifying which fields to include in a partial response. */
@@ -1267,11 +1378,11 @@ declare namespace gapi.client {
1267
1378
  /** ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook. */
1268
1379
  regionalWebhook(request: {
1269
1380
  /** V1 error format. */
1270
- '$.xgafv'?: string;
1381
+ '$.xgafv'?: '1' | '2';
1271
1382
  /** OAuth access token. */
1272
1383
  access_token?: string;
1273
1384
  /** Data format for response. */
1274
- alt?: string;
1385
+ alt?: 'json' | 'media' | 'proto';
1275
1386
  /** JSONP */
1276
1387
  callback?: string;
1277
1388
  /** Selector specifying which fields to include in a partial response. */
@@ -1298,11 +1409,11 @@ declare namespace gapi.client {
1298
1409
  regionalWebhook(
1299
1410
  request: {
1300
1411
  /** V1 error format. */
1301
- '$.xgafv'?: string;
1412
+ '$.xgafv'?: '1' | '2';
1302
1413
  /** OAuth access token. */
1303
1414
  access_token?: string;
1304
1415
  /** Data format for response. */
1305
- alt?: string;
1416
+ alt?: 'json' | 'media' | 'proto';
1306
1417
  /** JSONP */
1307
1418
  callback?: string;
1308
1419
  /** Selector specifying which fields to include in a partial response. */
@@ -1331,11 +1442,11 @@ declare namespace gapi.client {
1331
1442
  /** 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`. */
1332
1443
  cancel(request: {
1333
1444
  /** V1 error format. */
1334
- '$.xgafv'?: string;
1445
+ '$.xgafv'?: '1' | '2';
1335
1446
  /** OAuth access token. */
1336
1447
  access_token?: string;
1337
1448
  /** Data format for response. */
1338
- alt?: string;
1449
+ alt?: 'json' | 'media' | 'proto';
1339
1450
  /** JSONP */
1340
1451
  callback?: string;
1341
1452
  /** Selector specifying which fields to include in a partial response. */
@@ -1360,11 +1471,11 @@ declare namespace gapi.client {
1360
1471
  cancel(
1361
1472
  request: {
1362
1473
  /** V1 error format. */
1363
- '$.xgafv'?: string;
1474
+ '$.xgafv'?: '1' | '2';
1364
1475
  /** OAuth access token. */
1365
1476
  access_token?: string;
1366
1477
  /** Data format for response. */
1367
- alt?: string;
1478
+ alt?: 'json' | 'media' | 'proto';
1368
1479
  /** JSONP */
1369
1480
  callback?: string;
1370
1481
  /** Selector specifying which fields to include in a partial response. */
@@ -1389,11 +1500,11 @@ declare namespace gapi.client {
1389
1500
  /** 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. */
1390
1501
  get(request?: {
1391
1502
  /** V1 error format. */
1392
- '$.xgafv'?: string;
1503
+ '$.xgafv'?: '1' | '2';
1393
1504
  /** OAuth access token. */
1394
1505
  access_token?: string;
1395
1506
  /** Data format for response. */
1396
- alt?: string;
1507
+ alt?: 'json' | 'media' | 'proto';
1397
1508
  /** JSONP */
1398
1509
  callback?: string;
1399
1510
  /** Selector specifying which fields to include in a partial response. */
@@ -1418,11 +1529,11 @@ declare namespace gapi.client {
1418
1529
  /** Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. */
1419
1530
  approve(request: {
1420
1531
  /** V1 error format. */
1421
- '$.xgafv'?: string;
1532
+ '$.xgafv'?: '1' | '2';
1422
1533
  /** OAuth access token. */
1423
1534
  access_token?: string;
1424
1535
  /** Data format for response. */
1425
- alt?: string;
1536
+ alt?: 'json' | 'media' | 'proto';
1426
1537
  /** JSONP */
1427
1538
  callback?: string;
1428
1539
  /** Selector specifying which fields to include in a partial response. */
@@ -1447,11 +1558,11 @@ declare namespace gapi.client {
1447
1558
  approve(
1448
1559
  request: {
1449
1560
  /** V1 error format. */
1450
- '$.xgafv'?: string;
1561
+ '$.xgafv'?: '1' | '2';
1451
1562
  /** OAuth access token. */
1452
1563
  access_token?: string;
1453
1564
  /** Data format for response. */
1454
- alt?: string;
1565
+ alt?: 'json' | 'media' | 'proto';
1455
1566
  /** JSONP */
1456
1567
  callback?: string;
1457
1568
  /** Selector specifying which fields to include in a partial response. */
@@ -1476,11 +1587,11 @@ declare namespace gapi.client {
1476
1587
  /** Cancels a build in progress. */
1477
1588
  cancel(request: {
1478
1589
  /** V1 error format. */
1479
- '$.xgafv'?: string;
1590
+ '$.xgafv'?: '1' | '2';
1480
1591
  /** OAuth access token. */
1481
1592
  access_token?: string;
1482
1593
  /** Data format for response. */
1483
- alt?: string;
1594
+ alt?: 'json' | 'media' | 'proto';
1484
1595
  /** JSONP */
1485
1596
  callback?: string;
1486
1597
  /** Selector specifying which fields to include in a partial response. */
@@ -1507,11 +1618,11 @@ declare namespace gapi.client {
1507
1618
  cancel(
1508
1619
  request: {
1509
1620
  /** V1 error format. */
1510
- '$.xgafv'?: string;
1621
+ '$.xgafv'?: '1' | '2';
1511
1622
  /** OAuth access token. */
1512
1623
  access_token?: string;
1513
1624
  /** Data format for response. */
1514
- alt?: string;
1625
+ alt?: 'json' | 'media' | 'proto';
1515
1626
  /** JSONP */
1516
1627
  callback?: string;
1517
1628
  /** Selector specifying which fields to include in a partial response. */
@@ -1538,11 +1649,11 @@ declare namespace gapi.client {
1538
1649
  /** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). */
1539
1650
  create(request: {
1540
1651
  /** V1 error format. */
1541
- '$.xgafv'?: string;
1652
+ '$.xgafv'?: '1' | '2';
1542
1653
  /** OAuth access token. */
1543
1654
  access_token?: string;
1544
1655
  /** Data format for response. */
1545
- alt?: string;
1656
+ alt?: 'json' | 'media' | 'proto';
1546
1657
  /** JSONP */
1547
1658
  callback?: string;
1548
1659
  /** Selector specifying which fields to include in a partial response. */
@@ -1569,11 +1680,11 @@ declare namespace gapi.client {
1569
1680
  create(
1570
1681
  request: {
1571
1682
  /** V1 error format. */
1572
- '$.xgafv'?: string;
1683
+ '$.xgafv'?: '1' | '2';
1573
1684
  /** OAuth access token. */
1574
1685
  access_token?: string;
1575
1686
  /** Data format for response. */
1576
- alt?: string;
1687
+ alt?: 'json' | 'media' | 'proto';
1577
1688
  /** JSONP */
1578
1689
  callback?: string;
1579
1690
  /** Selector specifying which fields to include in a partial response. */
@@ -1600,11 +1711,11 @@ declare namespace gapi.client {
1600
1711
  /** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. */
1601
1712
  get(request?: {
1602
1713
  /** V1 error format. */
1603
- '$.xgafv'?: string;
1714
+ '$.xgafv'?: '1' | '2';
1604
1715
  /** OAuth access token. */
1605
1716
  access_token?: string;
1606
1717
  /** Data format for response. */
1607
- alt?: string;
1718
+ alt?: 'json' | 'media' | 'proto';
1608
1719
  /** JSONP */
1609
1720
  callback?: string;
1610
1721
  /** Selector specifying which fields to include in a partial response. */
@@ -1631,11 +1742,11 @@ declare namespace gapi.client {
1631
1742
  /** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
1632
1743
  list(request?: {
1633
1744
  /** V1 error format. */
1634
- '$.xgafv'?: string;
1745
+ '$.xgafv'?: '1' | '2';
1635
1746
  /** OAuth access token. */
1636
1747
  access_token?: string;
1637
1748
  /** Data format for response. */
1638
- alt?: string;
1749
+ alt?: 'json' | 'media' | 'proto';
1639
1750
  /** JSONP */
1640
1751
  callback?: string;
1641
1752
  /** Selector specifying which fields to include in a partial response. */
@@ -1666,11 +1777,11 @@ declare namespace gapi.client {
1666
1777
  /** Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings. */
1667
1778
  retry(request: {
1668
1779
  /** V1 error format. */
1669
- '$.xgafv'?: string;
1780
+ '$.xgafv'?: '1' | '2';
1670
1781
  /** OAuth access token. */
1671
1782
  access_token?: string;
1672
1783
  /** Data format for response. */
1673
- alt?: string;
1784
+ alt?: 'json' | 'media' | 'proto';
1674
1785
  /** JSONP */
1675
1786
  callback?: string;
1676
1787
  /** Selector specifying which fields to include in a partial response. */
@@ -1697,11 +1808,11 @@ declare namespace gapi.client {
1697
1808
  retry(
1698
1809
  request: {
1699
1810
  /** V1 error format. */
1700
- '$.xgafv'?: string;
1811
+ '$.xgafv'?: '1' | '2';
1701
1812
  /** OAuth access token. */
1702
1813
  access_token?: string;
1703
1814
  /** Data format for response. */
1704
- alt?: string;
1815
+ alt?: 'json' | 'media' | 'proto';
1705
1816
  /** JSONP */
1706
1817
  callback?: string;
1707
1818
  /** Selector specifying which fields to include in a partial response. */
@@ -1730,11 +1841,11 @@ declare namespace gapi.client {
1730
1841
  /** Create an association between a GCP project and a GitHub Enterprise server. */
1731
1842
  create(request: {
1732
1843
  /** V1 error format. */
1733
- '$.xgafv'?: string;
1844
+ '$.xgafv'?: '1' | '2';
1734
1845
  /** OAuth access token. */
1735
1846
  access_token?: string;
1736
1847
  /** Data format for response. */
1737
- alt?: string;
1848
+ alt?: 'json' | 'media' | 'proto';
1738
1849
  /** JSONP */
1739
1850
  callback?: string;
1740
1851
  /** Selector specifying which fields to include in a partial response. */
@@ -1763,11 +1874,11 @@ declare namespace gapi.client {
1763
1874
  create(
1764
1875
  request: {
1765
1876
  /** V1 error format. */
1766
- '$.xgafv'?: string;
1877
+ '$.xgafv'?: '1' | '2';
1767
1878
  /** OAuth access token. */
1768
1879
  access_token?: string;
1769
1880
  /** Data format for response. */
1770
- alt?: string;
1881
+ alt?: 'json' | 'media' | 'proto';
1771
1882
  /** JSONP */
1772
1883
  callback?: string;
1773
1884
  /** Selector specifying which fields to include in a partial response. */
@@ -1796,11 +1907,11 @@ declare namespace gapi.client {
1796
1907
  /** Delete an association between a GCP project and a GitHub Enterprise server. */
1797
1908
  delete(request?: {
1798
1909
  /** V1 error format. */
1799
- '$.xgafv'?: string;
1910
+ '$.xgafv'?: '1' | '2';
1800
1911
  /** OAuth access token. */
1801
1912
  access_token?: string;
1802
1913
  /** Data format for response. */
1803
- alt?: string;
1914
+ alt?: 'json' | 'media' | 'proto';
1804
1915
  /** JSONP */
1805
1916
  callback?: string;
1806
1917
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -1827,11 +1938,11 @@ declare namespace gapi.client {
1827
1938
  /** Retrieve a GitHubEnterpriseConfig. */
1828
1939
  get(request?: {
1829
1940
  /** V1 error format. */
1830
- '$.xgafv'?: string;
1941
+ '$.xgafv'?: '1' | '2';
1831
1942
  /** OAuth access token. */
1832
1943
  access_token?: string;
1833
1944
  /** Data format for response. */
1834
- alt?: string;
1945
+ alt?: 'json' | 'media' | 'proto';
1835
1946
  /** JSONP */
1836
1947
  callback?: string;
1837
1948
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -1858,11 +1969,11 @@ declare namespace gapi.client {
1858
1969
  /** List all GitHubEnterpriseConfigs for a given project. */
1859
1970
  list(request?: {
1860
1971
  /** V1 error format. */
1861
- '$.xgafv'?: string;
1972
+ '$.xgafv'?: '1' | '2';
1862
1973
  /** OAuth access token. */
1863
1974
  access_token?: string;
1864
1975
  /** Data format for response. */
1865
- alt?: string;
1976
+ alt?: 'json' | 'media' | 'proto';
1866
1977
  /** JSONP */
1867
1978
  callback?: string;
1868
1979
  /** Selector specifying which fields to include in a partial response. */
@@ -1887,11 +1998,11 @@ declare namespace gapi.client {
1887
1998
  /** Update an association between a GCP project and a GitHub Enterprise server. */
1888
1999
  patch(request: {
1889
2000
  /** V1 error format. */
1890
- '$.xgafv'?: string;
2001
+ '$.xgafv'?: '1' | '2';
1891
2002
  /** OAuth access token. */
1892
2003
  access_token?: string;
1893
2004
  /** Data format for response. */
1894
- alt?: string;
2005
+ alt?: 'json' | 'media' | 'proto';
1895
2006
  /** JSONP */
1896
2007
  callback?: string;
1897
2008
  /** Selector specifying which fields to include in a partial response. */
@@ -1918,11 +2029,11 @@ declare namespace gapi.client {
1918
2029
  patch(
1919
2030
  request: {
1920
2031
  /** V1 error format. */
1921
- '$.xgafv'?: string;
2032
+ '$.xgafv'?: '1' | '2';
1922
2033
  /** OAuth access token. */
1923
2034
  access_token?: string;
1924
2035
  /** Data format for response. */
1925
- alt?: string;
2036
+ alt?: 'json' | 'media' | 'proto';
1926
2037
  /** JSONP */
1927
2038
  callback?: string;
1928
2039
  /** Selector specifying which fields to include in a partial response. */
@@ -1951,11 +2062,11 @@ declare namespace gapi.client {
1951
2062
  /** Batch connecting Bitbucket Server repositories to Cloud Build. */
1952
2063
  batchCreate(request: {
1953
2064
  /** V1 error format. */
1954
- '$.xgafv'?: string;
2065
+ '$.xgafv'?: '1' | '2';
1955
2066
  /** OAuth access token. */
1956
2067
  access_token?: string;
1957
2068
  /** Data format for response. */
1958
- alt?: string;
2069
+ alt?: 'json' | 'media' | 'proto';
1959
2070
  /** JSONP */
1960
2071
  callback?: string;
1961
2072
  /** Selector specifying which fields to include in a partial response. */
@@ -1980,11 +2091,11 @@ declare namespace gapi.client {
1980
2091
  batchCreate(
1981
2092
  request: {
1982
2093
  /** V1 error format. */
1983
- '$.xgafv'?: string;
2094
+ '$.xgafv'?: '1' | '2';
1984
2095
  /** OAuth access token. */
1985
2096
  access_token?: string;
1986
2097
  /** Data format for response. */
1987
- alt?: string;
2098
+ alt?: 'json' | 'media' | 'proto';
1988
2099
  /** JSONP */
1989
2100
  callback?: string;
1990
2101
  /** Selector specifying which fields to include in a partial response. */
@@ -2011,11 +2122,11 @@ declare namespace gapi.client {
2011
2122
  /** List all repositories for a given `BitbucketServerConfig`. This API is experimental. */
2012
2123
  list(request?: {
2013
2124
  /** V1 error format. */
2014
- '$.xgafv'?: string;
2125
+ '$.xgafv'?: '1' | '2';
2015
2126
  /** OAuth access token. */
2016
2127
  access_token?: string;
2017
2128
  /** Data format for response. */
2018
- alt?: string;
2129
+ alt?: 'json' | 'media' | 'proto';
2019
2130
  /** JSONP */
2020
2131
  callback?: string;
2021
2132
  /** Selector specifying which fields to include in a partial response. */
@@ -2044,11 +2155,11 @@ declare namespace gapi.client {
2044
2155
  /** Creates a new `BitbucketServerConfig`. This API is experimental. */
2045
2156
  create(request: {
2046
2157
  /** V1 error format. */
2047
- '$.xgafv'?: string;
2158
+ '$.xgafv'?: '1' | '2';
2048
2159
  /** OAuth access token. */
2049
2160
  access_token?: string;
2050
2161
  /** Data format for response. */
2051
- alt?: string;
2162
+ alt?: 'json' | 'media' | 'proto';
2052
2163
  /** Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character. */
2053
2164
  bitbucketServerConfigId?: string;
2054
2165
  /** JSONP */
@@ -2075,11 +2186,11 @@ declare namespace gapi.client {
2075
2186
  create(
2076
2187
  request: {
2077
2188
  /** V1 error format. */
2078
- '$.xgafv'?: string;
2189
+ '$.xgafv'?: '1' | '2';
2079
2190
  /** OAuth access token. */
2080
2191
  access_token?: string;
2081
2192
  /** Data format for response. */
2082
- alt?: string;
2193
+ alt?: 'json' | 'media' | 'proto';
2083
2194
  /** Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character. */
2084
2195
  bitbucketServerConfigId?: string;
2085
2196
  /** JSONP */
@@ -2106,11 +2217,11 @@ declare namespace gapi.client {
2106
2217
  /** Delete a `BitbucketServerConfig`. This API is experimental. */
2107
2218
  delete(request?: {
2108
2219
  /** V1 error format. */
2109
- '$.xgafv'?: string;
2220
+ '$.xgafv'?: '1' | '2';
2110
2221
  /** OAuth access token. */
2111
2222
  access_token?: string;
2112
2223
  /** Data format for response. */
2113
- alt?: string;
2224
+ alt?: 'json' | 'media' | 'proto';
2114
2225
  /** JSONP */
2115
2226
  callback?: string;
2116
2227
  /** Selector specifying which fields to include in a partial response. */
@@ -2133,11 +2244,11 @@ declare namespace gapi.client {
2133
2244
  /** Retrieve a `BitbucketServerConfig`. This API is experimental. */
2134
2245
  get(request?: {
2135
2246
  /** V1 error format. */
2136
- '$.xgafv'?: string;
2247
+ '$.xgafv'?: '1' | '2';
2137
2248
  /** OAuth access token. */
2138
2249
  access_token?: string;
2139
2250
  /** Data format for response. */
2140
- alt?: string;
2251
+ alt?: 'json' | 'media' | 'proto';
2141
2252
  /** JSONP */
2142
2253
  callback?: string;
2143
2254
  /** Selector specifying which fields to include in a partial response. */
@@ -2160,11 +2271,11 @@ declare namespace gapi.client {
2160
2271
  /** List all `BitbucketServerConfigs` for a given project. This API is experimental. */
2161
2272
  list(request?: {
2162
2273
  /** V1 error format. */
2163
- '$.xgafv'?: string;
2274
+ '$.xgafv'?: '1' | '2';
2164
2275
  /** OAuth access token. */
2165
2276
  access_token?: string;
2166
2277
  /** Data format for response. */
2167
- alt?: string;
2278
+ alt?: 'json' | 'media' | 'proto';
2168
2279
  /** JSONP */
2169
2280
  callback?: string;
2170
2281
  /** Selector specifying which fields to include in a partial response. */
@@ -2191,11 +2302,11 @@ declare namespace gapi.client {
2191
2302
  /** Updates an existing `BitbucketServerConfig`. This API is experimental. */
2192
2303
  patch(request: {
2193
2304
  /** V1 error format. */
2194
- '$.xgafv'?: string;
2305
+ '$.xgafv'?: '1' | '2';
2195
2306
  /** OAuth access token. */
2196
2307
  access_token?: string;
2197
2308
  /** Data format for response. */
2198
- alt?: string;
2309
+ alt?: 'json' | 'media' | 'proto';
2199
2310
  /** JSONP */
2200
2311
  callback?: string;
2201
2312
  /** Selector specifying which fields to include in a partial response. */
@@ -2222,11 +2333,11 @@ declare namespace gapi.client {
2222
2333
  patch(
2223
2334
  request: {
2224
2335
  /** V1 error format. */
2225
- '$.xgafv'?: string;
2336
+ '$.xgafv'?: '1' | '2';
2226
2337
  /** OAuth access token. */
2227
2338
  access_token?: string;
2228
2339
  /** Data format for response. */
2229
- alt?: string;
2340
+ alt?: 'json' | 'media' | 'proto';
2230
2341
  /** JSONP */
2231
2342
  callback?: string;
2232
2343
  /** Selector specifying which fields to include in a partial response. */
@@ -2253,11 +2364,11 @@ declare namespace gapi.client {
2253
2364
  /** Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental. */
2254
2365
  removeBitbucketServerConnectedRepository(request: {
2255
2366
  /** V1 error format. */
2256
- '$.xgafv'?: string;
2367
+ '$.xgafv'?: '1' | '2';
2257
2368
  /** OAuth access token. */
2258
2369
  access_token?: string;
2259
2370
  /** Data format for response. */
2260
- alt?: string;
2371
+ alt?: 'json' | 'media' | 'proto';
2261
2372
  /** JSONP */
2262
2373
  callback?: string;
2263
2374
  /** Required. The name of the `BitbucketServerConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}` */
@@ -2282,11 +2393,11 @@ declare namespace gapi.client {
2282
2393
  removeBitbucketServerConnectedRepository(
2283
2394
  request: {
2284
2395
  /** V1 error format. */
2285
- '$.xgafv'?: string;
2396
+ '$.xgafv'?: '1' | '2';
2286
2397
  /** OAuth access token. */
2287
2398
  access_token?: string;
2288
2399
  /** Data format for response. */
2289
- alt?: string;
2400
+ alt?: 'json' | 'media' | 'proto';
2290
2401
  /** JSONP */
2291
2402
  callback?: string;
2292
2403
  /** Required. The name of the `BitbucketServerConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}` */
@@ -2315,11 +2426,11 @@ declare namespace gapi.client {
2315
2426
  /** Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. */
2316
2427
  approve(request: {
2317
2428
  /** V1 error format. */
2318
- '$.xgafv'?: string;
2429
+ '$.xgafv'?: '1' | '2';
2319
2430
  /** OAuth access token. */
2320
2431
  access_token?: string;
2321
2432
  /** Data format for response. */
2322
- alt?: string;
2433
+ alt?: 'json' | 'media' | 'proto';
2323
2434
  /** JSONP */
2324
2435
  callback?: string;
2325
2436
  /** Selector specifying which fields to include in a partial response. */
@@ -2344,11 +2455,11 @@ declare namespace gapi.client {
2344
2455
  approve(
2345
2456
  request: {
2346
2457
  /** V1 error format. */
2347
- '$.xgafv'?: string;
2458
+ '$.xgafv'?: '1' | '2';
2348
2459
  /** OAuth access token. */
2349
2460
  access_token?: string;
2350
2461
  /** Data format for response. */
2351
- alt?: string;
2462
+ alt?: 'json' | 'media' | 'proto';
2352
2463
  /** JSONP */
2353
2464
  callback?: string;
2354
2465
  /** Selector specifying which fields to include in a partial response. */
@@ -2373,11 +2484,11 @@ declare namespace gapi.client {
2373
2484
  /** Cancels a build in progress. */
2374
2485
  cancel(request: {
2375
2486
  /** V1 error format. */
2376
- '$.xgafv'?: string;
2487
+ '$.xgafv'?: '1' | '2';
2377
2488
  /** OAuth access token. */
2378
2489
  access_token?: string;
2379
2490
  /** Data format for response. */
2380
- alt?: string;
2491
+ alt?: 'json' | 'media' | 'proto';
2381
2492
  /** JSONP */
2382
2493
  callback?: string;
2383
2494
  /** Selector specifying which fields to include in a partial response. */
@@ -2402,11 +2513,11 @@ declare namespace gapi.client {
2402
2513
  cancel(
2403
2514
  request: {
2404
2515
  /** V1 error format. */
2405
- '$.xgafv'?: string;
2516
+ '$.xgafv'?: '1' | '2';
2406
2517
  /** OAuth access token. */
2407
2518
  access_token?: string;
2408
2519
  /** Data format for response. */
2409
- alt?: string;
2520
+ alt?: 'json' | 'media' | 'proto';
2410
2521
  /** JSONP */
2411
2522
  callback?: string;
2412
2523
  /** Selector specifying which fields to include in a partial response. */
@@ -2431,11 +2542,11 @@ declare namespace gapi.client {
2431
2542
  /** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). */
2432
2543
  create(request: {
2433
2544
  /** V1 error format. */
2434
- '$.xgafv'?: string;
2545
+ '$.xgafv'?: '1' | '2';
2435
2546
  /** OAuth access token. */
2436
2547
  access_token?: string;
2437
2548
  /** Data format for response. */
2438
- alt?: string;
2549
+ alt?: 'json' | 'media' | 'proto';
2439
2550
  /** JSONP */
2440
2551
  callback?: string;
2441
2552
  /** Selector specifying which fields to include in a partial response. */
@@ -2462,11 +2573,11 @@ declare namespace gapi.client {
2462
2573
  create(
2463
2574
  request: {
2464
2575
  /** V1 error format. */
2465
- '$.xgafv'?: string;
2576
+ '$.xgafv'?: '1' | '2';
2466
2577
  /** OAuth access token. */
2467
2578
  access_token?: string;
2468
2579
  /** Data format for response. */
2469
- alt?: string;
2580
+ alt?: 'json' | 'media' | 'proto';
2470
2581
  /** JSONP */
2471
2582
  callback?: string;
2472
2583
  /** Selector specifying which fields to include in a partial response. */
@@ -2493,11 +2604,11 @@ declare namespace gapi.client {
2493
2604
  /** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. */
2494
2605
  get(request?: {
2495
2606
  /** V1 error format. */
2496
- '$.xgafv'?: string;
2607
+ '$.xgafv'?: '1' | '2';
2497
2608
  /** OAuth access token. */
2498
2609
  access_token?: string;
2499
2610
  /** Data format for response. */
2500
- alt?: string;
2611
+ alt?: 'json' | 'media' | 'proto';
2501
2612
  /** JSONP */
2502
2613
  callback?: string;
2503
2614
  /** Selector specifying which fields to include in a partial response. */
@@ -2524,11 +2635,11 @@ declare namespace gapi.client {
2524
2635
  /** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
2525
2636
  list(request?: {
2526
2637
  /** V1 error format. */
2527
- '$.xgafv'?: string;
2638
+ '$.xgafv'?: '1' | '2';
2528
2639
  /** OAuth access token. */
2529
2640
  access_token?: string;
2530
2641
  /** Data format for response. */
2531
- alt?: string;
2642
+ alt?: 'json' | 'media' | 'proto';
2532
2643
  /** JSONP */
2533
2644
  callback?: string;
2534
2645
  /** Selector specifying which fields to include in a partial response. */
@@ -2559,11 +2670,11 @@ declare namespace gapi.client {
2559
2670
  /** Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings. */
2560
2671
  retry(request: {
2561
2672
  /** V1 error format. */
2562
- '$.xgafv'?: string;
2673
+ '$.xgafv'?: '1' | '2';
2563
2674
  /** OAuth access token. */
2564
2675
  access_token?: string;
2565
2676
  /** Data format for response. */
2566
- alt?: string;
2677
+ alt?: 'json' | 'media' | 'proto';
2567
2678
  /** JSONP */
2568
2679
  callback?: string;
2569
2680
  /** Selector specifying which fields to include in a partial response. */
@@ -2588,11 +2699,11 @@ declare namespace gapi.client {
2588
2699
  retry(
2589
2700
  request: {
2590
2701
  /** V1 error format. */
2591
- '$.xgafv'?: string;
2702
+ '$.xgafv'?: '1' | '2';
2592
2703
  /** OAuth access token. */
2593
2704
  access_token?: string;
2594
2705
  /** Data format for response. */
2595
- alt?: string;
2706
+ alt?: 'json' | 'media' | 'proto';
2596
2707
  /** JSONP */
2597
2708
  callback?: string;
2598
2709
  /** Selector specifying which fields to include in a partial response. */
@@ -2619,11 +2730,11 @@ declare namespace gapi.client {
2619
2730
  /** Create an association between a GCP project and a GitHub Enterprise server. */
2620
2731
  create(request: {
2621
2732
  /** V1 error format. */
2622
- '$.xgafv'?: string;
2733
+ '$.xgafv'?: '1' | '2';
2623
2734
  /** OAuth access token. */
2624
2735
  access_token?: string;
2625
2736
  /** Data format for response. */
2626
- alt?: string;
2737
+ alt?: 'json' | 'media' | 'proto';
2627
2738
  /** JSONP */
2628
2739
  callback?: string;
2629
2740
  /** Selector specifying which fields to include in a partial response. */
@@ -2652,11 +2763,11 @@ declare namespace gapi.client {
2652
2763
  create(
2653
2764
  request: {
2654
2765
  /** V1 error format. */
2655
- '$.xgafv'?: string;
2766
+ '$.xgafv'?: '1' | '2';
2656
2767
  /** OAuth access token. */
2657
2768
  access_token?: string;
2658
2769
  /** Data format for response. */
2659
- alt?: string;
2770
+ alt?: 'json' | 'media' | 'proto';
2660
2771
  /** JSONP */
2661
2772
  callback?: string;
2662
2773
  /** Selector specifying which fields to include in a partial response. */
@@ -2685,11 +2796,11 @@ declare namespace gapi.client {
2685
2796
  /** Delete an association between a GCP project and a GitHub Enterprise server. */
2686
2797
  delete(request?: {
2687
2798
  /** V1 error format. */
2688
- '$.xgafv'?: string;
2799
+ '$.xgafv'?: '1' | '2';
2689
2800
  /** OAuth access token. */
2690
2801
  access_token?: string;
2691
2802
  /** Data format for response. */
2692
- alt?: string;
2803
+ alt?: 'json' | 'media' | 'proto';
2693
2804
  /** JSONP */
2694
2805
  callback?: string;
2695
2806
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -2716,11 +2827,11 @@ declare namespace gapi.client {
2716
2827
  /** Retrieve a GitHubEnterpriseConfig. */
2717
2828
  get(request?: {
2718
2829
  /** V1 error format. */
2719
- '$.xgafv'?: string;
2830
+ '$.xgafv'?: '1' | '2';
2720
2831
  /** OAuth access token. */
2721
2832
  access_token?: string;
2722
2833
  /** Data format for response. */
2723
- alt?: string;
2834
+ alt?: 'json' | 'media' | 'proto';
2724
2835
  /** JSONP */
2725
2836
  callback?: string;
2726
2837
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -2747,11 +2858,11 @@ declare namespace gapi.client {
2747
2858
  /** List all GitHubEnterpriseConfigs for a given project. */
2748
2859
  list(request?: {
2749
2860
  /** V1 error format. */
2750
- '$.xgafv'?: string;
2861
+ '$.xgafv'?: '1' | '2';
2751
2862
  /** OAuth access token. */
2752
2863
  access_token?: string;
2753
2864
  /** Data format for response. */
2754
- alt?: string;
2865
+ alt?: 'json' | 'media' | 'proto';
2755
2866
  /** JSONP */
2756
2867
  callback?: string;
2757
2868
  /** Selector specifying which fields to include in a partial response. */
@@ -2776,11 +2887,11 @@ declare namespace gapi.client {
2776
2887
  /** Update an association between a GCP project and a GitHub Enterprise server. */
2777
2888
  patch(request: {
2778
2889
  /** V1 error format. */
2779
- '$.xgafv'?: string;
2890
+ '$.xgafv'?: '1' | '2';
2780
2891
  /** OAuth access token. */
2781
2892
  access_token?: string;
2782
2893
  /** Data format for response. */
2783
- alt?: string;
2894
+ alt?: 'json' | 'media' | 'proto';
2784
2895
  /** JSONP */
2785
2896
  callback?: string;
2786
2897
  /** Selector specifying which fields to include in a partial response. */
@@ -2807,11 +2918,11 @@ declare namespace gapi.client {
2807
2918
  patch(
2808
2919
  request: {
2809
2920
  /** V1 error format. */
2810
- '$.xgafv'?: string;
2921
+ '$.xgafv'?: '1' | '2';
2811
2922
  /** OAuth access token. */
2812
2923
  access_token?: string;
2813
2924
  /** Data format for response. */
2814
- alt?: string;
2925
+ alt?: 'json' | 'media' | 'proto';
2815
2926
  /** JSONP */
2816
2927
  callback?: string;
2817
2928
  /** Selector specifying which fields to include in a partial response. */
@@ -2840,11 +2951,11 @@ declare namespace gapi.client {
2840
2951
  /** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */
2841
2952
  batchCreate(request: {
2842
2953
  /** V1 error format. */
2843
- '$.xgafv'?: string;
2954
+ '$.xgafv'?: '1' | '2';
2844
2955
  /** OAuth access token. */
2845
2956
  access_token?: string;
2846
2957
  /** Data format for response. */
2847
- alt?: string;
2958
+ alt?: 'json' | 'media' | 'proto';
2848
2959
  /** JSONP */
2849
2960
  callback?: string;
2850
2961
  /** Selector specifying which fields to include in a partial response. */
@@ -2869,11 +2980,11 @@ declare namespace gapi.client {
2869
2980
  batchCreate(
2870
2981
  request: {
2871
2982
  /** V1 error format. */
2872
- '$.xgafv'?: string;
2983
+ '$.xgafv'?: '1' | '2';
2873
2984
  /** OAuth access token. */
2874
2985
  access_token?: string;
2875
2986
  /** Data format for response. */
2876
- alt?: string;
2987
+ alt?: 'json' | 'media' | 'proto';
2877
2988
  /** JSONP */
2878
2989
  callback?: string;
2879
2990
  /** Selector specifying which fields to include in a partial response. */
@@ -2900,11 +3011,11 @@ declare namespace gapi.client {
2900
3011
  /** List all repositories for a given `GitLabConfig`. This API is experimental */
2901
3012
  list(request?: {
2902
3013
  /** V1 error format. */
2903
- '$.xgafv'?: string;
3014
+ '$.xgafv'?: '1' | '2';
2904
3015
  /** OAuth access token. */
2905
3016
  access_token?: string;
2906
3017
  /** Data format for response. */
2907
- alt?: string;
3018
+ alt?: 'json' | 'media' | 'proto';
2908
3019
  /** JSONP */
2909
3020
  callback?: string;
2910
3021
  /** Selector specifying which fields to include in a partial response. */
@@ -2933,11 +3044,11 @@ declare namespace gapi.client {
2933
3044
  /** Creates a new `GitLabConfig`. This API is experimental */
2934
3045
  create(request: {
2935
3046
  /** V1 error format. */
2936
- '$.xgafv'?: string;
3047
+ '$.xgafv'?: '1' | '2';
2937
3048
  /** OAuth access token. */
2938
3049
  access_token?: string;
2939
3050
  /** Data format for response. */
2940
- alt?: string;
3051
+ alt?: 'json' | 'media' | 'proto';
2941
3052
  /** JSONP */
2942
3053
  callback?: string;
2943
3054
  /** Selector specifying which fields to include in a partial response. */
@@ -2964,11 +3075,11 @@ declare namespace gapi.client {
2964
3075
  create(
2965
3076
  request: {
2966
3077
  /** V1 error format. */
2967
- '$.xgafv'?: string;
3078
+ '$.xgafv'?: '1' | '2';
2968
3079
  /** OAuth access token. */
2969
3080
  access_token?: string;
2970
3081
  /** Data format for response. */
2971
- alt?: string;
3082
+ alt?: 'json' | 'media' | 'proto';
2972
3083
  /** JSONP */
2973
3084
  callback?: string;
2974
3085
  /** Selector specifying which fields to include in a partial response. */
@@ -2995,11 +3106,11 @@ declare namespace gapi.client {
2995
3106
  /** Delete a `GitLabConfig`. This API is experimental */
2996
3107
  delete(request?: {
2997
3108
  /** V1 error format. */
2998
- '$.xgafv'?: string;
3109
+ '$.xgafv'?: '1' | '2';
2999
3110
  /** OAuth access token. */
3000
3111
  access_token?: string;
3001
3112
  /** Data format for response. */
3002
- alt?: string;
3113
+ alt?: 'json' | 'media' | 'proto';
3003
3114
  /** JSONP */
3004
3115
  callback?: string;
3005
3116
  /** Selector specifying which fields to include in a partial response. */
@@ -3022,11 +3133,11 @@ declare namespace gapi.client {
3022
3133
  /** Retrieves a `GitLabConfig`. This API is experimental */
3023
3134
  get(request?: {
3024
3135
  /** V1 error format. */
3025
- '$.xgafv'?: string;
3136
+ '$.xgafv'?: '1' | '2';
3026
3137
  /** OAuth access token. */
3027
3138
  access_token?: string;
3028
3139
  /** Data format for response. */
3029
- alt?: string;
3140
+ alt?: 'json' | 'media' | 'proto';
3030
3141
  /** JSONP */
3031
3142
  callback?: string;
3032
3143
  /** Selector specifying which fields to include in a partial response. */
@@ -3049,11 +3160,11 @@ declare namespace gapi.client {
3049
3160
  /** List all `GitLabConfigs` for a given project. This API is experimental */
3050
3161
  list(request?: {
3051
3162
  /** V1 error format. */
3052
- '$.xgafv'?: string;
3163
+ '$.xgafv'?: '1' | '2';
3053
3164
  /** OAuth access token. */
3054
3165
  access_token?: string;
3055
3166
  /** Data format for response. */
3056
- alt?: string;
3167
+ alt?: 'json' | 'media' | 'proto';
3057
3168
  /** JSONP */
3058
3169
  callback?: string;
3059
3170
  /** Selector specifying which fields to include in a partial response. */
@@ -3080,11 +3191,11 @@ declare namespace gapi.client {
3080
3191
  /** Updates an existing `GitLabConfig`. This API is experimental */
3081
3192
  patch(request: {
3082
3193
  /** V1 error format. */
3083
- '$.xgafv'?: string;
3194
+ '$.xgafv'?: '1' | '2';
3084
3195
  /** OAuth access token. */
3085
3196
  access_token?: string;
3086
3197
  /** Data format for response. */
3087
- alt?: string;
3198
+ alt?: 'json' | 'media' | 'proto';
3088
3199
  /** JSONP */
3089
3200
  callback?: string;
3090
3201
  /** Selector specifying which fields to include in a partial response. */
@@ -3111,11 +3222,11 @@ declare namespace gapi.client {
3111
3222
  patch(
3112
3223
  request: {
3113
3224
  /** V1 error format. */
3114
- '$.xgafv'?: string;
3225
+ '$.xgafv'?: '1' | '2';
3115
3226
  /** OAuth access token. */
3116
3227
  access_token?: string;
3117
3228
  /** Data format for response. */
3118
- alt?: string;
3229
+ alt?: 'json' | 'media' | 'proto';
3119
3230
  /** JSONP */
3120
3231
  callback?: string;
3121
3232
  /** Selector specifying which fields to include in a partial response. */
@@ -3142,11 +3253,11 @@ declare namespace gapi.client {
3142
3253
  /** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */
3143
3254
  removeGitLabConnectedRepository(request: {
3144
3255
  /** V1 error format. */
3145
- '$.xgafv'?: string;
3256
+ '$.xgafv'?: '1' | '2';
3146
3257
  /** OAuth access token. */
3147
3258
  access_token?: string;
3148
3259
  /** Data format for response. */
3149
- alt?: string;
3260
+ alt?: 'json' | 'media' | 'proto';
3150
3261
  /** JSONP */
3151
3262
  callback?: string;
3152
3263
  /** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
@@ -3171,11 +3282,11 @@ declare namespace gapi.client {
3171
3282
  removeGitLabConnectedRepository(
3172
3283
  request: {
3173
3284
  /** V1 error format. */
3174
- '$.xgafv'?: string;
3285
+ '$.xgafv'?: '1' | '2';
3175
3286
  /** OAuth access token. */
3176
3287
  access_token?: string;
3177
3288
  /** Data format for response. */
3178
- alt?: string;
3289
+ alt?: 'json' | 'media' | 'proto';
3179
3290
  /** JSONP */
3180
3291
  callback?: string;
3181
3292
  /** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
@@ -3204,11 +3315,11 @@ declare namespace gapi.client {
3204
3315
  /** 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`. */
3205
3316
  cancel(request: {
3206
3317
  /** V1 error format. */
3207
- '$.xgafv'?: string;
3318
+ '$.xgafv'?: '1' | '2';
3208
3319
  /** OAuth access token. */
3209
3320
  access_token?: string;
3210
3321
  /** Data format for response. */
3211
- alt?: string;
3322
+ alt?: 'json' | 'media' | 'proto';
3212
3323
  /** JSONP */
3213
3324
  callback?: string;
3214
3325
  /** Selector specifying which fields to include in a partial response. */
@@ -3233,11 +3344,11 @@ declare namespace gapi.client {
3233
3344
  cancel(
3234
3345
  request: {
3235
3346
  /** V1 error format. */
3236
- '$.xgafv'?: string;
3347
+ '$.xgafv'?: '1' | '2';
3237
3348
  /** OAuth access token. */
3238
3349
  access_token?: string;
3239
3350
  /** Data format for response. */
3240
- alt?: string;
3351
+ alt?: 'json' | 'media' | 'proto';
3241
3352
  /** JSONP */
3242
3353
  callback?: string;
3243
3354
  /** Selector specifying which fields to include in a partial response. */
@@ -3262,11 +3373,11 @@ declare namespace gapi.client {
3262
3373
  /** 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. */
3263
3374
  get(request?: {
3264
3375
  /** V1 error format. */
3265
- '$.xgafv'?: string;
3376
+ '$.xgafv'?: '1' | '2';
3266
3377
  /** OAuth access token. */
3267
3378
  access_token?: string;
3268
3379
  /** Data format for response. */
3269
- alt?: string;
3380
+ alt?: 'json' | 'media' | 'proto';
3270
3381
  /** JSONP */
3271
3382
  callback?: string;
3272
3383
  /** Selector specifying which fields to include in a partial response. */
@@ -3291,11 +3402,11 @@ declare namespace gapi.client {
3291
3402
  /** Creates a new `BuildTrigger`. */
3292
3403
  create(request: {
3293
3404
  /** V1 error format. */
3294
- '$.xgafv'?: string;
3405
+ '$.xgafv'?: '1' | '2';
3295
3406
  /** OAuth access token. */
3296
3407
  access_token?: string;
3297
3408
  /** Data format for response. */
3298
- alt?: string;
3409
+ alt?: 'json' | 'media' | 'proto';
3299
3410
  /** JSONP */
3300
3411
  callback?: string;
3301
3412
  /** Selector specifying which fields to include in a partial response. */
@@ -3322,11 +3433,11 @@ declare namespace gapi.client {
3322
3433
  create(
3323
3434
  request: {
3324
3435
  /** V1 error format. */
3325
- '$.xgafv'?: string;
3436
+ '$.xgafv'?: '1' | '2';
3326
3437
  /** OAuth access token. */
3327
3438
  access_token?: string;
3328
3439
  /** Data format for response. */
3329
- alt?: string;
3440
+ alt?: 'json' | 'media' | 'proto';
3330
3441
  /** JSONP */
3331
3442
  callback?: string;
3332
3443
  /** Selector specifying which fields to include in a partial response. */
@@ -3353,11 +3464,11 @@ declare namespace gapi.client {
3353
3464
  /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3354
3465
  delete(request?: {
3355
3466
  /** V1 error format. */
3356
- '$.xgafv'?: string;
3467
+ '$.xgafv'?: '1' | '2';
3357
3468
  /** OAuth access token. */
3358
3469
  access_token?: string;
3359
3470
  /** Data format for response. */
3360
- alt?: string;
3471
+ alt?: 'json' | 'media' | 'proto';
3361
3472
  /** JSONP */
3362
3473
  callback?: string;
3363
3474
  /** Selector specifying which fields to include in a partial response. */
@@ -3384,11 +3495,11 @@ declare namespace gapi.client {
3384
3495
  /** Returns information about a `BuildTrigger`. */
3385
3496
  get(request?: {
3386
3497
  /** V1 error format. */
3387
- '$.xgafv'?: string;
3498
+ '$.xgafv'?: '1' | '2';
3388
3499
  /** OAuth access token. */
3389
3500
  access_token?: string;
3390
3501
  /** Data format for response. */
3391
- alt?: string;
3502
+ alt?: 'json' | 'media' | 'proto';
3392
3503
  /** JSONP */
3393
3504
  callback?: string;
3394
3505
  /** Selector specifying which fields to include in a partial response. */
@@ -3415,11 +3526,11 @@ declare namespace gapi.client {
3415
3526
  /** Lists existing `BuildTrigger`s. */
3416
3527
  list(request?: {
3417
3528
  /** V1 error format. */
3418
- '$.xgafv'?: string;
3529
+ '$.xgafv'?: '1' | '2';
3419
3530
  /** OAuth access token. */
3420
3531
  access_token?: string;
3421
3532
  /** Data format for response. */
3422
- alt?: string;
3533
+ alt?: 'json' | 'media' | 'proto';
3423
3534
  /** JSONP */
3424
3535
  callback?: string;
3425
3536
  /** Selector specifying which fields to include in a partial response. */
@@ -3448,11 +3559,11 @@ declare namespace gapi.client {
3448
3559
  /** Updates a `BuildTrigger` by its project ID and trigger ID. */
3449
3560
  patch(request: {
3450
3561
  /** V1 error format. */
3451
- '$.xgafv'?: string;
3562
+ '$.xgafv'?: '1' | '2';
3452
3563
  /** OAuth access token. */
3453
3564
  access_token?: string;
3454
3565
  /** Data format for response. */
3455
- alt?: string;
3566
+ alt?: 'json' | 'media' | 'proto';
3456
3567
  /** JSONP */
3457
3568
  callback?: string;
3458
3569
  /** Selector specifying which fields to include in a partial response. */
@@ -3483,11 +3594,11 @@ declare namespace gapi.client {
3483
3594
  patch(
3484
3595
  request: {
3485
3596
  /** V1 error format. */
3486
- '$.xgafv'?: string;
3597
+ '$.xgafv'?: '1' | '2';
3487
3598
  /** OAuth access token. */
3488
3599
  access_token?: string;
3489
3600
  /** Data format for response. */
3490
- alt?: string;
3601
+ alt?: 'json' | 'media' | 'proto';
3491
3602
  /** JSONP */
3492
3603
  callback?: string;
3493
3604
  /** Selector specifying which fields to include in a partial response. */
@@ -3518,11 +3629,11 @@ declare namespace gapi.client {
3518
3629
  /** Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers. */
3519
3630
  run(request: {
3520
3631
  /** V1 error format. */
3521
- '$.xgafv'?: string;
3632
+ '$.xgafv'?: '1' | '2';
3522
3633
  /** OAuth access token. */
3523
3634
  access_token?: string;
3524
3635
  /** Data format for response. */
3525
- alt?: string;
3636
+ alt?: 'json' | 'media' | 'proto';
3526
3637
  /** JSONP */
3527
3638
  callback?: string;
3528
3639
  /** Selector specifying which fields to include in a partial response. */
@@ -3547,11 +3658,11 @@ declare namespace gapi.client {
3547
3658
  run(
3548
3659
  request: {
3549
3660
  /** V1 error format. */
3550
- '$.xgafv'?: string;
3661
+ '$.xgafv'?: '1' | '2';
3551
3662
  /** OAuth access token. */
3552
3663
  access_token?: string;
3553
3664
  /** Data format for response. */
3554
- alt?: string;
3665
+ alt?: 'json' | 'media' | 'proto';
3555
3666
  /** JSONP */
3556
3667
  callback?: string;
3557
3668
  /** Selector specifying which fields to include in a partial response. */
@@ -3576,11 +3687,11 @@ declare namespace gapi.client {
3576
3687
  /** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
3577
3688
  webhook(request: {
3578
3689
  /** V1 error format. */
3579
- '$.xgafv'?: string;
3690
+ '$.xgafv'?: '1' | '2';
3580
3691
  /** OAuth access token. */
3581
3692
  access_token?: string;
3582
3693
  /** Data format for response. */
3583
- alt?: string;
3694
+ alt?: 'json' | 'media' | 'proto';
3584
3695
  /** JSONP */
3585
3696
  callback?: string;
3586
3697
  /** Selector specifying which fields to include in a partial response. */
@@ -3611,11 +3722,11 @@ declare namespace gapi.client {
3611
3722
  webhook(
3612
3723
  request: {
3613
3724
  /** V1 error format. */
3614
- '$.xgafv'?: string;
3725
+ '$.xgafv'?: '1' | '2';
3615
3726
  /** OAuth access token. */
3616
3727
  access_token?: string;
3617
3728
  /** Data format for response. */
3618
- alt?: string;
3729
+ alt?: 'json' | 'media' | 'proto';
3619
3730
  /** JSONP */
3620
3731
  callback?: string;
3621
3732
  /** Selector specifying which fields to include in a partial response. */
@@ -3648,11 +3759,11 @@ declare namespace gapi.client {
3648
3759
  /** Creates a `WorkerPool`. */
3649
3760
  create(request: {
3650
3761
  /** V1 error format. */
3651
- '$.xgafv'?: string;
3762
+ '$.xgafv'?: '1' | '2';
3652
3763
  /** OAuth access token. */
3653
3764
  access_token?: string;
3654
3765
  /** Data format for response. */
3655
- alt?: string;
3766
+ alt?: 'json' | 'media' | 'proto';
3656
3767
  /** JSONP */
3657
3768
  callback?: string;
3658
3769
  /** Selector specifying which fields to include in a partial response. */
@@ -3681,11 +3792,11 @@ declare namespace gapi.client {
3681
3792
  create(
3682
3793
  request: {
3683
3794
  /** V1 error format. */
3684
- '$.xgafv'?: string;
3795
+ '$.xgafv'?: '1' | '2';
3685
3796
  /** OAuth access token. */
3686
3797
  access_token?: string;
3687
3798
  /** Data format for response. */
3688
- alt?: string;
3799
+ alt?: 'json' | 'media' | 'proto';
3689
3800
  /** JSONP */
3690
3801
  callback?: string;
3691
3802
  /** Selector specifying which fields to include in a partial response. */
@@ -3714,13 +3825,13 @@ declare namespace gapi.client {
3714
3825
  /** Deletes a `WorkerPool`. */
3715
3826
  delete(request?: {
3716
3827
  /** V1 error format. */
3717
- '$.xgafv'?: string;
3828
+ '$.xgafv'?: '1' | '2';
3718
3829
  /** OAuth access token. */
3719
3830
  access_token?: string;
3720
3831
  /** If set to true, and the `WorkerPool` is not found, the request will succeed but no action will be taken on the server. */
3721
3832
  allowMissing?: boolean;
3722
3833
  /** Data format for response. */
3723
- alt?: string;
3834
+ alt?: 'json' | 'media' | 'proto';
3724
3835
  /** JSONP */
3725
3836
  callback?: string;
3726
3837
  /** Optional. If provided, it must match the server's etag on the workerpool for the request to be processed. */
@@ -3747,11 +3858,11 @@ declare namespace gapi.client {
3747
3858
  /** Returns details of a `WorkerPool`. */
3748
3859
  get(request?: {
3749
3860
  /** V1 error format. */
3750
- '$.xgafv'?: string;
3861
+ '$.xgafv'?: '1' | '2';
3751
3862
  /** OAuth access token. */
3752
3863
  access_token?: string;
3753
3864
  /** Data format for response. */
3754
- alt?: string;
3865
+ alt?: 'json' | 'media' | 'proto';
3755
3866
  /** JSONP */
3756
3867
  callback?: string;
3757
3868
  /** Selector specifying which fields to include in a partial response. */
@@ -3774,11 +3885,11 @@ declare namespace gapi.client {
3774
3885
  /** Lists `WorkerPool`s. */
3775
3886
  list(request?: {
3776
3887
  /** V1 error format. */
3777
- '$.xgafv'?: string;
3888
+ '$.xgafv'?: '1' | '2';
3778
3889
  /** OAuth access token. */
3779
3890
  access_token?: string;
3780
3891
  /** Data format for response. */
3781
- alt?: string;
3892
+ alt?: 'json' | 'media' | 'proto';
3782
3893
  /** JSONP */
3783
3894
  callback?: string;
3784
3895
  /** Selector specifying which fields to include in a partial response. */
@@ -3805,11 +3916,11 @@ declare namespace gapi.client {
3805
3916
  /** Updates a `WorkerPool`. */
3806
3917
  patch(request: {
3807
3918
  /** V1 error format. */
3808
- '$.xgafv'?: string;
3919
+ '$.xgafv'?: '1' | '2';
3809
3920
  /** OAuth access token. */
3810
3921
  access_token?: string;
3811
3922
  /** Data format for response. */
3812
- alt?: string;
3923
+ alt?: 'json' | 'media' | 'proto';
3813
3924
  /** JSONP */
3814
3925
  callback?: string;
3815
3926
  /** Selector specifying which fields to include in a partial response. */
@@ -3838,11 +3949,11 @@ declare namespace gapi.client {
3838
3949
  patch(
3839
3950
  request: {
3840
3951
  /** V1 error format. */
3841
- '$.xgafv'?: string;
3952
+ '$.xgafv'?: '1' | '2';
3842
3953
  /** OAuth access token. */
3843
3954
  access_token?: string;
3844
3955
  /** Data format for response. */
3845
- alt?: string;
3956
+ alt?: 'json' | 'media' | 'proto';
3846
3957
  /** JSONP */
3847
3958
  callback?: string;
3848
3959
  /** Selector specifying which fields to include in a partial response. */
@@ -3873,11 +3984,11 @@ declare namespace gapi.client {
3873
3984
  /** Returns the `DefaultServiceAccount` used by the project. */
3874
3985
  getDefaultServiceAccount(request?: {
3875
3986
  /** V1 error format. */
3876
- '$.xgafv'?: string;
3987
+ '$.xgafv'?: '1' | '2';
3877
3988
  /** OAuth access token. */
3878
3989
  access_token?: string;
3879
3990
  /** Data format for response. */
3880
- alt?: string;
3991
+ alt?: 'json' | 'media' | 'proto';
3881
3992
  /** JSONP */
3882
3993
  callback?: string;
3883
3994
  /** Selector specifying which fields to include in a partial response. */
@@ -3909,11 +4020,11 @@ declare namespace gapi.client {
3909
4020
  /** Creates a new `BuildTrigger`. */
3910
4021
  create(request: {
3911
4022
  /** V1 error format. */
3912
- '$.xgafv'?: string;
4023
+ '$.xgafv'?: '1' | '2';
3913
4024
  /** OAuth access token. */
3914
4025
  access_token?: string;
3915
4026
  /** Data format for response. */
3916
- alt?: string;
4027
+ alt?: 'json' | 'media' | 'proto';
3917
4028
  /** JSONP */
3918
4029
  callback?: string;
3919
4030
  /** Selector specifying which fields to include in a partial response. */
@@ -3940,11 +4051,11 @@ declare namespace gapi.client {
3940
4051
  create(
3941
4052
  request: {
3942
4053
  /** V1 error format. */
3943
- '$.xgafv'?: string;
4054
+ '$.xgafv'?: '1' | '2';
3944
4055
  /** OAuth access token. */
3945
4056
  access_token?: string;
3946
4057
  /** Data format for response. */
3947
- alt?: string;
4058
+ alt?: 'json' | 'media' | 'proto';
3948
4059
  /** JSONP */
3949
4060
  callback?: string;
3950
4061
  /** Selector specifying which fields to include in a partial response. */
@@ -3971,11 +4082,11 @@ declare namespace gapi.client {
3971
4082
  /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3972
4083
  delete(request?: {
3973
4084
  /** V1 error format. */
3974
- '$.xgafv'?: string;
4085
+ '$.xgafv'?: '1' | '2';
3975
4086
  /** OAuth access token. */
3976
4087
  access_token?: string;
3977
4088
  /** Data format for response. */
3978
- alt?: string;
4089
+ alt?: 'json' | 'media' | 'proto';
3979
4090
  /** JSONP */
3980
4091
  callback?: string;
3981
4092
  /** Selector specifying which fields to include in a partial response. */
@@ -4002,11 +4113,11 @@ declare namespace gapi.client {
4002
4113
  /** Returns information about a `BuildTrigger`. */
4003
4114
  get(request?: {
4004
4115
  /** V1 error format. */
4005
- '$.xgafv'?: string;
4116
+ '$.xgafv'?: '1' | '2';
4006
4117
  /** OAuth access token. */
4007
4118
  access_token?: string;
4008
4119
  /** Data format for response. */
4009
- alt?: string;
4120
+ alt?: 'json' | 'media' | 'proto';
4010
4121
  /** JSONP */
4011
4122
  callback?: string;
4012
4123
  /** Selector specifying which fields to include in a partial response. */
@@ -4033,11 +4144,11 @@ declare namespace gapi.client {
4033
4144
  /** Lists existing `BuildTrigger`s. */
4034
4145
  list(request?: {
4035
4146
  /** V1 error format. */
4036
- '$.xgafv'?: string;
4147
+ '$.xgafv'?: '1' | '2';
4037
4148
  /** OAuth access token. */
4038
4149
  access_token?: string;
4039
4150
  /** Data format for response. */
4040
- alt?: string;
4151
+ alt?: 'json' | 'media' | 'proto';
4041
4152
  /** JSONP */
4042
4153
  callback?: string;
4043
4154
  /** Selector specifying which fields to include in a partial response. */
@@ -4066,11 +4177,11 @@ declare namespace gapi.client {
4066
4177
  /** Updates a `BuildTrigger` by its project ID and trigger ID. */
4067
4178
  patch(request: {
4068
4179
  /** V1 error format. */
4069
- '$.xgafv'?: string;
4180
+ '$.xgafv'?: '1' | '2';
4070
4181
  /** OAuth access token. */
4071
4182
  access_token?: string;
4072
4183
  /** Data format for response. */
4073
- alt?: string;
4184
+ alt?: 'json' | 'media' | 'proto';
4074
4185
  /** JSONP */
4075
4186
  callback?: string;
4076
4187
  /** Selector specifying which fields to include in a partial response. */
@@ -4099,11 +4210,11 @@ declare namespace gapi.client {
4099
4210
  patch(
4100
4211
  request: {
4101
4212
  /** V1 error format. */
4102
- '$.xgafv'?: string;
4213
+ '$.xgafv'?: '1' | '2';
4103
4214
  /** OAuth access token. */
4104
4215
  access_token?: string;
4105
4216
  /** Data format for response. */
4106
- alt?: string;
4217
+ alt?: 'json' | 'media' | 'proto';
4107
4218
  /** JSONP */
4108
4219
  callback?: string;
4109
4220
  /** Selector specifying which fields to include in a partial response. */
@@ -4132,11 +4243,11 @@ declare namespace gapi.client {
4132
4243
  /** Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers. */
4133
4244
  run(request: {
4134
4245
  /** V1 error format. */
4135
- '$.xgafv'?: string;
4246
+ '$.xgafv'?: '1' | '2';
4136
4247
  /** OAuth access token. */
4137
4248
  access_token?: string;
4138
4249
  /** Data format for response. */
4139
- alt?: string;
4250
+ alt?: 'json' | 'media' | 'proto';
4140
4251
  /** JSONP */
4141
4252
  callback?: string;
4142
4253
  /** Selector specifying which fields to include in a partial response. */
@@ -4165,11 +4276,11 @@ declare namespace gapi.client {
4165
4276
  run(
4166
4277
  request: {
4167
4278
  /** V1 error format. */
4168
- '$.xgafv'?: string;
4279
+ '$.xgafv'?: '1' | '2';
4169
4280
  /** OAuth access token. */
4170
4281
  access_token?: string;
4171
4282
  /** Data format for response. */
4172
- alt?: string;
4283
+ alt?: 'json' | 'media' | 'proto';
4173
4284
  /** JSONP */
4174
4285
  callback?: string;
4175
4286
  /** Selector specifying which fields to include in a partial response. */
@@ -4198,11 +4309,11 @@ declare namespace gapi.client {
4198
4309
  /** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
4199
4310
  webhook(request: {
4200
4311
  /** V1 error format. */
4201
- '$.xgafv'?: string;
4312
+ '$.xgafv'?: '1' | '2';
4202
4313
  /** OAuth access token. */
4203
4314
  access_token?: string;
4204
4315
  /** Data format for response. */
4205
- alt?: string;
4316
+ alt?: 'json' | 'media' | 'proto';
4206
4317
  /** JSONP */
4207
4318
  callback?: string;
4208
4319
  /** Selector specifying which fields to include in a partial response. */
@@ -4233,11 +4344,11 @@ declare namespace gapi.client {
4233
4344
  webhook(
4234
4345
  request: {
4235
4346
  /** V1 error format. */
4236
- '$.xgafv'?: string;
4347
+ '$.xgafv'?: '1' | '2';
4237
4348
  /** OAuth access token. */
4238
4349
  access_token?: string;
4239
4350
  /** Data format for response. */
4240
- alt?: string;
4351
+ alt?: 'json' | 'media' | 'proto';
4241
4352
  /** JSONP */
4242
4353
  callback?: string;
4243
4354
  /** Selector specifying which fields to include in a partial response. */
@@ -4276,11 +4387,11 @@ declare namespace gapi.client {
4276
4387
  /** ReceiveWebhook is called when the API receives a GitHub webhook. */
4277
4388
  webhook(request: {
4278
4389
  /** V1 error format. */
4279
- '$.xgafv'?: string;
4390
+ '$.xgafv'?: '1' | '2';
4280
4391
  /** OAuth access token. */
4281
4392
  access_token?: string;
4282
4393
  /** Data format for response. */
4283
- alt?: string;
4394
+ alt?: 'json' | 'media' | 'proto';
4284
4395
  /** JSONP */
4285
4396
  callback?: string;
4286
4397
  /** Selector specifying which fields to include in a partial response. */
@@ -4305,11 +4416,11 @@ declare namespace gapi.client {
4305
4416
  webhook(
4306
4417
  request: {
4307
4418
  /** V1 error format. */
4308
- '$.xgafv'?: string;
4419
+ '$.xgafv'?: '1' | '2';
4309
4420
  /** OAuth access token. */
4310
4421
  access_token?: string;
4311
4422
  /** Data format for response. */
4312
- alt?: string;
4423
+ alt?: 'json' | 'media' | 'proto';
4313
4424
  /** JSONP */
4314
4425
  callback?: string;
4315
4426
  /** Selector specifying which fields to include in a partial response. */