@maxim_mazurok/gapi.client.cloudbuild-v1 0.1.20260224 → 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 +350 -227
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudbuild.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260224
12
+ // Revision: 20260309
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -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
  }
@@ -69,6 +69,8 @@ declare namespace gapi.client {
69
69
  npmPackages?: NpmPackage[];
70
70
  /** A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE. */
71
71
  objects?: ArtifactObjects;
72
+ /** Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion of all build steps. OCI images in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any images fail to be pushed, the build is marked FAILURE. */
73
+ oci?: Oci[];
72
74
  /** A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE. */
73
75
  pythonPackages?: PythonPackage[];
74
76
  }
@@ -226,7 +228,17 @@ declare namespace gapi.client {
226
228
  /** Output only. Time at which execution of the build was started. */
227
229
  startTime?: string;
228
230
  /** Output only. Status of the build. */
229
- 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';
230
242
  /** Output only. Customer-readable message about the current status. */
231
243
  statusDetail?: string;
232
244
  /** Required. The operations to be performed on the workspace. */
@@ -248,7 +260,12 @@ declare namespace gapi.client {
248
260
  /** Output only. Result of manual approval for this Build. */
249
261
  result?: ApprovalResult;
250
262
  /** Output only. The state of this build's approval. */
251
- state?: string;
263
+ state?:
264
+ | 'STATE_UNSPECIFIED'
265
+ | 'PENDING'
266
+ | 'APPROVED'
267
+ | 'REJECTED'
268
+ | 'CANCELLED';
252
269
  }
253
270
  interface BuildOperationMetadata {
254
271
  /** The build that the operation is tracking. */
@@ -258,7 +275,10 @@ declare namespace gapi.client {
258
275
  /** Option to include built-in and custom substitutions as env variables for all build steps. */
259
276
  automapSubstitutions?: boolean;
260
277
  /** Optional. Option to specify how default logs buckets are setup. */
261
- defaultLogsBucketBehavior?: string;
278
+ defaultLogsBucketBehavior?:
279
+ | 'DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED'
280
+ | 'REGIONAL_USER_OWNED_BUCKET'
281
+ | 'LEGACY_BUCKET';
262
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. */
263
283
  diskSizeGb?: string;
264
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. */
@@ -268,23 +288,41 @@ declare namespace gapi.client {
268
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". */
269
289
  env?: string[];
270
290
  /** Option to specify the logging mode, which determines if and where build logs are stored. */
271
- logging?: string;
291
+ logging?:
292
+ | 'LOGGING_UNSPECIFIED'
293
+ | 'LEGACY'
294
+ | 'GCS_ONLY'
295
+ | 'STACKDRIVER_ONLY'
296
+ | 'CLOUD_LOGGING_ONLY'
297
+ | 'NONE';
272
298
  /** Option to define build log streaming behavior to Cloud Storage. */
273
- logStreamingOption?: string;
299
+ logStreamingOption?: 'STREAM_DEFAULT' | 'STREAM_ON' | 'STREAM_OFF';
274
300
  /** Compute Engine machine type on which to run the build. */
275
- 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';
276
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. */
277
309
  pool?: PoolOption;
278
310
  /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
279
311
  pubsubTopic?: string;
280
312
  /** Requested verifiability options. */
281
- requestedVerifyOption?: string;
313
+ requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
282
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. */
283
315
  secretEnv?: string[];
284
316
  /** Requested hash for SourceProvenance. */
285
- sourceProvenanceHash?: string[];
317
+ sourceProvenanceHash?:
318
+ | 'NONE'
319
+ | 'SHA256'
320
+ | 'MD5'
321
+ | 'GO_MODULE_H1'
322
+ | 'SHA512'
323
+ | 'DIRSUM_SHA256'[];
286
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. */
287
- substitutionOption?: string;
325
+ substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
288
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. */
289
327
  volumes?: Volume[];
290
328
  /** This field deprecated; please use `pool.name` instead. */
@@ -318,7 +356,17 @@ declare namespace gapi.client {
318
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`. */
319
357
  secretEnv?: string[];
320
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. */
321
- 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';
322
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. */
323
371
  timeout?: string;
324
372
  /** Output only. Stores timing information for executing this build step. */
@@ -346,7 +394,12 @@ declare namespace gapi.client {
346
394
  /** If true, the trigger will never automatically execute a build. */
347
395
  disabled?: boolean;
348
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. */
349
- eventType?: string;
397
+ eventType?:
398
+ | 'EVENT_TYPE_UNSPECIFIED'
399
+ | 'REPO'
400
+ | 'WEBHOOK'
401
+ | 'PUBSUB'
402
+ | 'MANUAL';
350
403
  /** Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml). */
351
404
  filename?: string;
352
405
  /** A Common Expression Language string. */
@@ -362,7 +415,9 @@ declare namespace gapi.client {
362
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. */
363
416
  ignoredFiles?: string[];
364
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. */
365
- includeBuildLogs?: string;
418
+ includeBuildLogs?:
419
+ | 'INCLUDE_BUILD_LOGS_UNSPECIFIED'
420
+ | 'INCLUDE_BUILD_LOGS_WITH_STATUS';
366
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. */
367
422
  includedFiles?: string[];
368
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. */
@@ -393,6 +448,11 @@ declare namespace gapi.client {
393
448
  digest?: string;
394
449
  /** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
395
450
  name?: string;
451
+ /** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
452
+ ociMediaType?:
453
+ | 'OCI_MEDIA_TYPE_UNSPECIFIED'
454
+ | 'IMAGE_MANIFEST'
455
+ | 'IMAGE_INDEX';
396
456
  /** Output only. Stores timing information for pushing the specified image. */
397
457
  pushTiming?: TimeSpan;
398
458
  }
@@ -513,7 +573,14 @@ declare namespace gapi.client {
513
573
  /** Required. The Developer Connect Git repository link, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*`. */
514
574
  gitRepositoryLink?: string;
515
575
  /** Output only. The type of DeveloperConnect GitRepositoryLink. */
516
- 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';
517
584
  /** Filter to match changes in pull requests. */
518
585
  pullRequest?: PullRequestFilter;
519
586
  /** Filter to match changes in refs like branches and tags. */
@@ -524,7 +591,14 @@ declare namespace gapi.client {
524
591
  /** Explains the failure issue in more detail using hard-coded text. */
525
592
  detail?: string;
526
593
  /** The name of the failure. */
527
- 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';
528
602
  }
529
603
  interface FileHashes {
530
604
  /** Collection of file hashes. */
@@ -544,7 +618,13 @@ declare namespace gapi.client {
544
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. */
545
619
  repository?: string;
546
620
  /** See RepoType above. */
547
- repoType?: string;
621
+ repoType?:
622
+ | 'UNKNOWN'
623
+ | 'CLOUD_SOURCE_REPOSITORIES'
624
+ | 'GITHUB'
625
+ | 'BITBUCKET_SERVER'
626
+ | 'GITLAB'
627
+ | 'BITBUCKET_CLOUD';
548
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. */
549
629
  revision?: string;
550
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. */
@@ -684,7 +764,13 @@ declare namespace gapi.client {
684
764
  /** The connected repository resource name, in the format `projects/*‍/locations/*‍/connections/*‍/repositories/*`. Either `uri` or `repository` can be specified and is required. */
685
765
  repository?: string;
686
766
  /** See RepoType below. */
687
- repoType?: string;
767
+ repoType?:
768
+ | 'UNKNOWN'
769
+ | 'CLOUD_SOURCE_REPOSITORIES'
770
+ | 'GITHUB'
771
+ | 'BITBUCKET_SERVER'
772
+ | 'GITLAB'
773
+ | 'BITBUCKET_CLOUD';
688
774
  /** The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. */
689
775
  uri?: string;
690
776
  }
@@ -730,7 +816,13 @@ declare namespace gapi.client {
730
816
  }
731
817
  interface Hash {
732
818
  /** The type of hash that was performed. */
733
- type?: string;
819
+ type?:
820
+ | 'NONE'
821
+ | 'SHA256'
822
+ | 'MD5'
823
+ | 'GO_MODULE_H1'
824
+ | 'SHA512'
825
+ | 'DIRSUM_SHA256';
734
826
  /** The hash value. */
735
827
  value?: string;
736
828
  }
@@ -814,7 +906,10 @@ declare namespace gapi.client {
814
906
  }
815
907
  interface NetworkConfig {
816
908
  /** Option to configure network egress for the workers. */
817
- egressOption?: string;
909
+ egressOption?:
910
+ | 'EGRESS_OPTION_UNSPECIFIED'
911
+ | 'NO_PUBLIC_EGRESS'
912
+ | 'PUBLIC_EGRESS';
818
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) */
819
914
  peeredNetwork?: string;
820
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. */
@@ -826,6 +921,14 @@ declare namespace gapi.client {
826
921
  /** Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix. */
827
922
  repository?: string;
828
923
  }
924
+ interface Oci {
925
+ /** Required. Path on the local file system where to find the container to upload. e.g. /workspace/my-image.tar */
926
+ file?: string;
927
+ /** Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-repo/my-image */
928
+ registryPath?: string;
929
+ /** Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0 */
930
+ tags?: string[];
931
+ }
829
932
  interface Operation {
830
933
  /** 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. */
831
934
  done?: boolean;
@@ -886,7 +989,12 @@ declare namespace gapi.client {
886
989
  /** Service account that will make the push request. */
887
990
  serviceAccountEmail?: string;
888
991
  /** Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. */
889
- state?: string;
992
+ state?:
993
+ | 'STATE_UNSPECIFIED'
994
+ | 'OK'
995
+ | 'SUBSCRIPTION_DELETED'
996
+ | 'TOPIC_DELETED'
997
+ | 'SUBSCRIPTION_MISCONFIGURED';
890
998
  /** Output only. Name of the subscription. Format is `projects/{project}/subscriptions/{subscription}`. */
891
999
  subscription?: string;
892
1000
  /** Optional. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. */
@@ -896,7 +1004,10 @@ declare namespace gapi.client {
896
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 */
897
1005
  branch?: string;
898
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. */
899
- commentControl?: string;
1007
+ commentControl?:
1008
+ | 'COMMENTS_DISABLED'
1009
+ | 'COMMENTS_ENABLED'
1010
+ | 'COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY';
900
1011
  /** If true, branches that do NOT match the git_ref will trigger a build. */
901
1012
  invertRegex?: boolean;
902
1013
  }
@@ -931,7 +1042,13 @@ declare namespace gapi.client {
931
1042
  /** The resource name of the Repo API resource. */
932
1043
  repository?: string;
933
1044
  /** Output only. The type of the SCM vendor the repository points to. */
934
- repositoryType?: string;
1045
+ repositoryType?:
1046
+ | 'REPOSITORY_TYPE_UNSPECIFIED'
1047
+ | 'GITHUB'
1048
+ | 'GITHUB_ENTERPRISE'
1049
+ | 'GITLAB_ENTERPRISE'
1050
+ | 'BITBUCKET_DATA_CENTER'
1051
+ | 'BITBUCKET_CLOUD';
935
1052
  }
936
1053
  interface RepoSource {
937
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 */
@@ -1055,7 +1172,7 @@ declare namespace gapi.client {
1055
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. */
1056
1173
  object?: string;
1057
1174
  /** Optional. Option to specify the tool to fetch the source file for the build. */
1058
- sourceFetcher?: string;
1175
+ sourceFetcher?: 'SOURCE_FETCHER_UNSPECIFIED' | 'GSUTIL' | 'GCS_FETCHER';
1059
1176
  }
1060
1177
  interface StorageSourceManifest {
1061
1178
  /** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
@@ -1151,7 +1268,7 @@ declare namespace gapi.client {
1151
1268
  }
1152
1269
  interface Warning {
1153
1270
  /** The priority for this warning. */
1154
- priority?: string;
1271
+ priority?: 'PRIORITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ALERT';
1155
1272
  /** Explanation of the warning generated. */
1156
1273
  text?: string;
1157
1274
  }
@@ -1159,7 +1276,7 @@ declare namespace gapi.client {
1159
1276
  /** Required. Resource name for the secret required as a URL parameter. */
1160
1277
  secret?: string;
1161
1278
  /** Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. */
1162
- state?: string;
1279
+ state?: 'STATE_UNSPECIFIED' | 'OK' | 'SECRET_DELETED';
1163
1280
  }
1164
1281
  interface WorkerConfig {
1165
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. */
@@ -1185,7 +1302,13 @@ declare namespace gapi.client {
1185
1302
  /** Private Pool configuration. */
1186
1303
  privatePoolV1Config?: PrivatePoolV1Config;
1187
1304
  /** Output only. `WorkerPool` state. */
1188
- state?: string;
1305
+ state?:
1306
+ | 'STATE_UNSPECIFIED'
1307
+ | 'CREATING'
1308
+ | 'RUNNING'
1309
+ | 'DELETING'
1310
+ | 'DELETED'
1311
+ | 'UPDATING';
1189
1312
  /** Output only. A unique identifier for the `WorkerPool`. */
1190
1313
  uid?: string;
1191
1314
  /** Output only. Time at which the request to update the `WorkerPool` was received. */
@@ -1195,11 +1318,11 @@ declare namespace gapi.client {
1195
1318
  /** ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook. */
1196
1319
  receive(request: {
1197
1320
  /** V1 error format. */
1198
- '$.xgafv'?: string;
1321
+ '$.xgafv'?: '1' | '2';
1199
1322
  /** OAuth access token. */
1200
1323
  access_token?: string;
1201
1324
  /** Data format for response. */
1202
- alt?: string;
1325
+ alt?: 'json' | 'media' | 'proto';
1203
1326
  /** JSONP */
1204
1327
  callback?: string;
1205
1328
  /** Selector specifying which fields to include in a partial response. */
@@ -1224,11 +1347,11 @@ declare namespace gapi.client {
1224
1347
  receive(
1225
1348
  request: {
1226
1349
  /** V1 error format. */
1227
- '$.xgafv'?: string;
1350
+ '$.xgafv'?: '1' | '2';
1228
1351
  /** OAuth access token. */
1229
1352
  access_token?: string;
1230
1353
  /** Data format for response. */
1231
- alt?: string;
1354
+ alt?: 'json' | 'media' | 'proto';
1232
1355
  /** JSONP */
1233
1356
  callback?: string;
1234
1357
  /** Selector specifying which fields to include in a partial response. */
@@ -1255,11 +1378,11 @@ declare namespace gapi.client {
1255
1378
  /** ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook. */
1256
1379
  regionalWebhook(request: {
1257
1380
  /** V1 error format. */
1258
- '$.xgafv'?: string;
1381
+ '$.xgafv'?: '1' | '2';
1259
1382
  /** OAuth access token. */
1260
1383
  access_token?: string;
1261
1384
  /** Data format for response. */
1262
- alt?: string;
1385
+ alt?: 'json' | 'media' | 'proto';
1263
1386
  /** JSONP */
1264
1387
  callback?: string;
1265
1388
  /** Selector specifying which fields to include in a partial response. */
@@ -1286,11 +1409,11 @@ declare namespace gapi.client {
1286
1409
  regionalWebhook(
1287
1410
  request: {
1288
1411
  /** V1 error format. */
1289
- '$.xgafv'?: string;
1412
+ '$.xgafv'?: '1' | '2';
1290
1413
  /** OAuth access token. */
1291
1414
  access_token?: string;
1292
1415
  /** Data format for response. */
1293
- alt?: string;
1416
+ alt?: 'json' | 'media' | 'proto';
1294
1417
  /** JSONP */
1295
1418
  callback?: string;
1296
1419
  /** Selector specifying which fields to include in a partial response. */
@@ -1319,11 +1442,11 @@ declare namespace gapi.client {
1319
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`. */
1320
1443
  cancel(request: {
1321
1444
  /** V1 error format. */
1322
- '$.xgafv'?: string;
1445
+ '$.xgafv'?: '1' | '2';
1323
1446
  /** OAuth access token. */
1324
1447
  access_token?: string;
1325
1448
  /** Data format for response. */
1326
- alt?: string;
1449
+ alt?: 'json' | 'media' | 'proto';
1327
1450
  /** JSONP */
1328
1451
  callback?: string;
1329
1452
  /** Selector specifying which fields to include in a partial response. */
@@ -1348,11 +1471,11 @@ declare namespace gapi.client {
1348
1471
  cancel(
1349
1472
  request: {
1350
1473
  /** V1 error format. */
1351
- '$.xgafv'?: string;
1474
+ '$.xgafv'?: '1' | '2';
1352
1475
  /** OAuth access token. */
1353
1476
  access_token?: string;
1354
1477
  /** Data format for response. */
1355
- alt?: string;
1478
+ alt?: 'json' | 'media' | 'proto';
1356
1479
  /** JSONP */
1357
1480
  callback?: string;
1358
1481
  /** Selector specifying which fields to include in a partial response. */
@@ -1377,11 +1500,11 @@ declare namespace gapi.client {
1377
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. */
1378
1501
  get(request?: {
1379
1502
  /** V1 error format. */
1380
- '$.xgafv'?: string;
1503
+ '$.xgafv'?: '1' | '2';
1381
1504
  /** OAuth access token. */
1382
1505
  access_token?: string;
1383
1506
  /** Data format for response. */
1384
- alt?: string;
1507
+ alt?: 'json' | 'media' | 'proto';
1385
1508
  /** JSONP */
1386
1509
  callback?: string;
1387
1510
  /** Selector specifying which fields to include in a partial response. */
@@ -1406,11 +1529,11 @@ declare namespace gapi.client {
1406
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. */
1407
1530
  approve(request: {
1408
1531
  /** V1 error format. */
1409
- '$.xgafv'?: string;
1532
+ '$.xgafv'?: '1' | '2';
1410
1533
  /** OAuth access token. */
1411
1534
  access_token?: string;
1412
1535
  /** Data format for response. */
1413
- alt?: string;
1536
+ alt?: 'json' | 'media' | 'proto';
1414
1537
  /** JSONP */
1415
1538
  callback?: string;
1416
1539
  /** Selector specifying which fields to include in a partial response. */
@@ -1435,11 +1558,11 @@ declare namespace gapi.client {
1435
1558
  approve(
1436
1559
  request: {
1437
1560
  /** V1 error format. */
1438
- '$.xgafv'?: string;
1561
+ '$.xgafv'?: '1' | '2';
1439
1562
  /** OAuth access token. */
1440
1563
  access_token?: string;
1441
1564
  /** Data format for response. */
1442
- alt?: string;
1565
+ alt?: 'json' | 'media' | 'proto';
1443
1566
  /** JSONP */
1444
1567
  callback?: string;
1445
1568
  /** Selector specifying which fields to include in a partial response. */
@@ -1464,11 +1587,11 @@ declare namespace gapi.client {
1464
1587
  /** Cancels a build in progress. */
1465
1588
  cancel(request: {
1466
1589
  /** V1 error format. */
1467
- '$.xgafv'?: string;
1590
+ '$.xgafv'?: '1' | '2';
1468
1591
  /** OAuth access token. */
1469
1592
  access_token?: string;
1470
1593
  /** Data format for response. */
1471
- alt?: string;
1594
+ alt?: 'json' | 'media' | 'proto';
1472
1595
  /** JSONP */
1473
1596
  callback?: string;
1474
1597
  /** Selector specifying which fields to include in a partial response. */
@@ -1495,11 +1618,11 @@ declare namespace gapi.client {
1495
1618
  cancel(
1496
1619
  request: {
1497
1620
  /** V1 error format. */
1498
- '$.xgafv'?: string;
1621
+ '$.xgafv'?: '1' | '2';
1499
1622
  /** OAuth access token. */
1500
1623
  access_token?: string;
1501
1624
  /** Data format for response. */
1502
- alt?: string;
1625
+ alt?: 'json' | 'media' | 'proto';
1503
1626
  /** JSONP */
1504
1627
  callback?: string;
1505
1628
  /** Selector specifying which fields to include in a partial response. */
@@ -1526,11 +1649,11 @@ declare namespace gapi.client {
1526
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`). */
1527
1650
  create(request: {
1528
1651
  /** V1 error format. */
1529
- '$.xgafv'?: string;
1652
+ '$.xgafv'?: '1' | '2';
1530
1653
  /** OAuth access token. */
1531
1654
  access_token?: string;
1532
1655
  /** Data format for response. */
1533
- alt?: string;
1656
+ alt?: 'json' | 'media' | 'proto';
1534
1657
  /** JSONP */
1535
1658
  callback?: string;
1536
1659
  /** Selector specifying which fields to include in a partial response. */
@@ -1557,11 +1680,11 @@ declare namespace gapi.client {
1557
1680
  create(
1558
1681
  request: {
1559
1682
  /** V1 error format. */
1560
- '$.xgafv'?: string;
1683
+ '$.xgafv'?: '1' | '2';
1561
1684
  /** OAuth access token. */
1562
1685
  access_token?: string;
1563
1686
  /** Data format for response. */
1564
- alt?: string;
1687
+ alt?: 'json' | 'media' | 'proto';
1565
1688
  /** JSONP */
1566
1689
  callback?: string;
1567
1690
  /** Selector specifying which fields to include in a partial response. */
@@ -1588,11 +1711,11 @@ declare namespace gapi.client {
1588
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. */
1589
1712
  get(request?: {
1590
1713
  /** V1 error format. */
1591
- '$.xgafv'?: string;
1714
+ '$.xgafv'?: '1' | '2';
1592
1715
  /** OAuth access token. */
1593
1716
  access_token?: string;
1594
1717
  /** Data format for response. */
1595
- alt?: string;
1718
+ alt?: 'json' | 'media' | 'proto';
1596
1719
  /** JSONP */
1597
1720
  callback?: string;
1598
1721
  /** Selector specifying which fields to include in a partial response. */
@@ -1619,11 +1742,11 @@ declare namespace gapi.client {
1619
1742
  /** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
1620
1743
  list(request?: {
1621
1744
  /** V1 error format. */
1622
- '$.xgafv'?: string;
1745
+ '$.xgafv'?: '1' | '2';
1623
1746
  /** OAuth access token. */
1624
1747
  access_token?: string;
1625
1748
  /** Data format for response. */
1626
- alt?: string;
1749
+ alt?: 'json' | 'media' | 'proto';
1627
1750
  /** JSONP */
1628
1751
  callback?: string;
1629
1752
  /** Selector specifying which fields to include in a partial response. */
@@ -1654,11 +1777,11 @@ declare namespace gapi.client {
1654
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. */
1655
1778
  retry(request: {
1656
1779
  /** V1 error format. */
1657
- '$.xgafv'?: string;
1780
+ '$.xgafv'?: '1' | '2';
1658
1781
  /** OAuth access token. */
1659
1782
  access_token?: string;
1660
1783
  /** Data format for response. */
1661
- alt?: string;
1784
+ alt?: 'json' | 'media' | 'proto';
1662
1785
  /** JSONP */
1663
1786
  callback?: string;
1664
1787
  /** Selector specifying which fields to include in a partial response. */
@@ -1685,11 +1808,11 @@ declare namespace gapi.client {
1685
1808
  retry(
1686
1809
  request: {
1687
1810
  /** V1 error format. */
1688
- '$.xgafv'?: string;
1811
+ '$.xgafv'?: '1' | '2';
1689
1812
  /** OAuth access token. */
1690
1813
  access_token?: string;
1691
1814
  /** Data format for response. */
1692
- alt?: string;
1815
+ alt?: 'json' | 'media' | 'proto';
1693
1816
  /** JSONP */
1694
1817
  callback?: string;
1695
1818
  /** Selector specifying which fields to include in a partial response. */
@@ -1718,11 +1841,11 @@ declare namespace gapi.client {
1718
1841
  /** Create an association between a GCP project and a GitHub Enterprise server. */
1719
1842
  create(request: {
1720
1843
  /** V1 error format. */
1721
- '$.xgafv'?: string;
1844
+ '$.xgafv'?: '1' | '2';
1722
1845
  /** OAuth access token. */
1723
1846
  access_token?: string;
1724
1847
  /** Data format for response. */
1725
- alt?: string;
1848
+ alt?: 'json' | 'media' | 'proto';
1726
1849
  /** JSONP */
1727
1850
  callback?: string;
1728
1851
  /** Selector specifying which fields to include in a partial response. */
@@ -1751,11 +1874,11 @@ declare namespace gapi.client {
1751
1874
  create(
1752
1875
  request: {
1753
1876
  /** V1 error format. */
1754
- '$.xgafv'?: string;
1877
+ '$.xgafv'?: '1' | '2';
1755
1878
  /** OAuth access token. */
1756
1879
  access_token?: string;
1757
1880
  /** Data format for response. */
1758
- alt?: string;
1881
+ alt?: 'json' | 'media' | 'proto';
1759
1882
  /** JSONP */
1760
1883
  callback?: string;
1761
1884
  /** Selector specifying which fields to include in a partial response. */
@@ -1784,11 +1907,11 @@ declare namespace gapi.client {
1784
1907
  /** Delete an association between a GCP project and a GitHub Enterprise server. */
1785
1908
  delete(request?: {
1786
1909
  /** V1 error format. */
1787
- '$.xgafv'?: string;
1910
+ '$.xgafv'?: '1' | '2';
1788
1911
  /** OAuth access token. */
1789
1912
  access_token?: string;
1790
1913
  /** Data format for response. */
1791
- alt?: string;
1914
+ alt?: 'json' | 'media' | 'proto';
1792
1915
  /** JSONP */
1793
1916
  callback?: string;
1794
1917
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -1815,11 +1938,11 @@ declare namespace gapi.client {
1815
1938
  /** Retrieve a GitHubEnterpriseConfig. */
1816
1939
  get(request?: {
1817
1940
  /** V1 error format. */
1818
- '$.xgafv'?: string;
1941
+ '$.xgafv'?: '1' | '2';
1819
1942
  /** OAuth access token. */
1820
1943
  access_token?: string;
1821
1944
  /** Data format for response. */
1822
- alt?: string;
1945
+ alt?: 'json' | 'media' | 'proto';
1823
1946
  /** JSONP */
1824
1947
  callback?: string;
1825
1948
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -1846,11 +1969,11 @@ declare namespace gapi.client {
1846
1969
  /** List all GitHubEnterpriseConfigs for a given project. */
1847
1970
  list(request?: {
1848
1971
  /** V1 error format. */
1849
- '$.xgafv'?: string;
1972
+ '$.xgafv'?: '1' | '2';
1850
1973
  /** OAuth access token. */
1851
1974
  access_token?: string;
1852
1975
  /** Data format for response. */
1853
- alt?: string;
1976
+ alt?: 'json' | 'media' | 'proto';
1854
1977
  /** JSONP */
1855
1978
  callback?: string;
1856
1979
  /** Selector specifying which fields to include in a partial response. */
@@ -1875,11 +1998,11 @@ declare namespace gapi.client {
1875
1998
  /** Update an association between a GCP project and a GitHub Enterprise server. */
1876
1999
  patch(request: {
1877
2000
  /** V1 error format. */
1878
- '$.xgafv'?: string;
2001
+ '$.xgafv'?: '1' | '2';
1879
2002
  /** OAuth access token. */
1880
2003
  access_token?: string;
1881
2004
  /** Data format for response. */
1882
- alt?: string;
2005
+ alt?: 'json' | 'media' | 'proto';
1883
2006
  /** JSONP */
1884
2007
  callback?: string;
1885
2008
  /** Selector specifying which fields to include in a partial response. */
@@ -1906,11 +2029,11 @@ declare namespace gapi.client {
1906
2029
  patch(
1907
2030
  request: {
1908
2031
  /** V1 error format. */
1909
- '$.xgafv'?: string;
2032
+ '$.xgafv'?: '1' | '2';
1910
2033
  /** OAuth access token. */
1911
2034
  access_token?: string;
1912
2035
  /** Data format for response. */
1913
- alt?: string;
2036
+ alt?: 'json' | 'media' | 'proto';
1914
2037
  /** JSONP */
1915
2038
  callback?: string;
1916
2039
  /** Selector specifying which fields to include in a partial response. */
@@ -1939,11 +2062,11 @@ declare namespace gapi.client {
1939
2062
  /** Batch connecting Bitbucket Server repositories to Cloud Build. */
1940
2063
  batchCreate(request: {
1941
2064
  /** V1 error format. */
1942
- '$.xgafv'?: string;
2065
+ '$.xgafv'?: '1' | '2';
1943
2066
  /** OAuth access token. */
1944
2067
  access_token?: string;
1945
2068
  /** Data format for response. */
1946
- alt?: string;
2069
+ alt?: 'json' | 'media' | 'proto';
1947
2070
  /** JSONP */
1948
2071
  callback?: string;
1949
2072
  /** Selector specifying which fields to include in a partial response. */
@@ -1968,11 +2091,11 @@ declare namespace gapi.client {
1968
2091
  batchCreate(
1969
2092
  request: {
1970
2093
  /** V1 error format. */
1971
- '$.xgafv'?: string;
2094
+ '$.xgafv'?: '1' | '2';
1972
2095
  /** OAuth access token. */
1973
2096
  access_token?: string;
1974
2097
  /** Data format for response. */
1975
- alt?: string;
2098
+ alt?: 'json' | 'media' | 'proto';
1976
2099
  /** JSONP */
1977
2100
  callback?: string;
1978
2101
  /** Selector specifying which fields to include in a partial response. */
@@ -1999,11 +2122,11 @@ declare namespace gapi.client {
1999
2122
  /** List all repositories for a given `BitbucketServerConfig`. This API is experimental. */
2000
2123
  list(request?: {
2001
2124
  /** V1 error format. */
2002
- '$.xgafv'?: string;
2125
+ '$.xgafv'?: '1' | '2';
2003
2126
  /** OAuth access token. */
2004
2127
  access_token?: string;
2005
2128
  /** Data format for response. */
2006
- alt?: string;
2129
+ alt?: 'json' | 'media' | 'proto';
2007
2130
  /** JSONP */
2008
2131
  callback?: string;
2009
2132
  /** Selector specifying which fields to include in a partial response. */
@@ -2032,11 +2155,11 @@ declare namespace gapi.client {
2032
2155
  /** Creates a new `BitbucketServerConfig`. This API is experimental. */
2033
2156
  create(request: {
2034
2157
  /** V1 error format. */
2035
- '$.xgafv'?: string;
2158
+ '$.xgafv'?: '1' | '2';
2036
2159
  /** OAuth access token. */
2037
2160
  access_token?: string;
2038
2161
  /** Data format for response. */
2039
- alt?: string;
2162
+ alt?: 'json' | 'media' | 'proto';
2040
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. */
2041
2164
  bitbucketServerConfigId?: string;
2042
2165
  /** JSONP */
@@ -2063,11 +2186,11 @@ declare namespace gapi.client {
2063
2186
  create(
2064
2187
  request: {
2065
2188
  /** V1 error format. */
2066
- '$.xgafv'?: string;
2189
+ '$.xgafv'?: '1' | '2';
2067
2190
  /** OAuth access token. */
2068
2191
  access_token?: string;
2069
2192
  /** Data format for response. */
2070
- alt?: string;
2193
+ alt?: 'json' | 'media' | 'proto';
2071
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. */
2072
2195
  bitbucketServerConfigId?: string;
2073
2196
  /** JSONP */
@@ -2094,11 +2217,11 @@ declare namespace gapi.client {
2094
2217
  /** Delete a `BitbucketServerConfig`. This API is experimental. */
2095
2218
  delete(request?: {
2096
2219
  /** V1 error format. */
2097
- '$.xgafv'?: string;
2220
+ '$.xgafv'?: '1' | '2';
2098
2221
  /** OAuth access token. */
2099
2222
  access_token?: string;
2100
2223
  /** Data format for response. */
2101
- alt?: string;
2224
+ alt?: 'json' | 'media' | 'proto';
2102
2225
  /** JSONP */
2103
2226
  callback?: string;
2104
2227
  /** Selector specifying which fields to include in a partial response. */
@@ -2121,11 +2244,11 @@ declare namespace gapi.client {
2121
2244
  /** Retrieve a `BitbucketServerConfig`. This API is experimental. */
2122
2245
  get(request?: {
2123
2246
  /** V1 error format. */
2124
- '$.xgafv'?: string;
2247
+ '$.xgafv'?: '1' | '2';
2125
2248
  /** OAuth access token. */
2126
2249
  access_token?: string;
2127
2250
  /** Data format for response. */
2128
- alt?: string;
2251
+ alt?: 'json' | 'media' | 'proto';
2129
2252
  /** JSONP */
2130
2253
  callback?: string;
2131
2254
  /** Selector specifying which fields to include in a partial response. */
@@ -2148,11 +2271,11 @@ declare namespace gapi.client {
2148
2271
  /** List all `BitbucketServerConfigs` for a given project. This API is experimental. */
2149
2272
  list(request?: {
2150
2273
  /** V1 error format. */
2151
- '$.xgafv'?: string;
2274
+ '$.xgafv'?: '1' | '2';
2152
2275
  /** OAuth access token. */
2153
2276
  access_token?: string;
2154
2277
  /** Data format for response. */
2155
- alt?: string;
2278
+ alt?: 'json' | 'media' | 'proto';
2156
2279
  /** JSONP */
2157
2280
  callback?: string;
2158
2281
  /** Selector specifying which fields to include in a partial response. */
@@ -2179,11 +2302,11 @@ declare namespace gapi.client {
2179
2302
  /** Updates an existing `BitbucketServerConfig`. This API is experimental. */
2180
2303
  patch(request: {
2181
2304
  /** V1 error format. */
2182
- '$.xgafv'?: string;
2305
+ '$.xgafv'?: '1' | '2';
2183
2306
  /** OAuth access token. */
2184
2307
  access_token?: string;
2185
2308
  /** Data format for response. */
2186
- alt?: string;
2309
+ alt?: 'json' | 'media' | 'proto';
2187
2310
  /** JSONP */
2188
2311
  callback?: string;
2189
2312
  /** Selector specifying which fields to include in a partial response. */
@@ -2210,11 +2333,11 @@ declare namespace gapi.client {
2210
2333
  patch(
2211
2334
  request: {
2212
2335
  /** V1 error format. */
2213
- '$.xgafv'?: string;
2336
+ '$.xgafv'?: '1' | '2';
2214
2337
  /** OAuth access token. */
2215
2338
  access_token?: string;
2216
2339
  /** Data format for response. */
2217
- alt?: string;
2340
+ alt?: 'json' | 'media' | 'proto';
2218
2341
  /** JSONP */
2219
2342
  callback?: string;
2220
2343
  /** Selector specifying which fields to include in a partial response. */
@@ -2241,11 +2364,11 @@ declare namespace gapi.client {
2241
2364
  /** Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental. */
2242
2365
  removeBitbucketServerConnectedRepository(request: {
2243
2366
  /** V1 error format. */
2244
- '$.xgafv'?: string;
2367
+ '$.xgafv'?: '1' | '2';
2245
2368
  /** OAuth access token. */
2246
2369
  access_token?: string;
2247
2370
  /** Data format for response. */
2248
- alt?: string;
2371
+ alt?: 'json' | 'media' | 'proto';
2249
2372
  /** JSONP */
2250
2373
  callback?: string;
2251
2374
  /** Required. The name of the `BitbucketServerConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}` */
@@ -2270,11 +2393,11 @@ declare namespace gapi.client {
2270
2393
  removeBitbucketServerConnectedRepository(
2271
2394
  request: {
2272
2395
  /** V1 error format. */
2273
- '$.xgafv'?: string;
2396
+ '$.xgafv'?: '1' | '2';
2274
2397
  /** OAuth access token. */
2275
2398
  access_token?: string;
2276
2399
  /** Data format for response. */
2277
- alt?: string;
2400
+ alt?: 'json' | 'media' | 'proto';
2278
2401
  /** JSONP */
2279
2402
  callback?: string;
2280
2403
  /** Required. The name of the `BitbucketServerConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}` */
@@ -2303,11 +2426,11 @@ declare namespace gapi.client {
2303
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. */
2304
2427
  approve(request: {
2305
2428
  /** V1 error format. */
2306
- '$.xgafv'?: string;
2429
+ '$.xgafv'?: '1' | '2';
2307
2430
  /** OAuth access token. */
2308
2431
  access_token?: string;
2309
2432
  /** Data format for response. */
2310
- alt?: string;
2433
+ alt?: 'json' | 'media' | 'proto';
2311
2434
  /** JSONP */
2312
2435
  callback?: string;
2313
2436
  /** Selector specifying which fields to include in a partial response. */
@@ -2332,11 +2455,11 @@ declare namespace gapi.client {
2332
2455
  approve(
2333
2456
  request: {
2334
2457
  /** V1 error format. */
2335
- '$.xgafv'?: string;
2458
+ '$.xgafv'?: '1' | '2';
2336
2459
  /** OAuth access token. */
2337
2460
  access_token?: string;
2338
2461
  /** Data format for response. */
2339
- alt?: string;
2462
+ alt?: 'json' | 'media' | 'proto';
2340
2463
  /** JSONP */
2341
2464
  callback?: string;
2342
2465
  /** Selector specifying which fields to include in a partial response. */
@@ -2361,11 +2484,11 @@ declare namespace gapi.client {
2361
2484
  /** Cancels a build in progress. */
2362
2485
  cancel(request: {
2363
2486
  /** V1 error format. */
2364
- '$.xgafv'?: string;
2487
+ '$.xgafv'?: '1' | '2';
2365
2488
  /** OAuth access token. */
2366
2489
  access_token?: string;
2367
2490
  /** Data format for response. */
2368
- alt?: string;
2491
+ alt?: 'json' | 'media' | 'proto';
2369
2492
  /** JSONP */
2370
2493
  callback?: string;
2371
2494
  /** Selector specifying which fields to include in a partial response. */
@@ -2390,11 +2513,11 @@ declare namespace gapi.client {
2390
2513
  cancel(
2391
2514
  request: {
2392
2515
  /** V1 error format. */
2393
- '$.xgafv'?: string;
2516
+ '$.xgafv'?: '1' | '2';
2394
2517
  /** OAuth access token. */
2395
2518
  access_token?: string;
2396
2519
  /** Data format for response. */
2397
- alt?: string;
2520
+ alt?: 'json' | 'media' | 'proto';
2398
2521
  /** JSONP */
2399
2522
  callback?: string;
2400
2523
  /** Selector specifying which fields to include in a partial response. */
@@ -2419,11 +2542,11 @@ declare namespace gapi.client {
2419
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`). */
2420
2543
  create(request: {
2421
2544
  /** V1 error format. */
2422
- '$.xgafv'?: string;
2545
+ '$.xgafv'?: '1' | '2';
2423
2546
  /** OAuth access token. */
2424
2547
  access_token?: string;
2425
2548
  /** Data format for response. */
2426
- alt?: string;
2549
+ alt?: 'json' | 'media' | 'proto';
2427
2550
  /** JSONP */
2428
2551
  callback?: string;
2429
2552
  /** Selector specifying which fields to include in a partial response. */
@@ -2450,11 +2573,11 @@ declare namespace gapi.client {
2450
2573
  create(
2451
2574
  request: {
2452
2575
  /** V1 error format. */
2453
- '$.xgafv'?: string;
2576
+ '$.xgafv'?: '1' | '2';
2454
2577
  /** OAuth access token. */
2455
2578
  access_token?: string;
2456
2579
  /** Data format for response. */
2457
- alt?: string;
2580
+ alt?: 'json' | 'media' | 'proto';
2458
2581
  /** JSONP */
2459
2582
  callback?: string;
2460
2583
  /** Selector specifying which fields to include in a partial response. */
@@ -2481,11 +2604,11 @@ declare namespace gapi.client {
2481
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. */
2482
2605
  get(request?: {
2483
2606
  /** V1 error format. */
2484
- '$.xgafv'?: string;
2607
+ '$.xgafv'?: '1' | '2';
2485
2608
  /** OAuth access token. */
2486
2609
  access_token?: string;
2487
2610
  /** Data format for response. */
2488
- alt?: string;
2611
+ alt?: 'json' | 'media' | 'proto';
2489
2612
  /** JSONP */
2490
2613
  callback?: string;
2491
2614
  /** Selector specifying which fields to include in a partial response. */
@@ -2512,11 +2635,11 @@ declare namespace gapi.client {
2512
2635
  /** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
2513
2636
  list(request?: {
2514
2637
  /** V1 error format. */
2515
- '$.xgafv'?: string;
2638
+ '$.xgafv'?: '1' | '2';
2516
2639
  /** OAuth access token. */
2517
2640
  access_token?: string;
2518
2641
  /** Data format for response. */
2519
- alt?: string;
2642
+ alt?: 'json' | 'media' | 'proto';
2520
2643
  /** JSONP */
2521
2644
  callback?: string;
2522
2645
  /** Selector specifying which fields to include in a partial response. */
@@ -2547,11 +2670,11 @@ declare namespace gapi.client {
2547
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. */
2548
2671
  retry(request: {
2549
2672
  /** V1 error format. */
2550
- '$.xgafv'?: string;
2673
+ '$.xgafv'?: '1' | '2';
2551
2674
  /** OAuth access token. */
2552
2675
  access_token?: string;
2553
2676
  /** Data format for response. */
2554
- alt?: string;
2677
+ alt?: 'json' | 'media' | 'proto';
2555
2678
  /** JSONP */
2556
2679
  callback?: string;
2557
2680
  /** Selector specifying which fields to include in a partial response. */
@@ -2576,11 +2699,11 @@ declare namespace gapi.client {
2576
2699
  retry(
2577
2700
  request: {
2578
2701
  /** V1 error format. */
2579
- '$.xgafv'?: string;
2702
+ '$.xgafv'?: '1' | '2';
2580
2703
  /** OAuth access token. */
2581
2704
  access_token?: string;
2582
2705
  /** Data format for response. */
2583
- alt?: string;
2706
+ alt?: 'json' | 'media' | 'proto';
2584
2707
  /** JSONP */
2585
2708
  callback?: string;
2586
2709
  /** Selector specifying which fields to include in a partial response. */
@@ -2607,11 +2730,11 @@ declare namespace gapi.client {
2607
2730
  /** Create an association between a GCP project and a GitHub Enterprise server. */
2608
2731
  create(request: {
2609
2732
  /** V1 error format. */
2610
- '$.xgafv'?: string;
2733
+ '$.xgafv'?: '1' | '2';
2611
2734
  /** OAuth access token. */
2612
2735
  access_token?: string;
2613
2736
  /** Data format for response. */
2614
- alt?: string;
2737
+ alt?: 'json' | 'media' | 'proto';
2615
2738
  /** JSONP */
2616
2739
  callback?: string;
2617
2740
  /** Selector specifying which fields to include in a partial response. */
@@ -2640,11 +2763,11 @@ declare namespace gapi.client {
2640
2763
  create(
2641
2764
  request: {
2642
2765
  /** V1 error format. */
2643
- '$.xgafv'?: string;
2766
+ '$.xgafv'?: '1' | '2';
2644
2767
  /** OAuth access token. */
2645
2768
  access_token?: string;
2646
2769
  /** Data format for response. */
2647
- alt?: string;
2770
+ alt?: 'json' | 'media' | 'proto';
2648
2771
  /** JSONP */
2649
2772
  callback?: string;
2650
2773
  /** Selector specifying which fields to include in a partial response. */
@@ -2673,11 +2796,11 @@ declare namespace gapi.client {
2673
2796
  /** Delete an association between a GCP project and a GitHub Enterprise server. */
2674
2797
  delete(request?: {
2675
2798
  /** V1 error format. */
2676
- '$.xgafv'?: string;
2799
+ '$.xgafv'?: '1' | '2';
2677
2800
  /** OAuth access token. */
2678
2801
  access_token?: string;
2679
2802
  /** Data format for response. */
2680
- alt?: string;
2803
+ alt?: 'json' | 'media' | 'proto';
2681
2804
  /** JSONP */
2682
2805
  callback?: string;
2683
2806
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -2704,11 +2827,11 @@ declare namespace gapi.client {
2704
2827
  /** Retrieve a GitHubEnterpriseConfig. */
2705
2828
  get(request?: {
2706
2829
  /** V1 error format. */
2707
- '$.xgafv'?: string;
2830
+ '$.xgafv'?: '1' | '2';
2708
2831
  /** OAuth access token. */
2709
2832
  access_token?: string;
2710
2833
  /** Data format for response. */
2711
- alt?: string;
2834
+ alt?: 'json' | 'media' | 'proto';
2712
2835
  /** JSONP */
2713
2836
  callback?: string;
2714
2837
  /** Unique identifier of the `GitHubEnterpriseConfig` */
@@ -2735,11 +2858,11 @@ declare namespace gapi.client {
2735
2858
  /** List all GitHubEnterpriseConfigs for a given project. */
2736
2859
  list(request?: {
2737
2860
  /** V1 error format. */
2738
- '$.xgafv'?: string;
2861
+ '$.xgafv'?: '1' | '2';
2739
2862
  /** OAuth access token. */
2740
2863
  access_token?: string;
2741
2864
  /** Data format for response. */
2742
- alt?: string;
2865
+ alt?: 'json' | 'media' | 'proto';
2743
2866
  /** JSONP */
2744
2867
  callback?: string;
2745
2868
  /** Selector specifying which fields to include in a partial response. */
@@ -2764,11 +2887,11 @@ declare namespace gapi.client {
2764
2887
  /** Update an association between a GCP project and a GitHub Enterprise server. */
2765
2888
  patch(request: {
2766
2889
  /** V1 error format. */
2767
- '$.xgafv'?: string;
2890
+ '$.xgafv'?: '1' | '2';
2768
2891
  /** OAuth access token. */
2769
2892
  access_token?: string;
2770
2893
  /** Data format for response. */
2771
- alt?: string;
2894
+ alt?: 'json' | 'media' | 'proto';
2772
2895
  /** JSONP */
2773
2896
  callback?: string;
2774
2897
  /** Selector specifying which fields to include in a partial response. */
@@ -2795,11 +2918,11 @@ declare namespace gapi.client {
2795
2918
  patch(
2796
2919
  request: {
2797
2920
  /** V1 error format. */
2798
- '$.xgafv'?: string;
2921
+ '$.xgafv'?: '1' | '2';
2799
2922
  /** OAuth access token. */
2800
2923
  access_token?: string;
2801
2924
  /** Data format for response. */
2802
- alt?: string;
2925
+ alt?: 'json' | 'media' | 'proto';
2803
2926
  /** JSONP */
2804
2927
  callback?: string;
2805
2928
  /** Selector specifying which fields to include in a partial response. */
@@ -2828,11 +2951,11 @@ declare namespace gapi.client {
2828
2951
  /** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */
2829
2952
  batchCreate(request: {
2830
2953
  /** V1 error format. */
2831
- '$.xgafv'?: string;
2954
+ '$.xgafv'?: '1' | '2';
2832
2955
  /** OAuth access token. */
2833
2956
  access_token?: string;
2834
2957
  /** Data format for response. */
2835
- alt?: string;
2958
+ alt?: 'json' | 'media' | 'proto';
2836
2959
  /** JSONP */
2837
2960
  callback?: string;
2838
2961
  /** Selector specifying which fields to include in a partial response. */
@@ -2857,11 +2980,11 @@ declare namespace gapi.client {
2857
2980
  batchCreate(
2858
2981
  request: {
2859
2982
  /** V1 error format. */
2860
- '$.xgafv'?: string;
2983
+ '$.xgafv'?: '1' | '2';
2861
2984
  /** OAuth access token. */
2862
2985
  access_token?: string;
2863
2986
  /** Data format for response. */
2864
- alt?: string;
2987
+ alt?: 'json' | 'media' | 'proto';
2865
2988
  /** JSONP */
2866
2989
  callback?: string;
2867
2990
  /** Selector specifying which fields to include in a partial response. */
@@ -2888,11 +3011,11 @@ declare namespace gapi.client {
2888
3011
  /** List all repositories for a given `GitLabConfig`. This API is experimental */
2889
3012
  list(request?: {
2890
3013
  /** V1 error format. */
2891
- '$.xgafv'?: string;
3014
+ '$.xgafv'?: '1' | '2';
2892
3015
  /** OAuth access token. */
2893
3016
  access_token?: string;
2894
3017
  /** Data format for response. */
2895
- alt?: string;
3018
+ alt?: 'json' | 'media' | 'proto';
2896
3019
  /** JSONP */
2897
3020
  callback?: string;
2898
3021
  /** Selector specifying which fields to include in a partial response. */
@@ -2921,11 +3044,11 @@ declare namespace gapi.client {
2921
3044
  /** Creates a new `GitLabConfig`. This API is experimental */
2922
3045
  create(request: {
2923
3046
  /** V1 error format. */
2924
- '$.xgafv'?: string;
3047
+ '$.xgafv'?: '1' | '2';
2925
3048
  /** OAuth access token. */
2926
3049
  access_token?: string;
2927
3050
  /** Data format for response. */
2928
- alt?: string;
3051
+ alt?: 'json' | 'media' | 'proto';
2929
3052
  /** JSONP */
2930
3053
  callback?: string;
2931
3054
  /** Selector specifying which fields to include in a partial response. */
@@ -2952,11 +3075,11 @@ declare namespace gapi.client {
2952
3075
  create(
2953
3076
  request: {
2954
3077
  /** V1 error format. */
2955
- '$.xgafv'?: string;
3078
+ '$.xgafv'?: '1' | '2';
2956
3079
  /** OAuth access token. */
2957
3080
  access_token?: string;
2958
3081
  /** Data format for response. */
2959
- alt?: string;
3082
+ alt?: 'json' | 'media' | 'proto';
2960
3083
  /** JSONP */
2961
3084
  callback?: string;
2962
3085
  /** Selector specifying which fields to include in a partial response. */
@@ -2983,11 +3106,11 @@ declare namespace gapi.client {
2983
3106
  /** Delete a `GitLabConfig`. This API is experimental */
2984
3107
  delete(request?: {
2985
3108
  /** V1 error format. */
2986
- '$.xgafv'?: string;
3109
+ '$.xgafv'?: '1' | '2';
2987
3110
  /** OAuth access token. */
2988
3111
  access_token?: string;
2989
3112
  /** Data format for response. */
2990
- alt?: string;
3113
+ alt?: 'json' | 'media' | 'proto';
2991
3114
  /** JSONP */
2992
3115
  callback?: string;
2993
3116
  /** Selector specifying which fields to include in a partial response. */
@@ -3010,11 +3133,11 @@ declare namespace gapi.client {
3010
3133
  /** Retrieves a `GitLabConfig`. This API is experimental */
3011
3134
  get(request?: {
3012
3135
  /** V1 error format. */
3013
- '$.xgafv'?: string;
3136
+ '$.xgafv'?: '1' | '2';
3014
3137
  /** OAuth access token. */
3015
3138
  access_token?: string;
3016
3139
  /** Data format for response. */
3017
- alt?: string;
3140
+ alt?: 'json' | 'media' | 'proto';
3018
3141
  /** JSONP */
3019
3142
  callback?: string;
3020
3143
  /** Selector specifying which fields to include in a partial response. */
@@ -3037,11 +3160,11 @@ declare namespace gapi.client {
3037
3160
  /** List all `GitLabConfigs` for a given project. This API is experimental */
3038
3161
  list(request?: {
3039
3162
  /** V1 error format. */
3040
- '$.xgafv'?: string;
3163
+ '$.xgafv'?: '1' | '2';
3041
3164
  /** OAuth access token. */
3042
3165
  access_token?: string;
3043
3166
  /** Data format for response. */
3044
- alt?: string;
3167
+ alt?: 'json' | 'media' | 'proto';
3045
3168
  /** JSONP */
3046
3169
  callback?: string;
3047
3170
  /** Selector specifying which fields to include in a partial response. */
@@ -3068,11 +3191,11 @@ declare namespace gapi.client {
3068
3191
  /** Updates an existing `GitLabConfig`. This API is experimental */
3069
3192
  patch(request: {
3070
3193
  /** V1 error format. */
3071
- '$.xgafv'?: string;
3194
+ '$.xgafv'?: '1' | '2';
3072
3195
  /** OAuth access token. */
3073
3196
  access_token?: string;
3074
3197
  /** Data format for response. */
3075
- alt?: string;
3198
+ alt?: 'json' | 'media' | 'proto';
3076
3199
  /** JSONP */
3077
3200
  callback?: string;
3078
3201
  /** Selector specifying which fields to include in a partial response. */
@@ -3099,11 +3222,11 @@ declare namespace gapi.client {
3099
3222
  patch(
3100
3223
  request: {
3101
3224
  /** V1 error format. */
3102
- '$.xgafv'?: string;
3225
+ '$.xgafv'?: '1' | '2';
3103
3226
  /** OAuth access token. */
3104
3227
  access_token?: string;
3105
3228
  /** Data format for response. */
3106
- alt?: string;
3229
+ alt?: 'json' | 'media' | 'proto';
3107
3230
  /** JSONP */
3108
3231
  callback?: string;
3109
3232
  /** Selector specifying which fields to include in a partial response. */
@@ -3130,11 +3253,11 @@ declare namespace gapi.client {
3130
3253
  /** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */
3131
3254
  removeGitLabConnectedRepository(request: {
3132
3255
  /** V1 error format. */
3133
- '$.xgafv'?: string;
3256
+ '$.xgafv'?: '1' | '2';
3134
3257
  /** OAuth access token. */
3135
3258
  access_token?: string;
3136
3259
  /** Data format for response. */
3137
- alt?: string;
3260
+ alt?: 'json' | 'media' | 'proto';
3138
3261
  /** JSONP */
3139
3262
  callback?: string;
3140
3263
  /** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
@@ -3159,11 +3282,11 @@ declare namespace gapi.client {
3159
3282
  removeGitLabConnectedRepository(
3160
3283
  request: {
3161
3284
  /** V1 error format. */
3162
- '$.xgafv'?: string;
3285
+ '$.xgafv'?: '1' | '2';
3163
3286
  /** OAuth access token. */
3164
3287
  access_token?: string;
3165
3288
  /** Data format for response. */
3166
- alt?: string;
3289
+ alt?: 'json' | 'media' | 'proto';
3167
3290
  /** JSONP */
3168
3291
  callback?: string;
3169
3292
  /** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
@@ -3192,11 +3315,11 @@ declare namespace gapi.client {
3192
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`. */
3193
3316
  cancel(request: {
3194
3317
  /** V1 error format. */
3195
- '$.xgafv'?: string;
3318
+ '$.xgafv'?: '1' | '2';
3196
3319
  /** OAuth access token. */
3197
3320
  access_token?: string;
3198
3321
  /** Data format for response. */
3199
- alt?: string;
3322
+ alt?: 'json' | 'media' | 'proto';
3200
3323
  /** JSONP */
3201
3324
  callback?: string;
3202
3325
  /** Selector specifying which fields to include in a partial response. */
@@ -3221,11 +3344,11 @@ declare namespace gapi.client {
3221
3344
  cancel(
3222
3345
  request: {
3223
3346
  /** V1 error format. */
3224
- '$.xgafv'?: string;
3347
+ '$.xgafv'?: '1' | '2';
3225
3348
  /** OAuth access token. */
3226
3349
  access_token?: string;
3227
3350
  /** Data format for response. */
3228
- alt?: string;
3351
+ alt?: 'json' | 'media' | 'proto';
3229
3352
  /** JSONP */
3230
3353
  callback?: string;
3231
3354
  /** Selector specifying which fields to include in a partial response. */
@@ -3250,11 +3373,11 @@ declare namespace gapi.client {
3250
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. */
3251
3374
  get(request?: {
3252
3375
  /** V1 error format. */
3253
- '$.xgafv'?: string;
3376
+ '$.xgafv'?: '1' | '2';
3254
3377
  /** OAuth access token. */
3255
3378
  access_token?: string;
3256
3379
  /** Data format for response. */
3257
- alt?: string;
3380
+ alt?: 'json' | 'media' | 'proto';
3258
3381
  /** JSONP */
3259
3382
  callback?: string;
3260
3383
  /** Selector specifying which fields to include in a partial response. */
@@ -3279,11 +3402,11 @@ declare namespace gapi.client {
3279
3402
  /** Creates a new `BuildTrigger`. */
3280
3403
  create(request: {
3281
3404
  /** V1 error format. */
3282
- '$.xgafv'?: string;
3405
+ '$.xgafv'?: '1' | '2';
3283
3406
  /** OAuth access token. */
3284
3407
  access_token?: string;
3285
3408
  /** Data format for response. */
3286
- alt?: string;
3409
+ alt?: 'json' | 'media' | 'proto';
3287
3410
  /** JSONP */
3288
3411
  callback?: string;
3289
3412
  /** Selector specifying which fields to include in a partial response. */
@@ -3310,11 +3433,11 @@ declare namespace gapi.client {
3310
3433
  create(
3311
3434
  request: {
3312
3435
  /** V1 error format. */
3313
- '$.xgafv'?: string;
3436
+ '$.xgafv'?: '1' | '2';
3314
3437
  /** OAuth access token. */
3315
3438
  access_token?: string;
3316
3439
  /** Data format for response. */
3317
- alt?: string;
3440
+ alt?: 'json' | 'media' | 'proto';
3318
3441
  /** JSONP */
3319
3442
  callback?: string;
3320
3443
  /** Selector specifying which fields to include in a partial response. */
@@ -3341,11 +3464,11 @@ declare namespace gapi.client {
3341
3464
  /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3342
3465
  delete(request?: {
3343
3466
  /** V1 error format. */
3344
- '$.xgafv'?: string;
3467
+ '$.xgafv'?: '1' | '2';
3345
3468
  /** OAuth access token. */
3346
3469
  access_token?: string;
3347
3470
  /** Data format for response. */
3348
- alt?: string;
3471
+ alt?: 'json' | 'media' | 'proto';
3349
3472
  /** JSONP */
3350
3473
  callback?: string;
3351
3474
  /** Selector specifying which fields to include in a partial response. */
@@ -3372,11 +3495,11 @@ declare namespace gapi.client {
3372
3495
  /** Returns information about a `BuildTrigger`. */
3373
3496
  get(request?: {
3374
3497
  /** V1 error format. */
3375
- '$.xgafv'?: string;
3498
+ '$.xgafv'?: '1' | '2';
3376
3499
  /** OAuth access token. */
3377
3500
  access_token?: string;
3378
3501
  /** Data format for response. */
3379
- alt?: string;
3502
+ alt?: 'json' | 'media' | 'proto';
3380
3503
  /** JSONP */
3381
3504
  callback?: string;
3382
3505
  /** Selector specifying which fields to include in a partial response. */
@@ -3403,11 +3526,11 @@ declare namespace gapi.client {
3403
3526
  /** Lists existing `BuildTrigger`s. */
3404
3527
  list(request?: {
3405
3528
  /** V1 error format. */
3406
- '$.xgafv'?: string;
3529
+ '$.xgafv'?: '1' | '2';
3407
3530
  /** OAuth access token. */
3408
3531
  access_token?: string;
3409
3532
  /** Data format for response. */
3410
- alt?: string;
3533
+ alt?: 'json' | 'media' | 'proto';
3411
3534
  /** JSONP */
3412
3535
  callback?: string;
3413
3536
  /** Selector specifying which fields to include in a partial response. */
@@ -3436,11 +3559,11 @@ declare namespace gapi.client {
3436
3559
  /** Updates a `BuildTrigger` by its project ID and trigger ID. */
3437
3560
  patch(request: {
3438
3561
  /** V1 error format. */
3439
- '$.xgafv'?: string;
3562
+ '$.xgafv'?: '1' | '2';
3440
3563
  /** OAuth access token. */
3441
3564
  access_token?: string;
3442
3565
  /** Data format for response. */
3443
- alt?: string;
3566
+ alt?: 'json' | 'media' | 'proto';
3444
3567
  /** JSONP */
3445
3568
  callback?: string;
3446
3569
  /** Selector specifying which fields to include in a partial response. */
@@ -3471,11 +3594,11 @@ declare namespace gapi.client {
3471
3594
  patch(
3472
3595
  request: {
3473
3596
  /** V1 error format. */
3474
- '$.xgafv'?: string;
3597
+ '$.xgafv'?: '1' | '2';
3475
3598
  /** OAuth access token. */
3476
3599
  access_token?: string;
3477
3600
  /** Data format for response. */
3478
- alt?: string;
3601
+ alt?: 'json' | 'media' | 'proto';
3479
3602
  /** JSONP */
3480
3603
  callback?: string;
3481
3604
  /** Selector specifying which fields to include in a partial response. */
@@ -3506,11 +3629,11 @@ declare namespace gapi.client {
3506
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. */
3507
3630
  run(request: {
3508
3631
  /** V1 error format. */
3509
- '$.xgafv'?: string;
3632
+ '$.xgafv'?: '1' | '2';
3510
3633
  /** OAuth access token. */
3511
3634
  access_token?: string;
3512
3635
  /** Data format for response. */
3513
- alt?: string;
3636
+ alt?: 'json' | 'media' | 'proto';
3514
3637
  /** JSONP */
3515
3638
  callback?: string;
3516
3639
  /** Selector specifying which fields to include in a partial response. */
@@ -3535,11 +3658,11 @@ declare namespace gapi.client {
3535
3658
  run(
3536
3659
  request: {
3537
3660
  /** V1 error format. */
3538
- '$.xgafv'?: string;
3661
+ '$.xgafv'?: '1' | '2';
3539
3662
  /** OAuth access token. */
3540
3663
  access_token?: string;
3541
3664
  /** Data format for response. */
3542
- alt?: string;
3665
+ alt?: 'json' | 'media' | 'proto';
3543
3666
  /** JSONP */
3544
3667
  callback?: string;
3545
3668
  /** Selector specifying which fields to include in a partial response. */
@@ -3564,11 +3687,11 @@ declare namespace gapi.client {
3564
3687
  /** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
3565
3688
  webhook(request: {
3566
3689
  /** V1 error format. */
3567
- '$.xgafv'?: string;
3690
+ '$.xgafv'?: '1' | '2';
3568
3691
  /** OAuth access token. */
3569
3692
  access_token?: string;
3570
3693
  /** Data format for response. */
3571
- alt?: string;
3694
+ alt?: 'json' | 'media' | 'proto';
3572
3695
  /** JSONP */
3573
3696
  callback?: string;
3574
3697
  /** Selector specifying which fields to include in a partial response. */
@@ -3599,11 +3722,11 @@ declare namespace gapi.client {
3599
3722
  webhook(
3600
3723
  request: {
3601
3724
  /** V1 error format. */
3602
- '$.xgafv'?: string;
3725
+ '$.xgafv'?: '1' | '2';
3603
3726
  /** OAuth access token. */
3604
3727
  access_token?: string;
3605
3728
  /** Data format for response. */
3606
- alt?: string;
3729
+ alt?: 'json' | 'media' | 'proto';
3607
3730
  /** JSONP */
3608
3731
  callback?: string;
3609
3732
  /** Selector specifying which fields to include in a partial response. */
@@ -3636,11 +3759,11 @@ declare namespace gapi.client {
3636
3759
  /** Creates a `WorkerPool`. */
3637
3760
  create(request: {
3638
3761
  /** V1 error format. */
3639
- '$.xgafv'?: string;
3762
+ '$.xgafv'?: '1' | '2';
3640
3763
  /** OAuth access token. */
3641
3764
  access_token?: string;
3642
3765
  /** Data format for response. */
3643
- alt?: string;
3766
+ alt?: 'json' | 'media' | 'proto';
3644
3767
  /** JSONP */
3645
3768
  callback?: string;
3646
3769
  /** Selector specifying which fields to include in a partial response. */
@@ -3669,11 +3792,11 @@ declare namespace gapi.client {
3669
3792
  create(
3670
3793
  request: {
3671
3794
  /** V1 error format. */
3672
- '$.xgafv'?: string;
3795
+ '$.xgafv'?: '1' | '2';
3673
3796
  /** OAuth access token. */
3674
3797
  access_token?: string;
3675
3798
  /** Data format for response. */
3676
- alt?: string;
3799
+ alt?: 'json' | 'media' | 'proto';
3677
3800
  /** JSONP */
3678
3801
  callback?: string;
3679
3802
  /** Selector specifying which fields to include in a partial response. */
@@ -3702,13 +3825,13 @@ declare namespace gapi.client {
3702
3825
  /** Deletes a `WorkerPool`. */
3703
3826
  delete(request?: {
3704
3827
  /** V1 error format. */
3705
- '$.xgafv'?: string;
3828
+ '$.xgafv'?: '1' | '2';
3706
3829
  /** OAuth access token. */
3707
3830
  access_token?: string;
3708
3831
  /** If set to true, and the `WorkerPool` is not found, the request will succeed but no action will be taken on the server. */
3709
3832
  allowMissing?: boolean;
3710
3833
  /** Data format for response. */
3711
- alt?: string;
3834
+ alt?: 'json' | 'media' | 'proto';
3712
3835
  /** JSONP */
3713
3836
  callback?: string;
3714
3837
  /** Optional. If provided, it must match the server's etag on the workerpool for the request to be processed. */
@@ -3735,11 +3858,11 @@ declare namespace gapi.client {
3735
3858
  /** Returns details of a `WorkerPool`. */
3736
3859
  get(request?: {
3737
3860
  /** V1 error format. */
3738
- '$.xgafv'?: string;
3861
+ '$.xgafv'?: '1' | '2';
3739
3862
  /** OAuth access token. */
3740
3863
  access_token?: string;
3741
3864
  /** Data format for response. */
3742
- alt?: string;
3865
+ alt?: 'json' | 'media' | 'proto';
3743
3866
  /** JSONP */
3744
3867
  callback?: string;
3745
3868
  /** Selector specifying which fields to include in a partial response. */
@@ -3762,11 +3885,11 @@ declare namespace gapi.client {
3762
3885
  /** Lists `WorkerPool`s. */
3763
3886
  list(request?: {
3764
3887
  /** V1 error format. */
3765
- '$.xgafv'?: string;
3888
+ '$.xgafv'?: '1' | '2';
3766
3889
  /** OAuth access token. */
3767
3890
  access_token?: string;
3768
3891
  /** Data format for response. */
3769
- alt?: string;
3892
+ alt?: 'json' | 'media' | 'proto';
3770
3893
  /** JSONP */
3771
3894
  callback?: string;
3772
3895
  /** Selector specifying which fields to include in a partial response. */
@@ -3793,11 +3916,11 @@ declare namespace gapi.client {
3793
3916
  /** Updates a `WorkerPool`. */
3794
3917
  patch(request: {
3795
3918
  /** V1 error format. */
3796
- '$.xgafv'?: string;
3919
+ '$.xgafv'?: '1' | '2';
3797
3920
  /** OAuth access token. */
3798
3921
  access_token?: string;
3799
3922
  /** Data format for response. */
3800
- alt?: string;
3923
+ alt?: 'json' | 'media' | 'proto';
3801
3924
  /** JSONP */
3802
3925
  callback?: string;
3803
3926
  /** Selector specifying which fields to include in a partial response. */
@@ -3826,11 +3949,11 @@ declare namespace gapi.client {
3826
3949
  patch(
3827
3950
  request: {
3828
3951
  /** V1 error format. */
3829
- '$.xgafv'?: string;
3952
+ '$.xgafv'?: '1' | '2';
3830
3953
  /** OAuth access token. */
3831
3954
  access_token?: string;
3832
3955
  /** Data format for response. */
3833
- alt?: string;
3956
+ alt?: 'json' | 'media' | 'proto';
3834
3957
  /** JSONP */
3835
3958
  callback?: string;
3836
3959
  /** Selector specifying which fields to include in a partial response. */
@@ -3861,11 +3984,11 @@ declare namespace gapi.client {
3861
3984
  /** Returns the `DefaultServiceAccount` used by the project. */
3862
3985
  getDefaultServiceAccount(request?: {
3863
3986
  /** V1 error format. */
3864
- '$.xgafv'?: string;
3987
+ '$.xgafv'?: '1' | '2';
3865
3988
  /** OAuth access token. */
3866
3989
  access_token?: string;
3867
3990
  /** Data format for response. */
3868
- alt?: string;
3991
+ alt?: 'json' | 'media' | 'proto';
3869
3992
  /** JSONP */
3870
3993
  callback?: string;
3871
3994
  /** Selector specifying which fields to include in a partial response. */
@@ -3897,11 +4020,11 @@ declare namespace gapi.client {
3897
4020
  /** Creates a new `BuildTrigger`. */
3898
4021
  create(request: {
3899
4022
  /** V1 error format. */
3900
- '$.xgafv'?: string;
4023
+ '$.xgafv'?: '1' | '2';
3901
4024
  /** OAuth access token. */
3902
4025
  access_token?: string;
3903
4026
  /** Data format for response. */
3904
- alt?: string;
4027
+ alt?: 'json' | 'media' | 'proto';
3905
4028
  /** JSONP */
3906
4029
  callback?: string;
3907
4030
  /** Selector specifying which fields to include in a partial response. */
@@ -3928,11 +4051,11 @@ declare namespace gapi.client {
3928
4051
  create(
3929
4052
  request: {
3930
4053
  /** V1 error format. */
3931
- '$.xgafv'?: string;
4054
+ '$.xgafv'?: '1' | '2';
3932
4055
  /** OAuth access token. */
3933
4056
  access_token?: string;
3934
4057
  /** Data format for response. */
3935
- alt?: string;
4058
+ alt?: 'json' | 'media' | 'proto';
3936
4059
  /** JSONP */
3937
4060
  callback?: string;
3938
4061
  /** Selector specifying which fields to include in a partial response. */
@@ -3959,11 +4082,11 @@ declare namespace gapi.client {
3959
4082
  /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3960
4083
  delete(request?: {
3961
4084
  /** V1 error format. */
3962
- '$.xgafv'?: string;
4085
+ '$.xgafv'?: '1' | '2';
3963
4086
  /** OAuth access token. */
3964
4087
  access_token?: string;
3965
4088
  /** Data format for response. */
3966
- alt?: string;
4089
+ alt?: 'json' | 'media' | 'proto';
3967
4090
  /** JSONP */
3968
4091
  callback?: string;
3969
4092
  /** Selector specifying which fields to include in a partial response. */
@@ -3990,11 +4113,11 @@ declare namespace gapi.client {
3990
4113
  /** Returns information about a `BuildTrigger`. */
3991
4114
  get(request?: {
3992
4115
  /** V1 error format. */
3993
- '$.xgafv'?: string;
4116
+ '$.xgafv'?: '1' | '2';
3994
4117
  /** OAuth access token. */
3995
4118
  access_token?: string;
3996
4119
  /** Data format for response. */
3997
- alt?: string;
4120
+ alt?: 'json' | 'media' | 'proto';
3998
4121
  /** JSONP */
3999
4122
  callback?: string;
4000
4123
  /** Selector specifying which fields to include in a partial response. */
@@ -4021,11 +4144,11 @@ declare namespace gapi.client {
4021
4144
  /** Lists existing `BuildTrigger`s. */
4022
4145
  list(request?: {
4023
4146
  /** V1 error format. */
4024
- '$.xgafv'?: string;
4147
+ '$.xgafv'?: '1' | '2';
4025
4148
  /** OAuth access token. */
4026
4149
  access_token?: string;
4027
4150
  /** Data format for response. */
4028
- alt?: string;
4151
+ alt?: 'json' | 'media' | 'proto';
4029
4152
  /** JSONP */
4030
4153
  callback?: string;
4031
4154
  /** Selector specifying which fields to include in a partial response. */
@@ -4054,11 +4177,11 @@ declare namespace gapi.client {
4054
4177
  /** Updates a `BuildTrigger` by its project ID and trigger ID. */
4055
4178
  patch(request: {
4056
4179
  /** V1 error format. */
4057
- '$.xgafv'?: string;
4180
+ '$.xgafv'?: '1' | '2';
4058
4181
  /** OAuth access token. */
4059
4182
  access_token?: string;
4060
4183
  /** Data format for response. */
4061
- alt?: string;
4184
+ alt?: 'json' | 'media' | 'proto';
4062
4185
  /** JSONP */
4063
4186
  callback?: string;
4064
4187
  /** Selector specifying which fields to include in a partial response. */
@@ -4087,11 +4210,11 @@ declare namespace gapi.client {
4087
4210
  patch(
4088
4211
  request: {
4089
4212
  /** V1 error format. */
4090
- '$.xgafv'?: string;
4213
+ '$.xgafv'?: '1' | '2';
4091
4214
  /** OAuth access token. */
4092
4215
  access_token?: string;
4093
4216
  /** Data format for response. */
4094
- alt?: string;
4217
+ alt?: 'json' | 'media' | 'proto';
4095
4218
  /** JSONP */
4096
4219
  callback?: string;
4097
4220
  /** Selector specifying which fields to include in a partial response. */
@@ -4120,11 +4243,11 @@ declare namespace gapi.client {
4120
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. */
4121
4244
  run(request: {
4122
4245
  /** V1 error format. */
4123
- '$.xgafv'?: string;
4246
+ '$.xgafv'?: '1' | '2';
4124
4247
  /** OAuth access token. */
4125
4248
  access_token?: string;
4126
4249
  /** Data format for response. */
4127
- alt?: string;
4250
+ alt?: 'json' | 'media' | 'proto';
4128
4251
  /** JSONP */
4129
4252
  callback?: string;
4130
4253
  /** Selector specifying which fields to include in a partial response. */
@@ -4153,11 +4276,11 @@ declare namespace gapi.client {
4153
4276
  run(
4154
4277
  request: {
4155
4278
  /** V1 error format. */
4156
- '$.xgafv'?: string;
4279
+ '$.xgafv'?: '1' | '2';
4157
4280
  /** OAuth access token. */
4158
4281
  access_token?: string;
4159
4282
  /** Data format for response. */
4160
- alt?: string;
4283
+ alt?: 'json' | 'media' | 'proto';
4161
4284
  /** JSONP */
4162
4285
  callback?: string;
4163
4286
  /** Selector specifying which fields to include in a partial response. */
@@ -4186,11 +4309,11 @@ declare namespace gapi.client {
4186
4309
  /** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
4187
4310
  webhook(request: {
4188
4311
  /** V1 error format. */
4189
- '$.xgafv'?: string;
4312
+ '$.xgafv'?: '1' | '2';
4190
4313
  /** OAuth access token. */
4191
4314
  access_token?: string;
4192
4315
  /** Data format for response. */
4193
- alt?: string;
4316
+ alt?: 'json' | 'media' | 'proto';
4194
4317
  /** JSONP */
4195
4318
  callback?: string;
4196
4319
  /** Selector specifying which fields to include in a partial response. */
@@ -4221,11 +4344,11 @@ declare namespace gapi.client {
4221
4344
  webhook(
4222
4345
  request: {
4223
4346
  /** V1 error format. */
4224
- '$.xgafv'?: string;
4347
+ '$.xgafv'?: '1' | '2';
4225
4348
  /** OAuth access token. */
4226
4349
  access_token?: string;
4227
4350
  /** Data format for response. */
4228
- alt?: string;
4351
+ alt?: 'json' | 'media' | 'proto';
4229
4352
  /** JSONP */
4230
4353
  callback?: string;
4231
4354
  /** Selector specifying which fields to include in a partial response. */
@@ -4264,11 +4387,11 @@ declare namespace gapi.client {
4264
4387
  /** ReceiveWebhook is called when the API receives a GitHub webhook. */
4265
4388
  webhook(request: {
4266
4389
  /** V1 error format. */
4267
- '$.xgafv'?: string;
4390
+ '$.xgafv'?: '1' | '2';
4268
4391
  /** OAuth access token. */
4269
4392
  access_token?: string;
4270
4393
  /** Data format for response. */
4271
- alt?: string;
4394
+ alt?: 'json' | 'media' | 'proto';
4272
4395
  /** JSONP */
4273
4396
  callback?: string;
4274
4397
  /** Selector specifying which fields to include in a partial response. */
@@ -4293,11 +4416,11 @@ declare namespace gapi.client {
4293
4416
  webhook(
4294
4417
  request: {
4295
4418
  /** V1 error format. */
4296
- '$.xgafv'?: string;
4419
+ '$.xgafv'?: '1' | '2';
4297
4420
  /** OAuth access token. */
4298
4421
  access_token?: string;
4299
4422
  /** Data format for response. */
4300
- alt?: string;
4423
+ alt?: 'json' | 'media' | 'proto';
4301
4424
  /** JSONP */
4302
4425
  callback?: string;
4303
4426
  /** Selector specifying which fields to include in a partial response. */