@maxim_mazurok/gapi.client.cloudbuild-v1 0.1.20260309 → 0.2.20260511
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.
- package/index.d.ts +387 -230
- package/package.json +1 -1
- package/readme.md +12 -0
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:
|
|
12
|
+
// Revision: 20260511
|
|
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?:
|
|
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
|
}
|
|
@@ -59,6 +59,8 @@ declare namespace gapi.client {
|
|
|
59
59
|
location?: string;
|
|
60
60
|
}
|
|
61
61
|
interface Artifacts {
|
|
62
|
+
/** Optional. A list of generic artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. If any artifacts fail to be pushed, the build is marked FAILURE. */
|
|
63
|
+
genericArtifacts?: GenericArtifact[];
|
|
62
64
|
/** Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE. */
|
|
63
65
|
goModules?: GoModule[];
|
|
64
66
|
/** A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE. */
|
|
@@ -228,7 +230,17 @@ declare namespace gapi.client {
|
|
|
228
230
|
/** Output only. Time at which execution of the build was started. */
|
|
229
231
|
startTime?: string;
|
|
230
232
|
/** Output only. Status of the build. */
|
|
231
|
-
status?:
|
|
233
|
+
status?:
|
|
234
|
+
| 'STATUS_UNKNOWN'
|
|
235
|
+
| 'PENDING'
|
|
236
|
+
| 'QUEUED'
|
|
237
|
+
| 'WORKING'
|
|
238
|
+
| 'SUCCESS'
|
|
239
|
+
| 'FAILURE'
|
|
240
|
+
| 'INTERNAL_ERROR'
|
|
241
|
+
| 'TIMEOUT'
|
|
242
|
+
| 'CANCELLED'
|
|
243
|
+
| 'EXPIRED';
|
|
232
244
|
/** Output only. Customer-readable message about the current status. */
|
|
233
245
|
statusDetail?: string;
|
|
234
246
|
/** Required. The operations to be performed on the workspace. */
|
|
@@ -250,7 +262,12 @@ declare namespace gapi.client {
|
|
|
250
262
|
/** Output only. Result of manual approval for this Build. */
|
|
251
263
|
result?: ApprovalResult;
|
|
252
264
|
/** Output only. The state of this build's approval. */
|
|
253
|
-
state?:
|
|
265
|
+
state?:
|
|
266
|
+
| 'STATE_UNSPECIFIED'
|
|
267
|
+
| 'PENDING'
|
|
268
|
+
| 'APPROVED'
|
|
269
|
+
| 'REJECTED'
|
|
270
|
+
| 'CANCELLED';
|
|
254
271
|
}
|
|
255
272
|
interface BuildOperationMetadata {
|
|
256
273
|
/** The build that the operation is tracking. */
|
|
@@ -260,7 +277,10 @@ declare namespace gapi.client {
|
|
|
260
277
|
/** Option to include built-in and custom substitutions as env variables for all build steps. */
|
|
261
278
|
automapSubstitutions?: boolean;
|
|
262
279
|
/** Optional. Option to specify how default logs buckets are setup. */
|
|
263
|
-
defaultLogsBucketBehavior?:
|
|
280
|
+
defaultLogsBucketBehavior?:
|
|
281
|
+
| 'DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED'
|
|
282
|
+
| 'REGIONAL_USER_OWNED_BUCKET'
|
|
283
|
+
| 'LEGACY_BUCKET';
|
|
264
284
|
/** 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
285
|
diskSizeGb?: string;
|
|
266
286
|
/** 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 +290,41 @@ declare namespace gapi.client {
|
|
|
270
290
|
/** 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
291
|
env?: string[];
|
|
272
292
|
/** Option to specify the logging mode, which determines if and where build logs are stored. */
|
|
273
|
-
logging?:
|
|
293
|
+
logging?:
|
|
294
|
+
| 'LOGGING_UNSPECIFIED'
|
|
295
|
+
| 'LEGACY'
|
|
296
|
+
| 'GCS_ONLY'
|
|
297
|
+
| 'STACKDRIVER_ONLY'
|
|
298
|
+
| 'CLOUD_LOGGING_ONLY'
|
|
299
|
+
| 'NONE';
|
|
274
300
|
/** Option to define build log streaming behavior to Cloud Storage. */
|
|
275
|
-
logStreamingOption?:
|
|
301
|
+
logStreamingOption?: 'STREAM_DEFAULT' | 'STREAM_ON' | 'STREAM_OFF';
|
|
276
302
|
/** Compute Engine machine type on which to run the build. */
|
|
277
|
-
machineType?:
|
|
303
|
+
machineType?:
|
|
304
|
+
| 'UNSPECIFIED'
|
|
305
|
+
| 'N1_HIGHCPU_8'
|
|
306
|
+
| 'N1_HIGHCPU_32'
|
|
307
|
+
| 'E2_HIGHCPU_8'
|
|
308
|
+
| 'E2_HIGHCPU_32'
|
|
309
|
+
| 'E2_MEDIUM';
|
|
278
310
|
/** 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
311
|
pool?: PoolOption;
|
|
280
312
|
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
281
313
|
pubsubTopic?: string;
|
|
282
314
|
/** Requested verifiability options. */
|
|
283
|
-
requestedVerifyOption?:
|
|
315
|
+
requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
|
|
284
316
|
/** 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
317
|
secretEnv?: string[];
|
|
286
318
|
/** Requested hash for SourceProvenance. */
|
|
287
|
-
sourceProvenanceHash?:
|
|
319
|
+
sourceProvenanceHash?:
|
|
320
|
+
| 'NONE'
|
|
321
|
+
| 'SHA256'
|
|
322
|
+
| 'MD5'
|
|
323
|
+
| 'GO_MODULE_H1'
|
|
324
|
+
| 'SHA512'
|
|
325
|
+
| 'DIRSUM_SHA256'[];
|
|
288
326
|
/** 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?:
|
|
327
|
+
substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
|
|
290
328
|
/** 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
329
|
volumes?: Volume[];
|
|
292
330
|
/** This field deprecated; please use `pool.name` instead. */
|
|
@@ -315,12 +353,24 @@ declare namespace gapi.client {
|
|
|
315
353
|
name?: string;
|
|
316
354
|
/** Output only. Stores timing information for pulling this build step's builder image only. */
|
|
317
355
|
pullTiming?: TimeSpan;
|
|
356
|
+
/** Declaration of results for this build step. */
|
|
357
|
+
results?: StepResult[];
|
|
318
358
|
/** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
|
|
319
359
|
script?: string;
|
|
320
360
|
/** 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
361
|
secretEnv?: string[];
|
|
322
362
|
/** 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?:
|
|
363
|
+
status?:
|
|
364
|
+
| 'STATUS_UNKNOWN'
|
|
365
|
+
| 'PENDING'
|
|
366
|
+
| 'QUEUED'
|
|
367
|
+
| 'WORKING'
|
|
368
|
+
| 'SUCCESS'
|
|
369
|
+
| 'FAILURE'
|
|
370
|
+
| 'INTERNAL_ERROR'
|
|
371
|
+
| 'TIMEOUT'
|
|
372
|
+
| 'CANCELLED'
|
|
373
|
+
| 'EXPIRED';
|
|
324
374
|
/** 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
375
|
timeout?: string;
|
|
326
376
|
/** Output only. Stores timing information for executing this build step. */
|
|
@@ -330,6 +380,10 @@ declare namespace gapi.client {
|
|
|
330
380
|
/** The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully. */
|
|
331
381
|
waitFor?: string[];
|
|
332
382
|
}
|
|
383
|
+
interface BuildStepResults {
|
|
384
|
+
/** Results for a build step. */
|
|
385
|
+
results?: {[P in string]: string};
|
|
386
|
+
}
|
|
333
387
|
interface BuildTrigger {
|
|
334
388
|
/** Configuration for manual approval to start a build invocation of this BuildTrigger. */
|
|
335
389
|
approvalConfig?: ApprovalConfig;
|
|
@@ -348,7 +402,12 @@ declare namespace gapi.client {
|
|
|
348
402
|
/** If true, the trigger will never automatically execute a build. */
|
|
349
403
|
disabled?: boolean;
|
|
350
404
|
/** 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?:
|
|
405
|
+
eventType?:
|
|
406
|
+
| 'EVENT_TYPE_UNSPECIFIED'
|
|
407
|
+
| 'REPO'
|
|
408
|
+
| 'WEBHOOK'
|
|
409
|
+
| 'PUBSUB'
|
|
410
|
+
| 'MANUAL';
|
|
352
411
|
/** Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml). */
|
|
353
412
|
filename?: string;
|
|
354
413
|
/** A Common Expression Language string. */
|
|
@@ -364,7 +423,9 @@ declare namespace gapi.client {
|
|
|
364
423
|
/** 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
424
|
ignoredFiles?: string[];
|
|
366
425
|
/** 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?:
|
|
426
|
+
includeBuildLogs?:
|
|
427
|
+
| 'INCLUDE_BUILD_LOGS_UNSPECIFIED'
|
|
428
|
+
| 'INCLUDE_BUILD_LOGS_WITH_STATUS';
|
|
368
429
|
/** 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
430
|
includedFiles?: string[];
|
|
370
431
|
/** 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 +457,10 @@ declare namespace gapi.client {
|
|
|
396
457
|
/** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
|
|
397
458
|
name?: string;
|
|
398
459
|
/** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
|
|
399
|
-
ociMediaType?:
|
|
460
|
+
ociMediaType?:
|
|
461
|
+
| 'OCI_MEDIA_TYPE_UNSPECIFIED'
|
|
462
|
+
| 'IMAGE_MANIFEST'
|
|
463
|
+
| 'IMAGE_INDEX';
|
|
400
464
|
/** Output only. Stores timing information for pushing the specified image. */
|
|
401
465
|
pushTiming?: TimeSpan;
|
|
402
466
|
}
|
|
@@ -502,6 +566,8 @@ declare namespace gapi.client {
|
|
|
502
566
|
interface Dependency {
|
|
503
567
|
/** If set to true disable all dependency fetching (ignoring the default source as well). */
|
|
504
568
|
empty?: boolean;
|
|
569
|
+
/** Represents a generic artifact as a build dependency. */
|
|
570
|
+
genericArtifact?: GenericArtifactDependency;
|
|
505
571
|
/** Represents a git repository as a build dependency. */
|
|
506
572
|
gitSource?: GitSourceDependency;
|
|
507
573
|
}
|
|
@@ -517,7 +583,14 @@ declare namespace gapi.client {
|
|
|
517
583
|
/** Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`. */
|
|
518
584
|
gitRepositoryLink?: string;
|
|
519
585
|
/** Output only. The type of DeveloperConnect GitRepositoryLink. */
|
|
520
|
-
gitRepositoryLinkType?:
|
|
586
|
+
gitRepositoryLinkType?:
|
|
587
|
+
| 'GIT_REPOSITORY_LINK_TYPE_UNSPECIFIED'
|
|
588
|
+
| 'GITHUB'
|
|
589
|
+
| 'GITHUB_ENTERPRISE'
|
|
590
|
+
| 'GITLAB'
|
|
591
|
+
| 'GITLAB_ENTERPRISE'
|
|
592
|
+
| 'BITBUCKET_DATA_CENTER'
|
|
593
|
+
| 'BITBUCKET_CLOUD';
|
|
521
594
|
/** Filter to match changes in pull requests. */
|
|
522
595
|
pullRequest?: PullRequestFilter;
|
|
523
596
|
/** Filter to match changes in refs like branches and tags. */
|
|
@@ -528,12 +601,31 @@ declare namespace gapi.client {
|
|
|
528
601
|
/** Explains the failure issue in more detail using hard-coded text. */
|
|
529
602
|
detail?: string;
|
|
530
603
|
/** The name of the failure. */
|
|
531
|
-
type?:
|
|
604
|
+
type?:
|
|
605
|
+
| 'FAILURE_TYPE_UNSPECIFIED'
|
|
606
|
+
| 'PUSH_FAILED'
|
|
607
|
+
| 'PUSH_IMAGE_NOT_FOUND'
|
|
608
|
+
| 'PUSH_NOT_AUTHORIZED'
|
|
609
|
+
| 'LOGGING_FAILURE'
|
|
610
|
+
| 'USER_BUILD_STEP'
|
|
611
|
+
| 'FETCH_SOURCE_FAILED';
|
|
532
612
|
}
|
|
533
613
|
interface FileHashes {
|
|
534
614
|
/** Collection of file hashes. */
|
|
535
615
|
fileHash?: Hash[];
|
|
536
616
|
}
|
|
617
|
+
interface GenericArtifact {
|
|
618
|
+
/** Required. Path to the generic artifact in the build's workspace to be uploaded to Artifact Registry. */
|
|
619
|
+
folder?: string;
|
|
620
|
+
/** Required. Registry path to upload the generic artifact to, in the form projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/versions/$VERSION */
|
|
621
|
+
registryPath?: string;
|
|
622
|
+
}
|
|
623
|
+
interface GenericArtifactDependency {
|
|
624
|
+
/** Required. Where the artifact files should be placed on the worker. */
|
|
625
|
+
destPath?: string;
|
|
626
|
+
/** Required. The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
|
|
627
|
+
resource?: string;
|
|
628
|
+
}
|
|
537
629
|
interface GitConfig {
|
|
538
630
|
/** Configuration for HTTP related git operations. */
|
|
539
631
|
http?: HttpConfig;
|
|
@@ -548,7 +640,13 @@ declare namespace gapi.client {
|
|
|
548
640
|
/** 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
641
|
repository?: string;
|
|
550
642
|
/** See RepoType above. */
|
|
551
|
-
repoType?:
|
|
643
|
+
repoType?:
|
|
644
|
+
| 'UNKNOWN'
|
|
645
|
+
| 'CLOUD_SOURCE_REPOSITORIES'
|
|
646
|
+
| 'GITHUB'
|
|
647
|
+
| 'BITBUCKET_SERVER'
|
|
648
|
+
| 'GITLAB'
|
|
649
|
+
| 'BITBUCKET_CLOUD';
|
|
552
650
|
/** 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
651
|
revision?: string;
|
|
554
652
|
/** 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 +786,13 @@ declare namespace gapi.client {
|
|
|
688
786
|
/** The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required. */
|
|
689
787
|
repository?: string;
|
|
690
788
|
/** See RepoType below. */
|
|
691
|
-
repoType?:
|
|
789
|
+
repoType?:
|
|
790
|
+
| 'UNKNOWN'
|
|
791
|
+
| 'CLOUD_SOURCE_REPOSITORIES'
|
|
792
|
+
| 'GITHUB'
|
|
793
|
+
| 'BITBUCKET_SERVER'
|
|
794
|
+
| 'GITLAB'
|
|
795
|
+
| 'BITBUCKET_CLOUD';
|
|
692
796
|
/** The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required. */
|
|
693
797
|
uri?: string;
|
|
694
798
|
}
|
|
@@ -734,7 +838,13 @@ declare namespace gapi.client {
|
|
|
734
838
|
}
|
|
735
839
|
interface Hash {
|
|
736
840
|
/** The type of hash that was performed. */
|
|
737
|
-
type?:
|
|
841
|
+
type?:
|
|
842
|
+
| 'NONE'
|
|
843
|
+
| 'SHA256'
|
|
844
|
+
| 'MD5'
|
|
845
|
+
| 'GO_MODULE_H1'
|
|
846
|
+
| 'SHA512'
|
|
847
|
+
| 'DIRSUM_SHA256';
|
|
738
848
|
/** The hash value. */
|
|
739
849
|
value?: string;
|
|
740
850
|
}
|
|
@@ -744,7 +854,7 @@ declare namespace gapi.client {
|
|
|
744
854
|
/** The HTTP request/response body as raw binary. */
|
|
745
855
|
data?: string;
|
|
746
856
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
747
|
-
extensions?:
|
|
857
|
+
extensions?: {[P in string]: any}[];
|
|
748
858
|
}
|
|
749
859
|
interface HttpConfig {
|
|
750
860
|
/** SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`. */
|
|
@@ -818,7 +928,10 @@ declare namespace gapi.client {
|
|
|
818
928
|
}
|
|
819
929
|
interface NetworkConfig {
|
|
820
930
|
/** Option to configure network egress for the workers. */
|
|
821
|
-
egressOption?:
|
|
931
|
+
egressOption?:
|
|
932
|
+
| 'EGRESS_OPTION_UNSPECIFIED'
|
|
933
|
+
| 'NO_PUBLIC_EGRESS'
|
|
934
|
+
| 'PUBLIC_EGRESS';
|
|
822
935
|
/** 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
936
|
peeredNetwork?: string;
|
|
824
937
|
/** 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 +1011,12 @@ declare namespace gapi.client {
|
|
|
898
1011
|
/** Service account that will make the push request. */
|
|
899
1012
|
serviceAccountEmail?: string;
|
|
900
1013
|
/** Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. */
|
|
901
|
-
state?:
|
|
1014
|
+
state?:
|
|
1015
|
+
| 'STATE_UNSPECIFIED'
|
|
1016
|
+
| 'OK'
|
|
1017
|
+
| 'SUBSCRIPTION_DELETED'
|
|
1018
|
+
| 'TOPIC_DELETED'
|
|
1019
|
+
| 'SUBSCRIPTION_MISCONFIGURED';
|
|
902
1020
|
/** Output only. Name of the subscription. Format is `projects/{project}/subscriptions/{subscription}`. */
|
|
903
1021
|
subscription?: string;
|
|
904
1022
|
/** Optional. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. */
|
|
@@ -908,7 +1026,10 @@ declare namespace gapi.client {
|
|
|
908
1026
|
/** 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
1027
|
branch?: string;
|
|
910
1028
|
/** 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?:
|
|
1029
|
+
commentControl?:
|
|
1030
|
+
| 'COMMENTS_DISABLED'
|
|
1031
|
+
| 'COMMENTS_ENABLED'
|
|
1032
|
+
| 'COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY';
|
|
912
1033
|
/** If true, branches that do NOT match the git_ref will trigger a build. */
|
|
913
1034
|
invertRegex?: boolean;
|
|
914
1035
|
}
|
|
@@ -943,7 +1064,13 @@ declare namespace gapi.client {
|
|
|
943
1064
|
/** The resource name of the Repo API resource. */
|
|
944
1065
|
repository?: string;
|
|
945
1066
|
/** Output only. The type of the SCM vendor the repository points to. */
|
|
946
|
-
repositoryType?:
|
|
1067
|
+
repositoryType?:
|
|
1068
|
+
| 'REPOSITORY_TYPE_UNSPECIFIED'
|
|
1069
|
+
| 'GITHUB'
|
|
1070
|
+
| 'GITHUB_ENTERPRISE'
|
|
1071
|
+
| 'GITLAB_ENTERPRISE'
|
|
1072
|
+
| 'BITBUCKET_DATA_CENTER'
|
|
1073
|
+
| 'BITBUCKET_CLOUD';
|
|
947
1074
|
}
|
|
948
1075
|
interface RepoSource {
|
|
949
1076
|
/** 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 */
|
|
@@ -972,6 +1099,10 @@ declare namespace gapi.client {
|
|
|
972
1099
|
buildStepImages?: string[];
|
|
973
1100
|
/** List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted. */
|
|
974
1101
|
buildStepOutputs?: string[];
|
|
1102
|
+
/** Results for build steps. step_id -> */
|
|
1103
|
+
buildStepResults?: {[P in string]: BuildStepResults};
|
|
1104
|
+
/** Output only. Generic artifacts uploaded to Artifact Registry at the end of the build. */
|
|
1105
|
+
genericArtifacts?: UploadedGenericArtifact[];
|
|
975
1106
|
/** Optional. Go module artifacts uploaded to Artifact Registry at the end of the build. */
|
|
976
1107
|
goModules?: UploadedGoModule[];
|
|
977
1108
|
/** Container images that were built as a part of the build. */
|
|
@@ -1055,10 +1186,18 @@ declare namespace gapi.client {
|
|
|
1055
1186
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
1056
1187
|
code?: number;
|
|
1057
1188
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
1058
|
-
details?:
|
|
1189
|
+
details?: {[P in string]: any}[];
|
|
1059
1190
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
1060
1191
|
message?: string;
|
|
1061
1192
|
}
|
|
1193
|
+
interface StepResult {
|
|
1194
|
+
/** Optional. The content of the attestation to be generated. */
|
|
1195
|
+
attestationContent?: string;
|
|
1196
|
+
/** Optional. The type of attestation to be generated. */
|
|
1197
|
+
attestationType?: string;
|
|
1198
|
+
/** Required. The name of the result. */
|
|
1199
|
+
name?: string;
|
|
1200
|
+
}
|
|
1062
1201
|
interface StorageSource {
|
|
1063
1202
|
/** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
1064
1203
|
bucket?: string;
|
|
@@ -1067,7 +1206,7 @@ declare namespace gapi.client {
|
|
|
1067
1206
|
/** 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
1207
|
object?: string;
|
|
1069
1208
|
/** Optional. Option to specify the tool to fetch the source file for the build. */
|
|
1070
|
-
sourceFetcher?:
|
|
1209
|
+
sourceFetcher?: 'SOURCE_FETCHER_UNSPECIFIED' | 'GSUTIL' | 'GCS_FETCHER';
|
|
1071
1210
|
}
|
|
1072
1211
|
interface StorageSourceManifest {
|
|
1073
1212
|
/** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
@@ -1115,6 +1254,18 @@ declare namespace gapi.client {
|
|
|
1115
1254
|
/** The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`. */
|
|
1116
1255
|
workerPool?: string;
|
|
1117
1256
|
}
|
|
1257
|
+
interface UploadedGenericArtifact {
|
|
1258
|
+
/** Output only. The hash of the whole artifact. */
|
|
1259
|
+
artifactFingerprint?: FileHashes;
|
|
1260
|
+
/** Output only. Path to the artifact in Artifact Registry. */
|
|
1261
|
+
artifactRegistryPackage?: string;
|
|
1262
|
+
/** Output only. The file hashes that make up the generic artifact. */
|
|
1263
|
+
fileHashes?: {[P in string]: FileHashes};
|
|
1264
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
1265
|
+
pushTiming?: TimeSpan;
|
|
1266
|
+
/** Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
|
|
1267
|
+
uri?: string;
|
|
1268
|
+
}
|
|
1118
1269
|
interface UploadedGoModule {
|
|
1119
1270
|
/** Output only. Path to the artifact in Artifact Registry. */
|
|
1120
1271
|
artifactRegistryPackage?: string;
|
|
@@ -1163,7 +1314,7 @@ declare namespace gapi.client {
|
|
|
1163
1314
|
}
|
|
1164
1315
|
interface Warning {
|
|
1165
1316
|
/** The priority for this warning. */
|
|
1166
|
-
priority?:
|
|
1317
|
+
priority?: 'PRIORITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ALERT';
|
|
1167
1318
|
/** Explanation of the warning generated. */
|
|
1168
1319
|
text?: string;
|
|
1169
1320
|
}
|
|
@@ -1171,7 +1322,7 @@ declare namespace gapi.client {
|
|
|
1171
1322
|
/** Required. Resource name for the secret required as a URL parameter. */
|
|
1172
1323
|
secret?: string;
|
|
1173
1324
|
/** Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. */
|
|
1174
|
-
state?:
|
|
1325
|
+
state?: 'STATE_UNSPECIFIED' | 'OK' | 'SECRET_DELETED';
|
|
1175
1326
|
}
|
|
1176
1327
|
interface WorkerConfig {
|
|
1177
1328
|
/** 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 +1348,13 @@ declare namespace gapi.client {
|
|
|
1197
1348
|
/** Private Pool configuration. */
|
|
1198
1349
|
privatePoolV1Config?: PrivatePoolV1Config;
|
|
1199
1350
|
/** Output only. `WorkerPool` state. */
|
|
1200
|
-
state?:
|
|
1351
|
+
state?:
|
|
1352
|
+
| 'STATE_UNSPECIFIED'
|
|
1353
|
+
| 'CREATING'
|
|
1354
|
+
| 'RUNNING'
|
|
1355
|
+
| 'DELETING'
|
|
1356
|
+
| 'DELETED'
|
|
1357
|
+
| 'UPDATING';
|
|
1201
1358
|
/** Output only. A unique identifier for the `WorkerPool`. */
|
|
1202
1359
|
uid?: string;
|
|
1203
1360
|
/** Output only. Time at which the request to update the `WorkerPool` was received. */
|
|
@@ -1207,11 +1364,11 @@ declare namespace gapi.client {
|
|
|
1207
1364
|
/** ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook. */
|
|
1208
1365
|
receive(request: {
|
|
1209
1366
|
/** V1 error format. */
|
|
1210
|
-
'$.xgafv'?:
|
|
1367
|
+
'$.xgafv'?: '1' | '2';
|
|
1211
1368
|
/** OAuth access token. */
|
|
1212
1369
|
access_token?: string;
|
|
1213
1370
|
/** Data format for response. */
|
|
1214
|
-
alt?:
|
|
1371
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1215
1372
|
/** JSONP */
|
|
1216
1373
|
callback?: string;
|
|
1217
1374
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1236,11 +1393,11 @@ declare namespace gapi.client {
|
|
|
1236
1393
|
receive(
|
|
1237
1394
|
request: {
|
|
1238
1395
|
/** V1 error format. */
|
|
1239
|
-
'$.xgafv'?:
|
|
1396
|
+
'$.xgafv'?: '1' | '2';
|
|
1240
1397
|
/** OAuth access token. */
|
|
1241
1398
|
access_token?: string;
|
|
1242
1399
|
/** Data format for response. */
|
|
1243
|
-
alt?:
|
|
1400
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1244
1401
|
/** JSONP */
|
|
1245
1402
|
callback?: string;
|
|
1246
1403
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1267,11 +1424,11 @@ declare namespace gapi.client {
|
|
|
1267
1424
|
/** ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook. */
|
|
1268
1425
|
regionalWebhook(request: {
|
|
1269
1426
|
/** V1 error format. */
|
|
1270
|
-
'$.xgafv'?:
|
|
1427
|
+
'$.xgafv'?: '1' | '2';
|
|
1271
1428
|
/** OAuth access token. */
|
|
1272
1429
|
access_token?: string;
|
|
1273
1430
|
/** Data format for response. */
|
|
1274
|
-
alt?:
|
|
1431
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1275
1432
|
/** JSONP */
|
|
1276
1433
|
callback?: string;
|
|
1277
1434
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1298,11 +1455,11 @@ declare namespace gapi.client {
|
|
|
1298
1455
|
regionalWebhook(
|
|
1299
1456
|
request: {
|
|
1300
1457
|
/** V1 error format. */
|
|
1301
|
-
'$.xgafv'?:
|
|
1458
|
+
'$.xgafv'?: '1' | '2';
|
|
1302
1459
|
/** OAuth access token. */
|
|
1303
1460
|
access_token?: string;
|
|
1304
1461
|
/** Data format for response. */
|
|
1305
|
-
alt?:
|
|
1462
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1306
1463
|
/** JSONP */
|
|
1307
1464
|
callback?: string;
|
|
1308
1465
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1331,11 +1488,11 @@ declare namespace gapi.client {
|
|
|
1331
1488
|
/** 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
1489
|
cancel(request: {
|
|
1333
1490
|
/** V1 error format. */
|
|
1334
|
-
'$.xgafv'?:
|
|
1491
|
+
'$.xgafv'?: '1' | '2';
|
|
1335
1492
|
/** OAuth access token. */
|
|
1336
1493
|
access_token?: string;
|
|
1337
1494
|
/** Data format for response. */
|
|
1338
|
-
alt?:
|
|
1495
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1339
1496
|
/** JSONP */
|
|
1340
1497
|
callback?: string;
|
|
1341
1498
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1360,11 +1517,11 @@ declare namespace gapi.client {
|
|
|
1360
1517
|
cancel(
|
|
1361
1518
|
request: {
|
|
1362
1519
|
/** V1 error format. */
|
|
1363
|
-
'$.xgafv'?:
|
|
1520
|
+
'$.xgafv'?: '1' | '2';
|
|
1364
1521
|
/** OAuth access token. */
|
|
1365
1522
|
access_token?: string;
|
|
1366
1523
|
/** Data format for response. */
|
|
1367
|
-
alt?:
|
|
1524
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1368
1525
|
/** JSONP */
|
|
1369
1526
|
callback?: string;
|
|
1370
1527
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1389,11 +1546,11 @@ declare namespace gapi.client {
|
|
|
1389
1546
|
/** 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
1547
|
get(request?: {
|
|
1391
1548
|
/** V1 error format. */
|
|
1392
|
-
'$.xgafv'?:
|
|
1549
|
+
'$.xgafv'?: '1' | '2';
|
|
1393
1550
|
/** OAuth access token. */
|
|
1394
1551
|
access_token?: string;
|
|
1395
1552
|
/** Data format for response. */
|
|
1396
|
-
alt?:
|
|
1553
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1397
1554
|
/** JSONP */
|
|
1398
1555
|
callback?: string;
|
|
1399
1556
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1418,11 +1575,11 @@ declare namespace gapi.client {
|
|
|
1418
1575
|
/** 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
1576
|
approve(request: {
|
|
1420
1577
|
/** V1 error format. */
|
|
1421
|
-
'$.xgafv'?:
|
|
1578
|
+
'$.xgafv'?: '1' | '2';
|
|
1422
1579
|
/** OAuth access token. */
|
|
1423
1580
|
access_token?: string;
|
|
1424
1581
|
/** Data format for response. */
|
|
1425
|
-
alt?:
|
|
1582
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1426
1583
|
/** JSONP */
|
|
1427
1584
|
callback?: string;
|
|
1428
1585
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1447,11 +1604,11 @@ declare namespace gapi.client {
|
|
|
1447
1604
|
approve(
|
|
1448
1605
|
request: {
|
|
1449
1606
|
/** V1 error format. */
|
|
1450
|
-
'$.xgafv'?:
|
|
1607
|
+
'$.xgafv'?: '1' | '2';
|
|
1451
1608
|
/** OAuth access token. */
|
|
1452
1609
|
access_token?: string;
|
|
1453
1610
|
/** Data format for response. */
|
|
1454
|
-
alt?:
|
|
1611
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1455
1612
|
/** JSONP */
|
|
1456
1613
|
callback?: string;
|
|
1457
1614
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1476,11 +1633,11 @@ declare namespace gapi.client {
|
|
|
1476
1633
|
/** Cancels a build in progress. */
|
|
1477
1634
|
cancel(request: {
|
|
1478
1635
|
/** V1 error format. */
|
|
1479
|
-
'$.xgafv'?:
|
|
1636
|
+
'$.xgafv'?: '1' | '2';
|
|
1480
1637
|
/** OAuth access token. */
|
|
1481
1638
|
access_token?: string;
|
|
1482
1639
|
/** Data format for response. */
|
|
1483
|
-
alt?:
|
|
1640
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1484
1641
|
/** JSONP */
|
|
1485
1642
|
callback?: string;
|
|
1486
1643
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1507,11 +1664,11 @@ declare namespace gapi.client {
|
|
|
1507
1664
|
cancel(
|
|
1508
1665
|
request: {
|
|
1509
1666
|
/** V1 error format. */
|
|
1510
|
-
'$.xgafv'?:
|
|
1667
|
+
'$.xgafv'?: '1' | '2';
|
|
1511
1668
|
/** OAuth access token. */
|
|
1512
1669
|
access_token?: string;
|
|
1513
1670
|
/** Data format for response. */
|
|
1514
|
-
alt?:
|
|
1671
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1515
1672
|
/** JSONP */
|
|
1516
1673
|
callback?: string;
|
|
1517
1674
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1538,11 +1695,11 @@ declare namespace gapi.client {
|
|
|
1538
1695
|
/** 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
1696
|
create(request: {
|
|
1540
1697
|
/** V1 error format. */
|
|
1541
|
-
'$.xgafv'?:
|
|
1698
|
+
'$.xgafv'?: '1' | '2';
|
|
1542
1699
|
/** OAuth access token. */
|
|
1543
1700
|
access_token?: string;
|
|
1544
1701
|
/** Data format for response. */
|
|
1545
|
-
alt?:
|
|
1702
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1546
1703
|
/** JSONP */
|
|
1547
1704
|
callback?: string;
|
|
1548
1705
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1569,11 +1726,11 @@ declare namespace gapi.client {
|
|
|
1569
1726
|
create(
|
|
1570
1727
|
request: {
|
|
1571
1728
|
/** V1 error format. */
|
|
1572
|
-
'$.xgafv'?:
|
|
1729
|
+
'$.xgafv'?: '1' | '2';
|
|
1573
1730
|
/** OAuth access token. */
|
|
1574
1731
|
access_token?: string;
|
|
1575
1732
|
/** Data format for response. */
|
|
1576
|
-
alt?:
|
|
1733
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1577
1734
|
/** JSONP */
|
|
1578
1735
|
callback?: string;
|
|
1579
1736
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1600,11 +1757,11 @@ declare namespace gapi.client {
|
|
|
1600
1757
|
/** 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
1758
|
get(request?: {
|
|
1602
1759
|
/** V1 error format. */
|
|
1603
|
-
'$.xgafv'?:
|
|
1760
|
+
'$.xgafv'?: '1' | '2';
|
|
1604
1761
|
/** OAuth access token. */
|
|
1605
1762
|
access_token?: string;
|
|
1606
1763
|
/** Data format for response. */
|
|
1607
|
-
alt?:
|
|
1764
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1608
1765
|
/** JSONP */
|
|
1609
1766
|
callback?: string;
|
|
1610
1767
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1631,11 +1788,11 @@ declare namespace gapi.client {
|
|
|
1631
1788
|
/** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
|
|
1632
1789
|
list(request?: {
|
|
1633
1790
|
/** V1 error format. */
|
|
1634
|
-
'$.xgafv'?:
|
|
1791
|
+
'$.xgafv'?: '1' | '2';
|
|
1635
1792
|
/** OAuth access token. */
|
|
1636
1793
|
access_token?: string;
|
|
1637
1794
|
/** Data format for response. */
|
|
1638
|
-
alt?:
|
|
1795
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1639
1796
|
/** JSONP */
|
|
1640
1797
|
callback?: string;
|
|
1641
1798
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1666,11 +1823,11 @@ declare namespace gapi.client {
|
|
|
1666
1823
|
/** 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
1824
|
retry(request: {
|
|
1668
1825
|
/** V1 error format. */
|
|
1669
|
-
'$.xgafv'?:
|
|
1826
|
+
'$.xgafv'?: '1' | '2';
|
|
1670
1827
|
/** OAuth access token. */
|
|
1671
1828
|
access_token?: string;
|
|
1672
1829
|
/** Data format for response. */
|
|
1673
|
-
alt?:
|
|
1830
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1674
1831
|
/** JSONP */
|
|
1675
1832
|
callback?: string;
|
|
1676
1833
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1697,11 +1854,11 @@ declare namespace gapi.client {
|
|
|
1697
1854
|
retry(
|
|
1698
1855
|
request: {
|
|
1699
1856
|
/** V1 error format. */
|
|
1700
|
-
'$.xgafv'?:
|
|
1857
|
+
'$.xgafv'?: '1' | '2';
|
|
1701
1858
|
/** OAuth access token. */
|
|
1702
1859
|
access_token?: string;
|
|
1703
1860
|
/** Data format for response. */
|
|
1704
|
-
alt?:
|
|
1861
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1705
1862
|
/** JSONP */
|
|
1706
1863
|
callback?: string;
|
|
1707
1864
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1730,11 +1887,11 @@ declare namespace gapi.client {
|
|
|
1730
1887
|
/** Create an association between a GCP project and a GitHub Enterprise server. */
|
|
1731
1888
|
create(request: {
|
|
1732
1889
|
/** V1 error format. */
|
|
1733
|
-
'$.xgafv'?:
|
|
1890
|
+
'$.xgafv'?: '1' | '2';
|
|
1734
1891
|
/** OAuth access token. */
|
|
1735
1892
|
access_token?: string;
|
|
1736
1893
|
/** Data format for response. */
|
|
1737
|
-
alt?:
|
|
1894
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1738
1895
|
/** JSONP */
|
|
1739
1896
|
callback?: string;
|
|
1740
1897
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1763,11 +1920,11 @@ declare namespace gapi.client {
|
|
|
1763
1920
|
create(
|
|
1764
1921
|
request: {
|
|
1765
1922
|
/** V1 error format. */
|
|
1766
|
-
'$.xgafv'?:
|
|
1923
|
+
'$.xgafv'?: '1' | '2';
|
|
1767
1924
|
/** OAuth access token. */
|
|
1768
1925
|
access_token?: string;
|
|
1769
1926
|
/** Data format for response. */
|
|
1770
|
-
alt?:
|
|
1927
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1771
1928
|
/** JSONP */
|
|
1772
1929
|
callback?: string;
|
|
1773
1930
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1796,11 +1953,11 @@ declare namespace gapi.client {
|
|
|
1796
1953
|
/** Delete an association between a GCP project and a GitHub Enterprise server. */
|
|
1797
1954
|
delete(request?: {
|
|
1798
1955
|
/** V1 error format. */
|
|
1799
|
-
'$.xgafv'?:
|
|
1956
|
+
'$.xgafv'?: '1' | '2';
|
|
1800
1957
|
/** OAuth access token. */
|
|
1801
1958
|
access_token?: string;
|
|
1802
1959
|
/** Data format for response. */
|
|
1803
|
-
alt?:
|
|
1960
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1804
1961
|
/** JSONP */
|
|
1805
1962
|
callback?: string;
|
|
1806
1963
|
/** Unique identifier of the `GitHubEnterpriseConfig` */
|
|
@@ -1827,11 +1984,11 @@ declare namespace gapi.client {
|
|
|
1827
1984
|
/** Retrieve a GitHubEnterpriseConfig. */
|
|
1828
1985
|
get(request?: {
|
|
1829
1986
|
/** V1 error format. */
|
|
1830
|
-
'$.xgafv'?:
|
|
1987
|
+
'$.xgafv'?: '1' | '2';
|
|
1831
1988
|
/** OAuth access token. */
|
|
1832
1989
|
access_token?: string;
|
|
1833
1990
|
/** Data format for response. */
|
|
1834
|
-
alt?:
|
|
1991
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1835
1992
|
/** JSONP */
|
|
1836
1993
|
callback?: string;
|
|
1837
1994
|
/** Unique identifier of the `GitHubEnterpriseConfig` */
|
|
@@ -1858,11 +2015,11 @@ declare namespace gapi.client {
|
|
|
1858
2015
|
/** List all GitHubEnterpriseConfigs for a given project. */
|
|
1859
2016
|
list(request?: {
|
|
1860
2017
|
/** V1 error format. */
|
|
1861
|
-
'$.xgafv'?:
|
|
2018
|
+
'$.xgafv'?: '1' | '2';
|
|
1862
2019
|
/** OAuth access token. */
|
|
1863
2020
|
access_token?: string;
|
|
1864
2021
|
/** Data format for response. */
|
|
1865
|
-
alt?:
|
|
2022
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1866
2023
|
/** JSONP */
|
|
1867
2024
|
callback?: string;
|
|
1868
2025
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1887,11 +2044,11 @@ declare namespace gapi.client {
|
|
|
1887
2044
|
/** Update an association between a GCP project and a GitHub Enterprise server. */
|
|
1888
2045
|
patch(request: {
|
|
1889
2046
|
/** V1 error format. */
|
|
1890
|
-
'$.xgafv'?:
|
|
2047
|
+
'$.xgafv'?: '1' | '2';
|
|
1891
2048
|
/** OAuth access token. */
|
|
1892
2049
|
access_token?: string;
|
|
1893
2050
|
/** Data format for response. */
|
|
1894
|
-
alt?:
|
|
2051
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1895
2052
|
/** JSONP */
|
|
1896
2053
|
callback?: string;
|
|
1897
2054
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1918,11 +2075,11 @@ declare namespace gapi.client {
|
|
|
1918
2075
|
patch(
|
|
1919
2076
|
request: {
|
|
1920
2077
|
/** V1 error format. */
|
|
1921
|
-
'$.xgafv'?:
|
|
2078
|
+
'$.xgafv'?: '1' | '2';
|
|
1922
2079
|
/** OAuth access token. */
|
|
1923
2080
|
access_token?: string;
|
|
1924
2081
|
/** Data format for response. */
|
|
1925
|
-
alt?:
|
|
2082
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1926
2083
|
/** JSONP */
|
|
1927
2084
|
callback?: string;
|
|
1928
2085
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1951,11 +2108,11 @@ declare namespace gapi.client {
|
|
|
1951
2108
|
/** Batch connecting Bitbucket Server repositories to Cloud Build. */
|
|
1952
2109
|
batchCreate(request: {
|
|
1953
2110
|
/** V1 error format. */
|
|
1954
|
-
'$.xgafv'?:
|
|
2111
|
+
'$.xgafv'?: '1' | '2';
|
|
1955
2112
|
/** OAuth access token. */
|
|
1956
2113
|
access_token?: string;
|
|
1957
2114
|
/** Data format for response. */
|
|
1958
|
-
alt?:
|
|
2115
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1959
2116
|
/** JSONP */
|
|
1960
2117
|
callback?: string;
|
|
1961
2118
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1980,11 +2137,11 @@ declare namespace gapi.client {
|
|
|
1980
2137
|
batchCreate(
|
|
1981
2138
|
request: {
|
|
1982
2139
|
/** V1 error format. */
|
|
1983
|
-
'$.xgafv'?:
|
|
2140
|
+
'$.xgafv'?: '1' | '2';
|
|
1984
2141
|
/** OAuth access token. */
|
|
1985
2142
|
access_token?: string;
|
|
1986
2143
|
/** Data format for response. */
|
|
1987
|
-
alt?:
|
|
2144
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1988
2145
|
/** JSONP */
|
|
1989
2146
|
callback?: string;
|
|
1990
2147
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2011,11 +2168,11 @@ declare namespace gapi.client {
|
|
|
2011
2168
|
/** List all repositories for a given `BitbucketServerConfig`. This API is experimental. */
|
|
2012
2169
|
list(request?: {
|
|
2013
2170
|
/** V1 error format. */
|
|
2014
|
-
'$.xgafv'?:
|
|
2171
|
+
'$.xgafv'?: '1' | '2';
|
|
2015
2172
|
/** OAuth access token. */
|
|
2016
2173
|
access_token?: string;
|
|
2017
2174
|
/** Data format for response. */
|
|
2018
|
-
alt?:
|
|
2175
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2019
2176
|
/** JSONP */
|
|
2020
2177
|
callback?: string;
|
|
2021
2178
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2044,11 +2201,11 @@ declare namespace gapi.client {
|
|
|
2044
2201
|
/** Creates a new `BitbucketServerConfig`. This API is experimental. */
|
|
2045
2202
|
create(request: {
|
|
2046
2203
|
/** V1 error format. */
|
|
2047
|
-
'$.xgafv'?:
|
|
2204
|
+
'$.xgafv'?: '1' | '2';
|
|
2048
2205
|
/** OAuth access token. */
|
|
2049
2206
|
access_token?: string;
|
|
2050
2207
|
/** Data format for response. */
|
|
2051
|
-
alt?:
|
|
2208
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2052
2209
|
/** 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
2210
|
bitbucketServerConfigId?: string;
|
|
2054
2211
|
/** JSONP */
|
|
@@ -2075,11 +2232,11 @@ declare namespace gapi.client {
|
|
|
2075
2232
|
create(
|
|
2076
2233
|
request: {
|
|
2077
2234
|
/** V1 error format. */
|
|
2078
|
-
'$.xgafv'?:
|
|
2235
|
+
'$.xgafv'?: '1' | '2';
|
|
2079
2236
|
/** OAuth access token. */
|
|
2080
2237
|
access_token?: string;
|
|
2081
2238
|
/** Data format for response. */
|
|
2082
|
-
alt?:
|
|
2239
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2083
2240
|
/** 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
2241
|
bitbucketServerConfigId?: string;
|
|
2085
2242
|
/** JSONP */
|
|
@@ -2106,11 +2263,11 @@ declare namespace gapi.client {
|
|
|
2106
2263
|
/** Delete a `BitbucketServerConfig`. This API is experimental. */
|
|
2107
2264
|
delete(request?: {
|
|
2108
2265
|
/** V1 error format. */
|
|
2109
|
-
'$.xgafv'?:
|
|
2266
|
+
'$.xgafv'?: '1' | '2';
|
|
2110
2267
|
/** OAuth access token. */
|
|
2111
2268
|
access_token?: string;
|
|
2112
2269
|
/** Data format for response. */
|
|
2113
|
-
alt?:
|
|
2270
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2114
2271
|
/** JSONP */
|
|
2115
2272
|
callback?: string;
|
|
2116
2273
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2133,11 +2290,11 @@ declare namespace gapi.client {
|
|
|
2133
2290
|
/** Retrieve a `BitbucketServerConfig`. This API is experimental. */
|
|
2134
2291
|
get(request?: {
|
|
2135
2292
|
/** V1 error format. */
|
|
2136
|
-
'$.xgafv'?:
|
|
2293
|
+
'$.xgafv'?: '1' | '2';
|
|
2137
2294
|
/** OAuth access token. */
|
|
2138
2295
|
access_token?: string;
|
|
2139
2296
|
/** Data format for response. */
|
|
2140
|
-
alt?:
|
|
2297
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2141
2298
|
/** JSONP */
|
|
2142
2299
|
callback?: string;
|
|
2143
2300
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2160,11 +2317,11 @@ declare namespace gapi.client {
|
|
|
2160
2317
|
/** List all `BitbucketServerConfigs` for a given project. This API is experimental. */
|
|
2161
2318
|
list(request?: {
|
|
2162
2319
|
/** V1 error format. */
|
|
2163
|
-
'$.xgafv'?:
|
|
2320
|
+
'$.xgafv'?: '1' | '2';
|
|
2164
2321
|
/** OAuth access token. */
|
|
2165
2322
|
access_token?: string;
|
|
2166
2323
|
/** Data format for response. */
|
|
2167
|
-
alt?:
|
|
2324
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2168
2325
|
/** JSONP */
|
|
2169
2326
|
callback?: string;
|
|
2170
2327
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2191,11 +2348,11 @@ declare namespace gapi.client {
|
|
|
2191
2348
|
/** Updates an existing `BitbucketServerConfig`. This API is experimental. */
|
|
2192
2349
|
patch(request: {
|
|
2193
2350
|
/** V1 error format. */
|
|
2194
|
-
'$.xgafv'?:
|
|
2351
|
+
'$.xgafv'?: '1' | '2';
|
|
2195
2352
|
/** OAuth access token. */
|
|
2196
2353
|
access_token?: string;
|
|
2197
2354
|
/** Data format for response. */
|
|
2198
|
-
alt?:
|
|
2355
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2199
2356
|
/** JSONP */
|
|
2200
2357
|
callback?: string;
|
|
2201
2358
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2222,11 +2379,11 @@ declare namespace gapi.client {
|
|
|
2222
2379
|
patch(
|
|
2223
2380
|
request: {
|
|
2224
2381
|
/** V1 error format. */
|
|
2225
|
-
'$.xgafv'?:
|
|
2382
|
+
'$.xgafv'?: '1' | '2';
|
|
2226
2383
|
/** OAuth access token. */
|
|
2227
2384
|
access_token?: string;
|
|
2228
2385
|
/** Data format for response. */
|
|
2229
|
-
alt?:
|
|
2386
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2230
2387
|
/** JSONP */
|
|
2231
2388
|
callback?: string;
|
|
2232
2389
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2253,11 +2410,11 @@ declare namespace gapi.client {
|
|
|
2253
2410
|
/** Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental. */
|
|
2254
2411
|
removeBitbucketServerConnectedRepository(request: {
|
|
2255
2412
|
/** V1 error format. */
|
|
2256
|
-
'$.xgafv'?:
|
|
2413
|
+
'$.xgafv'?: '1' | '2';
|
|
2257
2414
|
/** OAuth access token. */
|
|
2258
2415
|
access_token?: string;
|
|
2259
2416
|
/** Data format for response. */
|
|
2260
|
-
alt?:
|
|
2417
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2261
2418
|
/** JSONP */
|
|
2262
2419
|
callback?: string;
|
|
2263
2420
|
/** Required. The name of the `BitbucketServerConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}` */
|
|
@@ -2282,11 +2439,11 @@ declare namespace gapi.client {
|
|
|
2282
2439
|
removeBitbucketServerConnectedRepository(
|
|
2283
2440
|
request: {
|
|
2284
2441
|
/** V1 error format. */
|
|
2285
|
-
'$.xgafv'?:
|
|
2442
|
+
'$.xgafv'?: '1' | '2';
|
|
2286
2443
|
/** OAuth access token. */
|
|
2287
2444
|
access_token?: string;
|
|
2288
2445
|
/** Data format for response. */
|
|
2289
|
-
alt?:
|
|
2446
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2290
2447
|
/** JSONP */
|
|
2291
2448
|
callback?: string;
|
|
2292
2449
|
/** Required. The name of the `BitbucketServerConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}` */
|
|
@@ -2315,11 +2472,11 @@ declare namespace gapi.client {
|
|
|
2315
2472
|
/** 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
2473
|
approve(request: {
|
|
2317
2474
|
/** V1 error format. */
|
|
2318
|
-
'$.xgafv'?:
|
|
2475
|
+
'$.xgafv'?: '1' | '2';
|
|
2319
2476
|
/** OAuth access token. */
|
|
2320
2477
|
access_token?: string;
|
|
2321
2478
|
/** Data format for response. */
|
|
2322
|
-
alt?:
|
|
2479
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2323
2480
|
/** JSONP */
|
|
2324
2481
|
callback?: string;
|
|
2325
2482
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2344,11 +2501,11 @@ declare namespace gapi.client {
|
|
|
2344
2501
|
approve(
|
|
2345
2502
|
request: {
|
|
2346
2503
|
/** V1 error format. */
|
|
2347
|
-
'$.xgafv'?:
|
|
2504
|
+
'$.xgafv'?: '1' | '2';
|
|
2348
2505
|
/** OAuth access token. */
|
|
2349
2506
|
access_token?: string;
|
|
2350
2507
|
/** Data format for response. */
|
|
2351
|
-
alt?:
|
|
2508
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2352
2509
|
/** JSONP */
|
|
2353
2510
|
callback?: string;
|
|
2354
2511
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2373,11 +2530,11 @@ declare namespace gapi.client {
|
|
|
2373
2530
|
/** Cancels a build in progress. */
|
|
2374
2531
|
cancel(request: {
|
|
2375
2532
|
/** V1 error format. */
|
|
2376
|
-
'$.xgafv'?:
|
|
2533
|
+
'$.xgafv'?: '1' | '2';
|
|
2377
2534
|
/** OAuth access token. */
|
|
2378
2535
|
access_token?: string;
|
|
2379
2536
|
/** Data format for response. */
|
|
2380
|
-
alt?:
|
|
2537
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2381
2538
|
/** JSONP */
|
|
2382
2539
|
callback?: string;
|
|
2383
2540
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2402,11 +2559,11 @@ declare namespace gapi.client {
|
|
|
2402
2559
|
cancel(
|
|
2403
2560
|
request: {
|
|
2404
2561
|
/** V1 error format. */
|
|
2405
|
-
'$.xgafv'?:
|
|
2562
|
+
'$.xgafv'?: '1' | '2';
|
|
2406
2563
|
/** OAuth access token. */
|
|
2407
2564
|
access_token?: string;
|
|
2408
2565
|
/** Data format for response. */
|
|
2409
|
-
alt?:
|
|
2566
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2410
2567
|
/** JSONP */
|
|
2411
2568
|
callback?: string;
|
|
2412
2569
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2431,11 +2588,11 @@ declare namespace gapi.client {
|
|
|
2431
2588
|
/** 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
2589
|
create(request: {
|
|
2433
2590
|
/** V1 error format. */
|
|
2434
|
-
'$.xgafv'?:
|
|
2591
|
+
'$.xgafv'?: '1' | '2';
|
|
2435
2592
|
/** OAuth access token. */
|
|
2436
2593
|
access_token?: string;
|
|
2437
2594
|
/** Data format for response. */
|
|
2438
|
-
alt?:
|
|
2595
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2439
2596
|
/** JSONP */
|
|
2440
2597
|
callback?: string;
|
|
2441
2598
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2462,11 +2619,11 @@ declare namespace gapi.client {
|
|
|
2462
2619
|
create(
|
|
2463
2620
|
request: {
|
|
2464
2621
|
/** V1 error format. */
|
|
2465
|
-
'$.xgafv'?:
|
|
2622
|
+
'$.xgafv'?: '1' | '2';
|
|
2466
2623
|
/** OAuth access token. */
|
|
2467
2624
|
access_token?: string;
|
|
2468
2625
|
/** Data format for response. */
|
|
2469
|
-
alt?:
|
|
2626
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2470
2627
|
/** JSONP */
|
|
2471
2628
|
callback?: string;
|
|
2472
2629
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2493,11 +2650,11 @@ declare namespace gapi.client {
|
|
|
2493
2650
|
/** 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
2651
|
get(request?: {
|
|
2495
2652
|
/** V1 error format. */
|
|
2496
|
-
'$.xgafv'?:
|
|
2653
|
+
'$.xgafv'?: '1' | '2';
|
|
2497
2654
|
/** OAuth access token. */
|
|
2498
2655
|
access_token?: string;
|
|
2499
2656
|
/** Data format for response. */
|
|
2500
|
-
alt?:
|
|
2657
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2501
2658
|
/** JSONP */
|
|
2502
2659
|
callback?: string;
|
|
2503
2660
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2524,11 +2681,11 @@ declare namespace gapi.client {
|
|
|
2524
2681
|
/** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
|
|
2525
2682
|
list(request?: {
|
|
2526
2683
|
/** V1 error format. */
|
|
2527
|
-
'$.xgafv'?:
|
|
2684
|
+
'$.xgafv'?: '1' | '2';
|
|
2528
2685
|
/** OAuth access token. */
|
|
2529
2686
|
access_token?: string;
|
|
2530
2687
|
/** Data format for response. */
|
|
2531
|
-
alt?:
|
|
2688
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2532
2689
|
/** JSONP */
|
|
2533
2690
|
callback?: string;
|
|
2534
2691
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2559,11 +2716,11 @@ declare namespace gapi.client {
|
|
|
2559
2716
|
/** 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
2717
|
retry(request: {
|
|
2561
2718
|
/** V1 error format. */
|
|
2562
|
-
'$.xgafv'?:
|
|
2719
|
+
'$.xgafv'?: '1' | '2';
|
|
2563
2720
|
/** OAuth access token. */
|
|
2564
2721
|
access_token?: string;
|
|
2565
2722
|
/** Data format for response. */
|
|
2566
|
-
alt?:
|
|
2723
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2567
2724
|
/** JSONP */
|
|
2568
2725
|
callback?: string;
|
|
2569
2726
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2588,11 +2745,11 @@ declare namespace gapi.client {
|
|
|
2588
2745
|
retry(
|
|
2589
2746
|
request: {
|
|
2590
2747
|
/** V1 error format. */
|
|
2591
|
-
'$.xgafv'?:
|
|
2748
|
+
'$.xgafv'?: '1' | '2';
|
|
2592
2749
|
/** OAuth access token. */
|
|
2593
2750
|
access_token?: string;
|
|
2594
2751
|
/** Data format for response. */
|
|
2595
|
-
alt?:
|
|
2752
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2596
2753
|
/** JSONP */
|
|
2597
2754
|
callback?: string;
|
|
2598
2755
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2619,11 +2776,11 @@ declare namespace gapi.client {
|
|
|
2619
2776
|
/** Create an association between a GCP project and a GitHub Enterprise server. */
|
|
2620
2777
|
create(request: {
|
|
2621
2778
|
/** V1 error format. */
|
|
2622
|
-
'$.xgafv'?:
|
|
2779
|
+
'$.xgafv'?: '1' | '2';
|
|
2623
2780
|
/** OAuth access token. */
|
|
2624
2781
|
access_token?: string;
|
|
2625
2782
|
/** Data format for response. */
|
|
2626
|
-
alt?:
|
|
2783
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2627
2784
|
/** JSONP */
|
|
2628
2785
|
callback?: string;
|
|
2629
2786
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2652,11 +2809,11 @@ declare namespace gapi.client {
|
|
|
2652
2809
|
create(
|
|
2653
2810
|
request: {
|
|
2654
2811
|
/** V1 error format. */
|
|
2655
|
-
'$.xgafv'?:
|
|
2812
|
+
'$.xgafv'?: '1' | '2';
|
|
2656
2813
|
/** OAuth access token. */
|
|
2657
2814
|
access_token?: string;
|
|
2658
2815
|
/** Data format for response. */
|
|
2659
|
-
alt?:
|
|
2816
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2660
2817
|
/** JSONP */
|
|
2661
2818
|
callback?: string;
|
|
2662
2819
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2685,11 +2842,11 @@ declare namespace gapi.client {
|
|
|
2685
2842
|
/** Delete an association between a GCP project and a GitHub Enterprise server. */
|
|
2686
2843
|
delete(request?: {
|
|
2687
2844
|
/** V1 error format. */
|
|
2688
|
-
'$.xgafv'?:
|
|
2845
|
+
'$.xgafv'?: '1' | '2';
|
|
2689
2846
|
/** OAuth access token. */
|
|
2690
2847
|
access_token?: string;
|
|
2691
2848
|
/** Data format for response. */
|
|
2692
|
-
alt?:
|
|
2849
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2693
2850
|
/** JSONP */
|
|
2694
2851
|
callback?: string;
|
|
2695
2852
|
/** Unique identifier of the `GitHubEnterpriseConfig` */
|
|
@@ -2716,11 +2873,11 @@ declare namespace gapi.client {
|
|
|
2716
2873
|
/** Retrieve a GitHubEnterpriseConfig. */
|
|
2717
2874
|
get(request?: {
|
|
2718
2875
|
/** V1 error format. */
|
|
2719
|
-
'$.xgafv'?:
|
|
2876
|
+
'$.xgafv'?: '1' | '2';
|
|
2720
2877
|
/** OAuth access token. */
|
|
2721
2878
|
access_token?: string;
|
|
2722
2879
|
/** Data format for response. */
|
|
2723
|
-
alt?:
|
|
2880
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2724
2881
|
/** JSONP */
|
|
2725
2882
|
callback?: string;
|
|
2726
2883
|
/** Unique identifier of the `GitHubEnterpriseConfig` */
|
|
@@ -2747,11 +2904,11 @@ declare namespace gapi.client {
|
|
|
2747
2904
|
/** List all GitHubEnterpriseConfigs for a given project. */
|
|
2748
2905
|
list(request?: {
|
|
2749
2906
|
/** V1 error format. */
|
|
2750
|
-
'$.xgafv'?:
|
|
2907
|
+
'$.xgafv'?: '1' | '2';
|
|
2751
2908
|
/** OAuth access token. */
|
|
2752
2909
|
access_token?: string;
|
|
2753
2910
|
/** Data format for response. */
|
|
2754
|
-
alt?:
|
|
2911
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2755
2912
|
/** JSONP */
|
|
2756
2913
|
callback?: string;
|
|
2757
2914
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2776,11 +2933,11 @@ declare namespace gapi.client {
|
|
|
2776
2933
|
/** Update an association between a GCP project and a GitHub Enterprise server. */
|
|
2777
2934
|
patch(request: {
|
|
2778
2935
|
/** V1 error format. */
|
|
2779
|
-
'$.xgafv'?:
|
|
2936
|
+
'$.xgafv'?: '1' | '2';
|
|
2780
2937
|
/** OAuth access token. */
|
|
2781
2938
|
access_token?: string;
|
|
2782
2939
|
/** Data format for response. */
|
|
2783
|
-
alt?:
|
|
2940
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2784
2941
|
/** JSONP */
|
|
2785
2942
|
callback?: string;
|
|
2786
2943
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2807,11 +2964,11 @@ declare namespace gapi.client {
|
|
|
2807
2964
|
patch(
|
|
2808
2965
|
request: {
|
|
2809
2966
|
/** V1 error format. */
|
|
2810
|
-
'$.xgafv'?:
|
|
2967
|
+
'$.xgafv'?: '1' | '2';
|
|
2811
2968
|
/** OAuth access token. */
|
|
2812
2969
|
access_token?: string;
|
|
2813
2970
|
/** Data format for response. */
|
|
2814
|
-
alt?:
|
|
2971
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2815
2972
|
/** JSONP */
|
|
2816
2973
|
callback?: string;
|
|
2817
2974
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2840,11 +2997,11 @@ declare namespace gapi.client {
|
|
|
2840
2997
|
/** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */
|
|
2841
2998
|
batchCreate(request: {
|
|
2842
2999
|
/** V1 error format. */
|
|
2843
|
-
'$.xgafv'?:
|
|
3000
|
+
'$.xgafv'?: '1' | '2';
|
|
2844
3001
|
/** OAuth access token. */
|
|
2845
3002
|
access_token?: string;
|
|
2846
3003
|
/** Data format for response. */
|
|
2847
|
-
alt?:
|
|
3004
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2848
3005
|
/** JSONP */
|
|
2849
3006
|
callback?: string;
|
|
2850
3007
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2869,11 +3026,11 @@ declare namespace gapi.client {
|
|
|
2869
3026
|
batchCreate(
|
|
2870
3027
|
request: {
|
|
2871
3028
|
/** V1 error format. */
|
|
2872
|
-
'$.xgafv'?:
|
|
3029
|
+
'$.xgafv'?: '1' | '2';
|
|
2873
3030
|
/** OAuth access token. */
|
|
2874
3031
|
access_token?: string;
|
|
2875
3032
|
/** Data format for response. */
|
|
2876
|
-
alt?:
|
|
3033
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2877
3034
|
/** JSONP */
|
|
2878
3035
|
callback?: string;
|
|
2879
3036
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2900,11 +3057,11 @@ declare namespace gapi.client {
|
|
|
2900
3057
|
/** List all repositories for a given `GitLabConfig`. This API is experimental */
|
|
2901
3058
|
list(request?: {
|
|
2902
3059
|
/** V1 error format. */
|
|
2903
|
-
'$.xgafv'?:
|
|
3060
|
+
'$.xgafv'?: '1' | '2';
|
|
2904
3061
|
/** OAuth access token. */
|
|
2905
3062
|
access_token?: string;
|
|
2906
3063
|
/** Data format for response. */
|
|
2907
|
-
alt?:
|
|
3064
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2908
3065
|
/** JSONP */
|
|
2909
3066
|
callback?: string;
|
|
2910
3067
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2933,11 +3090,11 @@ declare namespace gapi.client {
|
|
|
2933
3090
|
/** Creates a new `GitLabConfig`. This API is experimental */
|
|
2934
3091
|
create(request: {
|
|
2935
3092
|
/** V1 error format. */
|
|
2936
|
-
'$.xgafv'?:
|
|
3093
|
+
'$.xgafv'?: '1' | '2';
|
|
2937
3094
|
/** OAuth access token. */
|
|
2938
3095
|
access_token?: string;
|
|
2939
3096
|
/** Data format for response. */
|
|
2940
|
-
alt?:
|
|
3097
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2941
3098
|
/** JSONP */
|
|
2942
3099
|
callback?: string;
|
|
2943
3100
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2964,11 +3121,11 @@ declare namespace gapi.client {
|
|
|
2964
3121
|
create(
|
|
2965
3122
|
request: {
|
|
2966
3123
|
/** V1 error format. */
|
|
2967
|
-
'$.xgafv'?:
|
|
3124
|
+
'$.xgafv'?: '1' | '2';
|
|
2968
3125
|
/** OAuth access token. */
|
|
2969
3126
|
access_token?: string;
|
|
2970
3127
|
/** Data format for response. */
|
|
2971
|
-
alt?:
|
|
3128
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2972
3129
|
/** JSONP */
|
|
2973
3130
|
callback?: string;
|
|
2974
3131
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2995,11 +3152,11 @@ declare namespace gapi.client {
|
|
|
2995
3152
|
/** Delete a `GitLabConfig`. This API is experimental */
|
|
2996
3153
|
delete(request?: {
|
|
2997
3154
|
/** V1 error format. */
|
|
2998
|
-
'$.xgafv'?:
|
|
3155
|
+
'$.xgafv'?: '1' | '2';
|
|
2999
3156
|
/** OAuth access token. */
|
|
3000
3157
|
access_token?: string;
|
|
3001
3158
|
/** Data format for response. */
|
|
3002
|
-
alt?:
|
|
3159
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3003
3160
|
/** JSONP */
|
|
3004
3161
|
callback?: string;
|
|
3005
3162
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3022,11 +3179,11 @@ declare namespace gapi.client {
|
|
|
3022
3179
|
/** Retrieves a `GitLabConfig`. This API is experimental */
|
|
3023
3180
|
get(request?: {
|
|
3024
3181
|
/** V1 error format. */
|
|
3025
|
-
'$.xgafv'?:
|
|
3182
|
+
'$.xgafv'?: '1' | '2';
|
|
3026
3183
|
/** OAuth access token. */
|
|
3027
3184
|
access_token?: string;
|
|
3028
3185
|
/** Data format for response. */
|
|
3029
|
-
alt?:
|
|
3186
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3030
3187
|
/** JSONP */
|
|
3031
3188
|
callback?: string;
|
|
3032
3189
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3049,11 +3206,11 @@ declare namespace gapi.client {
|
|
|
3049
3206
|
/** List all `GitLabConfigs` for a given project. This API is experimental */
|
|
3050
3207
|
list(request?: {
|
|
3051
3208
|
/** V1 error format. */
|
|
3052
|
-
'$.xgafv'?:
|
|
3209
|
+
'$.xgafv'?: '1' | '2';
|
|
3053
3210
|
/** OAuth access token. */
|
|
3054
3211
|
access_token?: string;
|
|
3055
3212
|
/** Data format for response. */
|
|
3056
|
-
alt?:
|
|
3213
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3057
3214
|
/** JSONP */
|
|
3058
3215
|
callback?: string;
|
|
3059
3216
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3080,11 +3237,11 @@ declare namespace gapi.client {
|
|
|
3080
3237
|
/** Updates an existing `GitLabConfig`. This API is experimental */
|
|
3081
3238
|
patch(request: {
|
|
3082
3239
|
/** V1 error format. */
|
|
3083
|
-
'$.xgafv'?:
|
|
3240
|
+
'$.xgafv'?: '1' | '2';
|
|
3084
3241
|
/** OAuth access token. */
|
|
3085
3242
|
access_token?: string;
|
|
3086
3243
|
/** Data format for response. */
|
|
3087
|
-
alt?:
|
|
3244
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3088
3245
|
/** JSONP */
|
|
3089
3246
|
callback?: string;
|
|
3090
3247
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3111,11 +3268,11 @@ declare namespace gapi.client {
|
|
|
3111
3268
|
patch(
|
|
3112
3269
|
request: {
|
|
3113
3270
|
/** V1 error format. */
|
|
3114
|
-
'$.xgafv'?:
|
|
3271
|
+
'$.xgafv'?: '1' | '2';
|
|
3115
3272
|
/** OAuth access token. */
|
|
3116
3273
|
access_token?: string;
|
|
3117
3274
|
/** Data format for response. */
|
|
3118
|
-
alt?:
|
|
3275
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3119
3276
|
/** JSONP */
|
|
3120
3277
|
callback?: string;
|
|
3121
3278
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3142,11 +3299,11 @@ declare namespace gapi.client {
|
|
|
3142
3299
|
/** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */
|
|
3143
3300
|
removeGitLabConnectedRepository(request: {
|
|
3144
3301
|
/** V1 error format. */
|
|
3145
|
-
'$.xgafv'?:
|
|
3302
|
+
'$.xgafv'?: '1' | '2';
|
|
3146
3303
|
/** OAuth access token. */
|
|
3147
3304
|
access_token?: string;
|
|
3148
3305
|
/** Data format for response. */
|
|
3149
|
-
alt?:
|
|
3306
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3150
3307
|
/** JSONP */
|
|
3151
3308
|
callback?: string;
|
|
3152
3309
|
/** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
@@ -3171,11 +3328,11 @@ declare namespace gapi.client {
|
|
|
3171
3328
|
removeGitLabConnectedRepository(
|
|
3172
3329
|
request: {
|
|
3173
3330
|
/** V1 error format. */
|
|
3174
|
-
'$.xgafv'?:
|
|
3331
|
+
'$.xgafv'?: '1' | '2';
|
|
3175
3332
|
/** OAuth access token. */
|
|
3176
3333
|
access_token?: string;
|
|
3177
3334
|
/** Data format for response. */
|
|
3178
|
-
alt?:
|
|
3335
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3179
3336
|
/** JSONP */
|
|
3180
3337
|
callback?: string;
|
|
3181
3338
|
/** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
@@ -3204,11 +3361,11 @@ declare namespace gapi.client {
|
|
|
3204
3361
|
/** 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
3362
|
cancel(request: {
|
|
3206
3363
|
/** V1 error format. */
|
|
3207
|
-
'$.xgafv'?:
|
|
3364
|
+
'$.xgafv'?: '1' | '2';
|
|
3208
3365
|
/** OAuth access token. */
|
|
3209
3366
|
access_token?: string;
|
|
3210
3367
|
/** Data format for response. */
|
|
3211
|
-
alt?:
|
|
3368
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3212
3369
|
/** JSONP */
|
|
3213
3370
|
callback?: string;
|
|
3214
3371
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3233,11 +3390,11 @@ declare namespace gapi.client {
|
|
|
3233
3390
|
cancel(
|
|
3234
3391
|
request: {
|
|
3235
3392
|
/** V1 error format. */
|
|
3236
|
-
'$.xgafv'?:
|
|
3393
|
+
'$.xgafv'?: '1' | '2';
|
|
3237
3394
|
/** OAuth access token. */
|
|
3238
3395
|
access_token?: string;
|
|
3239
3396
|
/** Data format for response. */
|
|
3240
|
-
alt?:
|
|
3397
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3241
3398
|
/** JSONP */
|
|
3242
3399
|
callback?: string;
|
|
3243
3400
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3262,11 +3419,11 @@ declare namespace gapi.client {
|
|
|
3262
3419
|
/** 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
3420
|
get(request?: {
|
|
3264
3421
|
/** V1 error format. */
|
|
3265
|
-
'$.xgafv'?:
|
|
3422
|
+
'$.xgafv'?: '1' | '2';
|
|
3266
3423
|
/** OAuth access token. */
|
|
3267
3424
|
access_token?: string;
|
|
3268
3425
|
/** Data format for response. */
|
|
3269
|
-
alt?:
|
|
3426
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3270
3427
|
/** JSONP */
|
|
3271
3428
|
callback?: string;
|
|
3272
3429
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3291,11 +3448,11 @@ declare namespace gapi.client {
|
|
|
3291
3448
|
/** Creates a new `BuildTrigger`. */
|
|
3292
3449
|
create(request: {
|
|
3293
3450
|
/** V1 error format. */
|
|
3294
|
-
'$.xgafv'?:
|
|
3451
|
+
'$.xgafv'?: '1' | '2';
|
|
3295
3452
|
/** OAuth access token. */
|
|
3296
3453
|
access_token?: string;
|
|
3297
3454
|
/** Data format for response. */
|
|
3298
|
-
alt?:
|
|
3455
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3299
3456
|
/** JSONP */
|
|
3300
3457
|
callback?: string;
|
|
3301
3458
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3322,11 +3479,11 @@ declare namespace gapi.client {
|
|
|
3322
3479
|
create(
|
|
3323
3480
|
request: {
|
|
3324
3481
|
/** V1 error format. */
|
|
3325
|
-
'$.xgafv'?:
|
|
3482
|
+
'$.xgafv'?: '1' | '2';
|
|
3326
3483
|
/** OAuth access token. */
|
|
3327
3484
|
access_token?: string;
|
|
3328
3485
|
/** Data format for response. */
|
|
3329
|
-
alt?:
|
|
3486
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3330
3487
|
/** JSONP */
|
|
3331
3488
|
callback?: string;
|
|
3332
3489
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3353,11 +3510,11 @@ declare namespace gapi.client {
|
|
|
3353
3510
|
/** Deletes a `BuildTrigger` by its project ID and trigger ID. */
|
|
3354
3511
|
delete(request?: {
|
|
3355
3512
|
/** V1 error format. */
|
|
3356
|
-
'$.xgafv'?:
|
|
3513
|
+
'$.xgafv'?: '1' | '2';
|
|
3357
3514
|
/** OAuth access token. */
|
|
3358
3515
|
access_token?: string;
|
|
3359
3516
|
/** Data format for response. */
|
|
3360
|
-
alt?:
|
|
3517
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3361
3518
|
/** JSONP */
|
|
3362
3519
|
callback?: string;
|
|
3363
3520
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3384,11 +3541,11 @@ declare namespace gapi.client {
|
|
|
3384
3541
|
/** Returns information about a `BuildTrigger`. */
|
|
3385
3542
|
get(request?: {
|
|
3386
3543
|
/** V1 error format. */
|
|
3387
|
-
'$.xgafv'?:
|
|
3544
|
+
'$.xgafv'?: '1' | '2';
|
|
3388
3545
|
/** OAuth access token. */
|
|
3389
3546
|
access_token?: string;
|
|
3390
3547
|
/** Data format for response. */
|
|
3391
|
-
alt?:
|
|
3548
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3392
3549
|
/** JSONP */
|
|
3393
3550
|
callback?: string;
|
|
3394
3551
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3415,11 +3572,11 @@ declare namespace gapi.client {
|
|
|
3415
3572
|
/** Lists existing `BuildTrigger`s. */
|
|
3416
3573
|
list(request?: {
|
|
3417
3574
|
/** V1 error format. */
|
|
3418
|
-
'$.xgafv'?:
|
|
3575
|
+
'$.xgafv'?: '1' | '2';
|
|
3419
3576
|
/** OAuth access token. */
|
|
3420
3577
|
access_token?: string;
|
|
3421
3578
|
/** Data format for response. */
|
|
3422
|
-
alt?:
|
|
3579
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3423
3580
|
/** JSONP */
|
|
3424
3581
|
callback?: string;
|
|
3425
3582
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3448,11 +3605,11 @@ declare namespace gapi.client {
|
|
|
3448
3605
|
/** Updates a `BuildTrigger` by its project ID and trigger ID. */
|
|
3449
3606
|
patch(request: {
|
|
3450
3607
|
/** V1 error format. */
|
|
3451
|
-
'$.xgafv'?:
|
|
3608
|
+
'$.xgafv'?: '1' | '2';
|
|
3452
3609
|
/** OAuth access token. */
|
|
3453
3610
|
access_token?: string;
|
|
3454
3611
|
/** Data format for response. */
|
|
3455
|
-
alt?:
|
|
3612
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3456
3613
|
/** JSONP */
|
|
3457
3614
|
callback?: string;
|
|
3458
3615
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3483,11 +3640,11 @@ declare namespace gapi.client {
|
|
|
3483
3640
|
patch(
|
|
3484
3641
|
request: {
|
|
3485
3642
|
/** V1 error format. */
|
|
3486
|
-
'$.xgafv'?:
|
|
3643
|
+
'$.xgafv'?: '1' | '2';
|
|
3487
3644
|
/** OAuth access token. */
|
|
3488
3645
|
access_token?: string;
|
|
3489
3646
|
/** Data format for response. */
|
|
3490
|
-
alt?:
|
|
3647
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3491
3648
|
/** JSONP */
|
|
3492
3649
|
callback?: string;
|
|
3493
3650
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3518,11 +3675,11 @@ declare namespace gapi.client {
|
|
|
3518
3675
|
/** 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
3676
|
run(request: {
|
|
3520
3677
|
/** V1 error format. */
|
|
3521
|
-
'$.xgafv'?:
|
|
3678
|
+
'$.xgafv'?: '1' | '2';
|
|
3522
3679
|
/** OAuth access token. */
|
|
3523
3680
|
access_token?: string;
|
|
3524
3681
|
/** Data format for response. */
|
|
3525
|
-
alt?:
|
|
3682
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3526
3683
|
/** JSONP */
|
|
3527
3684
|
callback?: string;
|
|
3528
3685
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3547,11 +3704,11 @@ declare namespace gapi.client {
|
|
|
3547
3704
|
run(
|
|
3548
3705
|
request: {
|
|
3549
3706
|
/** V1 error format. */
|
|
3550
|
-
'$.xgafv'?:
|
|
3707
|
+
'$.xgafv'?: '1' | '2';
|
|
3551
3708
|
/** OAuth access token. */
|
|
3552
3709
|
access_token?: string;
|
|
3553
3710
|
/** Data format for response. */
|
|
3554
|
-
alt?:
|
|
3711
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3555
3712
|
/** JSONP */
|
|
3556
3713
|
callback?: string;
|
|
3557
3714
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3576,11 +3733,11 @@ declare namespace gapi.client {
|
|
|
3576
3733
|
/** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
|
|
3577
3734
|
webhook(request: {
|
|
3578
3735
|
/** V1 error format. */
|
|
3579
|
-
'$.xgafv'?:
|
|
3736
|
+
'$.xgafv'?: '1' | '2';
|
|
3580
3737
|
/** OAuth access token. */
|
|
3581
3738
|
access_token?: string;
|
|
3582
3739
|
/** Data format for response. */
|
|
3583
|
-
alt?:
|
|
3740
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3584
3741
|
/** JSONP */
|
|
3585
3742
|
callback?: string;
|
|
3586
3743
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3611,11 +3768,11 @@ declare namespace gapi.client {
|
|
|
3611
3768
|
webhook(
|
|
3612
3769
|
request: {
|
|
3613
3770
|
/** V1 error format. */
|
|
3614
|
-
'$.xgafv'?:
|
|
3771
|
+
'$.xgafv'?: '1' | '2';
|
|
3615
3772
|
/** OAuth access token. */
|
|
3616
3773
|
access_token?: string;
|
|
3617
3774
|
/** Data format for response. */
|
|
3618
|
-
alt?:
|
|
3775
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3619
3776
|
/** JSONP */
|
|
3620
3777
|
callback?: string;
|
|
3621
3778
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3648,11 +3805,11 @@ declare namespace gapi.client {
|
|
|
3648
3805
|
/** Creates a `WorkerPool`. */
|
|
3649
3806
|
create(request: {
|
|
3650
3807
|
/** V1 error format. */
|
|
3651
|
-
'$.xgafv'?:
|
|
3808
|
+
'$.xgafv'?: '1' | '2';
|
|
3652
3809
|
/** OAuth access token. */
|
|
3653
3810
|
access_token?: string;
|
|
3654
3811
|
/** Data format for response. */
|
|
3655
|
-
alt?:
|
|
3812
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3656
3813
|
/** JSONP */
|
|
3657
3814
|
callback?: string;
|
|
3658
3815
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3681,11 +3838,11 @@ declare namespace gapi.client {
|
|
|
3681
3838
|
create(
|
|
3682
3839
|
request: {
|
|
3683
3840
|
/** V1 error format. */
|
|
3684
|
-
'$.xgafv'?:
|
|
3841
|
+
'$.xgafv'?: '1' | '2';
|
|
3685
3842
|
/** OAuth access token. */
|
|
3686
3843
|
access_token?: string;
|
|
3687
3844
|
/** Data format for response. */
|
|
3688
|
-
alt?:
|
|
3845
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3689
3846
|
/** JSONP */
|
|
3690
3847
|
callback?: string;
|
|
3691
3848
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3714,13 +3871,13 @@ declare namespace gapi.client {
|
|
|
3714
3871
|
/** Deletes a `WorkerPool`. */
|
|
3715
3872
|
delete(request?: {
|
|
3716
3873
|
/** V1 error format. */
|
|
3717
|
-
'$.xgafv'?:
|
|
3874
|
+
'$.xgafv'?: '1' | '2';
|
|
3718
3875
|
/** OAuth access token. */
|
|
3719
3876
|
access_token?: string;
|
|
3720
3877
|
/** If set to true, and the `WorkerPool` is not found, the request will succeed but no action will be taken on the server. */
|
|
3721
3878
|
allowMissing?: boolean;
|
|
3722
3879
|
/** Data format for response. */
|
|
3723
|
-
alt?:
|
|
3880
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3724
3881
|
/** JSONP */
|
|
3725
3882
|
callback?: string;
|
|
3726
3883
|
/** Optional. If provided, it must match the server's etag on the workerpool for the request to be processed. */
|
|
@@ -3747,11 +3904,11 @@ declare namespace gapi.client {
|
|
|
3747
3904
|
/** Returns details of a `WorkerPool`. */
|
|
3748
3905
|
get(request?: {
|
|
3749
3906
|
/** V1 error format. */
|
|
3750
|
-
'$.xgafv'?:
|
|
3907
|
+
'$.xgafv'?: '1' | '2';
|
|
3751
3908
|
/** OAuth access token. */
|
|
3752
3909
|
access_token?: string;
|
|
3753
3910
|
/** Data format for response. */
|
|
3754
|
-
alt?:
|
|
3911
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3755
3912
|
/** JSONP */
|
|
3756
3913
|
callback?: string;
|
|
3757
3914
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3774,11 +3931,11 @@ declare namespace gapi.client {
|
|
|
3774
3931
|
/** Lists `WorkerPool`s. */
|
|
3775
3932
|
list(request?: {
|
|
3776
3933
|
/** V1 error format. */
|
|
3777
|
-
'$.xgafv'?:
|
|
3934
|
+
'$.xgafv'?: '1' | '2';
|
|
3778
3935
|
/** OAuth access token. */
|
|
3779
3936
|
access_token?: string;
|
|
3780
3937
|
/** Data format for response. */
|
|
3781
|
-
alt?:
|
|
3938
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3782
3939
|
/** JSONP */
|
|
3783
3940
|
callback?: string;
|
|
3784
3941
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3805,11 +3962,11 @@ declare namespace gapi.client {
|
|
|
3805
3962
|
/** Updates a `WorkerPool`. */
|
|
3806
3963
|
patch(request: {
|
|
3807
3964
|
/** V1 error format. */
|
|
3808
|
-
'$.xgafv'?:
|
|
3965
|
+
'$.xgafv'?: '1' | '2';
|
|
3809
3966
|
/** OAuth access token. */
|
|
3810
3967
|
access_token?: string;
|
|
3811
3968
|
/** Data format for response. */
|
|
3812
|
-
alt?:
|
|
3969
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3813
3970
|
/** JSONP */
|
|
3814
3971
|
callback?: string;
|
|
3815
3972
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3838,11 +3995,11 @@ declare namespace gapi.client {
|
|
|
3838
3995
|
patch(
|
|
3839
3996
|
request: {
|
|
3840
3997
|
/** V1 error format. */
|
|
3841
|
-
'$.xgafv'?:
|
|
3998
|
+
'$.xgafv'?: '1' | '2';
|
|
3842
3999
|
/** OAuth access token. */
|
|
3843
4000
|
access_token?: string;
|
|
3844
4001
|
/** Data format for response. */
|
|
3845
|
-
alt?:
|
|
4002
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3846
4003
|
/** JSONP */
|
|
3847
4004
|
callback?: string;
|
|
3848
4005
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3873,11 +4030,11 @@ declare namespace gapi.client {
|
|
|
3873
4030
|
/** Returns the `DefaultServiceAccount` used by the project. */
|
|
3874
4031
|
getDefaultServiceAccount(request?: {
|
|
3875
4032
|
/** V1 error format. */
|
|
3876
|
-
'$.xgafv'?:
|
|
4033
|
+
'$.xgafv'?: '1' | '2';
|
|
3877
4034
|
/** OAuth access token. */
|
|
3878
4035
|
access_token?: string;
|
|
3879
4036
|
/** Data format for response. */
|
|
3880
|
-
alt?:
|
|
4037
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3881
4038
|
/** JSONP */
|
|
3882
4039
|
callback?: string;
|
|
3883
4040
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3909,11 +4066,11 @@ declare namespace gapi.client {
|
|
|
3909
4066
|
/** Creates a new `BuildTrigger`. */
|
|
3910
4067
|
create(request: {
|
|
3911
4068
|
/** V1 error format. */
|
|
3912
|
-
'$.xgafv'?:
|
|
4069
|
+
'$.xgafv'?: '1' | '2';
|
|
3913
4070
|
/** OAuth access token. */
|
|
3914
4071
|
access_token?: string;
|
|
3915
4072
|
/** Data format for response. */
|
|
3916
|
-
alt?:
|
|
4073
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3917
4074
|
/** JSONP */
|
|
3918
4075
|
callback?: string;
|
|
3919
4076
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3940,11 +4097,11 @@ declare namespace gapi.client {
|
|
|
3940
4097
|
create(
|
|
3941
4098
|
request: {
|
|
3942
4099
|
/** V1 error format. */
|
|
3943
|
-
'$.xgafv'?:
|
|
4100
|
+
'$.xgafv'?: '1' | '2';
|
|
3944
4101
|
/** OAuth access token. */
|
|
3945
4102
|
access_token?: string;
|
|
3946
4103
|
/** Data format for response. */
|
|
3947
|
-
alt?:
|
|
4104
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3948
4105
|
/** JSONP */
|
|
3949
4106
|
callback?: string;
|
|
3950
4107
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3971,11 +4128,11 @@ declare namespace gapi.client {
|
|
|
3971
4128
|
/** Deletes a `BuildTrigger` by its project ID and trigger ID. */
|
|
3972
4129
|
delete(request?: {
|
|
3973
4130
|
/** V1 error format. */
|
|
3974
|
-
'$.xgafv'?:
|
|
4131
|
+
'$.xgafv'?: '1' | '2';
|
|
3975
4132
|
/** OAuth access token. */
|
|
3976
4133
|
access_token?: string;
|
|
3977
4134
|
/** Data format for response. */
|
|
3978
|
-
alt?:
|
|
4135
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3979
4136
|
/** JSONP */
|
|
3980
4137
|
callback?: string;
|
|
3981
4138
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4002,11 +4159,11 @@ declare namespace gapi.client {
|
|
|
4002
4159
|
/** Returns information about a `BuildTrigger`. */
|
|
4003
4160
|
get(request?: {
|
|
4004
4161
|
/** V1 error format. */
|
|
4005
|
-
'$.xgafv'?:
|
|
4162
|
+
'$.xgafv'?: '1' | '2';
|
|
4006
4163
|
/** OAuth access token. */
|
|
4007
4164
|
access_token?: string;
|
|
4008
4165
|
/** Data format for response. */
|
|
4009
|
-
alt?:
|
|
4166
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4010
4167
|
/** JSONP */
|
|
4011
4168
|
callback?: string;
|
|
4012
4169
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4033,11 +4190,11 @@ declare namespace gapi.client {
|
|
|
4033
4190
|
/** Lists existing `BuildTrigger`s. */
|
|
4034
4191
|
list(request?: {
|
|
4035
4192
|
/** V1 error format. */
|
|
4036
|
-
'$.xgafv'?:
|
|
4193
|
+
'$.xgafv'?: '1' | '2';
|
|
4037
4194
|
/** OAuth access token. */
|
|
4038
4195
|
access_token?: string;
|
|
4039
4196
|
/** Data format for response. */
|
|
4040
|
-
alt?:
|
|
4197
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4041
4198
|
/** JSONP */
|
|
4042
4199
|
callback?: string;
|
|
4043
4200
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4066,11 +4223,11 @@ declare namespace gapi.client {
|
|
|
4066
4223
|
/** Updates a `BuildTrigger` by its project ID and trigger ID. */
|
|
4067
4224
|
patch(request: {
|
|
4068
4225
|
/** V1 error format. */
|
|
4069
|
-
'$.xgafv'?:
|
|
4226
|
+
'$.xgafv'?: '1' | '2';
|
|
4070
4227
|
/** OAuth access token. */
|
|
4071
4228
|
access_token?: string;
|
|
4072
4229
|
/** Data format for response. */
|
|
4073
|
-
alt?:
|
|
4230
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4074
4231
|
/** JSONP */
|
|
4075
4232
|
callback?: string;
|
|
4076
4233
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4099,11 +4256,11 @@ declare namespace gapi.client {
|
|
|
4099
4256
|
patch(
|
|
4100
4257
|
request: {
|
|
4101
4258
|
/** V1 error format. */
|
|
4102
|
-
'$.xgafv'?:
|
|
4259
|
+
'$.xgafv'?: '1' | '2';
|
|
4103
4260
|
/** OAuth access token. */
|
|
4104
4261
|
access_token?: string;
|
|
4105
4262
|
/** Data format for response. */
|
|
4106
|
-
alt?:
|
|
4263
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4107
4264
|
/** JSONP */
|
|
4108
4265
|
callback?: string;
|
|
4109
4266
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4132,11 +4289,11 @@ declare namespace gapi.client {
|
|
|
4132
4289
|
/** 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
4290
|
run(request: {
|
|
4134
4291
|
/** V1 error format. */
|
|
4135
|
-
'$.xgafv'?:
|
|
4292
|
+
'$.xgafv'?: '1' | '2';
|
|
4136
4293
|
/** OAuth access token. */
|
|
4137
4294
|
access_token?: string;
|
|
4138
4295
|
/** Data format for response. */
|
|
4139
|
-
alt?:
|
|
4296
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4140
4297
|
/** JSONP */
|
|
4141
4298
|
callback?: string;
|
|
4142
4299
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4165,11 +4322,11 @@ declare namespace gapi.client {
|
|
|
4165
4322
|
run(
|
|
4166
4323
|
request: {
|
|
4167
4324
|
/** V1 error format. */
|
|
4168
|
-
'$.xgafv'?:
|
|
4325
|
+
'$.xgafv'?: '1' | '2';
|
|
4169
4326
|
/** OAuth access token. */
|
|
4170
4327
|
access_token?: string;
|
|
4171
4328
|
/** Data format for response. */
|
|
4172
|
-
alt?:
|
|
4329
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4173
4330
|
/** JSONP */
|
|
4174
4331
|
callback?: string;
|
|
4175
4332
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4198,11 +4355,11 @@ declare namespace gapi.client {
|
|
|
4198
4355
|
/** ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger. */
|
|
4199
4356
|
webhook(request: {
|
|
4200
4357
|
/** V1 error format. */
|
|
4201
|
-
'$.xgafv'?:
|
|
4358
|
+
'$.xgafv'?: '1' | '2';
|
|
4202
4359
|
/** OAuth access token. */
|
|
4203
4360
|
access_token?: string;
|
|
4204
4361
|
/** Data format for response. */
|
|
4205
|
-
alt?:
|
|
4362
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4206
4363
|
/** JSONP */
|
|
4207
4364
|
callback?: string;
|
|
4208
4365
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4233,11 +4390,11 @@ declare namespace gapi.client {
|
|
|
4233
4390
|
webhook(
|
|
4234
4391
|
request: {
|
|
4235
4392
|
/** V1 error format. */
|
|
4236
|
-
'$.xgafv'?:
|
|
4393
|
+
'$.xgafv'?: '1' | '2';
|
|
4237
4394
|
/** OAuth access token. */
|
|
4238
4395
|
access_token?: string;
|
|
4239
4396
|
/** Data format for response. */
|
|
4240
|
-
alt?:
|
|
4397
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4241
4398
|
/** JSONP */
|
|
4242
4399
|
callback?: string;
|
|
4243
4400
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4276,11 +4433,11 @@ declare namespace gapi.client {
|
|
|
4276
4433
|
/** ReceiveWebhook is called when the API receives a GitHub webhook. */
|
|
4277
4434
|
webhook(request: {
|
|
4278
4435
|
/** V1 error format. */
|
|
4279
|
-
'$.xgafv'?:
|
|
4436
|
+
'$.xgafv'?: '1' | '2';
|
|
4280
4437
|
/** OAuth access token. */
|
|
4281
4438
|
access_token?: string;
|
|
4282
4439
|
/** Data format for response. */
|
|
4283
|
-
alt?:
|
|
4440
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4284
4441
|
/** JSONP */
|
|
4285
4442
|
callback?: string;
|
|
4286
4443
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4305,11 +4462,11 @@ declare namespace gapi.client {
|
|
|
4305
4462
|
webhook(
|
|
4306
4463
|
request: {
|
|
4307
4464
|
/** V1 error format. */
|
|
4308
|
-
'$.xgafv'?:
|
|
4465
|
+
'$.xgafv'?: '1' | '2';
|
|
4309
4466
|
/** OAuth access token. */
|
|
4310
4467
|
access_token?: string;
|
|
4311
4468
|
/** Data format for response. */
|
|
4312
|
-
alt?:
|
|
4469
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4313
4470
|
/** JSONP */
|
|
4314
4471
|
callback?: string;
|
|
4315
4472
|
/** Selector specifying which fields to include in a partial response. */
|