@maxim_mazurok/gapi.client.cloudbuild-v1 0.2.20260511 → 0.3.20260602
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 +7 -25
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudbuild.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260602
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -263,11 +263,7 @@ declare namespace gapi.client {
|
|
|
263
263
|
result?: ApprovalResult;
|
|
264
264
|
/** Output only. The state of this build's approval. */
|
|
265
265
|
state?:
|
|
266
|
-
| '
|
|
267
|
-
| 'PENDING'
|
|
268
|
-
| 'APPROVED'
|
|
269
|
-
| 'REJECTED'
|
|
270
|
-
| 'CANCELLED';
|
|
266
|
+
'STATE_UNSPECIFIED' | 'PENDING' | 'APPROVED' | 'REJECTED' | 'CANCELLED';
|
|
271
267
|
}
|
|
272
268
|
interface BuildOperationMetadata {
|
|
273
269
|
/** The build that the operation is tracking. */
|
|
@@ -403,11 +399,7 @@ declare namespace gapi.client {
|
|
|
403
399
|
disabled?: boolean;
|
|
404
400
|
/** 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. */
|
|
405
401
|
eventType?:
|
|
406
|
-
| '
|
|
407
|
-
| 'REPO'
|
|
408
|
-
| 'WEBHOOK'
|
|
409
|
-
| 'PUBSUB'
|
|
410
|
-
| 'MANUAL';
|
|
402
|
+
'EVENT_TYPE_UNSPECIFIED' | 'REPO' | 'WEBHOOK' | 'PUBSUB' | 'MANUAL';
|
|
411
403
|
/** Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml). */
|
|
412
404
|
filename?: string;
|
|
413
405
|
/** A Common Expression Language string. */
|
|
@@ -424,8 +416,7 @@ declare namespace gapi.client {
|
|
|
424
416
|
ignoredFiles?: string[];
|
|
425
417
|
/** If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error. */
|
|
426
418
|
includeBuildLogs?:
|
|
427
|
-
| '
|
|
428
|
-
| 'INCLUDE_BUILD_LOGS_WITH_STATUS';
|
|
419
|
+
'INCLUDE_BUILD_LOGS_UNSPECIFIED' | 'INCLUDE_BUILD_LOGS_WITH_STATUS';
|
|
429
420
|
/** 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. */
|
|
430
421
|
includedFiles?: string[];
|
|
431
422
|
/** 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. */
|
|
@@ -458,9 +449,7 @@ declare namespace gapi.client {
|
|
|
458
449
|
name?: string;
|
|
459
450
|
/** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
|
|
460
451
|
ociMediaType?:
|
|
461
|
-
| '
|
|
462
|
-
| 'IMAGE_MANIFEST'
|
|
463
|
-
| 'IMAGE_INDEX';
|
|
452
|
+
'OCI_MEDIA_TYPE_UNSPECIFIED' | 'IMAGE_MANIFEST' | 'IMAGE_INDEX';
|
|
464
453
|
/** Output only. Stores timing information for pushing the specified image. */
|
|
465
454
|
pushTiming?: TimeSpan;
|
|
466
455
|
}
|
|
@@ -839,12 +828,7 @@ declare namespace gapi.client {
|
|
|
839
828
|
interface Hash {
|
|
840
829
|
/** The type of hash that was performed. */
|
|
841
830
|
type?:
|
|
842
|
-
| '
|
|
843
|
-
| 'SHA256'
|
|
844
|
-
| 'MD5'
|
|
845
|
-
| 'GO_MODULE_H1'
|
|
846
|
-
| 'SHA512'
|
|
847
|
-
| 'DIRSUM_SHA256';
|
|
831
|
+
'NONE' | 'SHA256' | 'MD5' | 'GO_MODULE_H1' | 'SHA512' | 'DIRSUM_SHA256';
|
|
848
832
|
/** The hash value. */
|
|
849
833
|
value?: string;
|
|
850
834
|
}
|
|
@@ -929,9 +913,7 @@ declare namespace gapi.client {
|
|
|
929
913
|
interface NetworkConfig {
|
|
930
914
|
/** Option to configure network egress for the workers. */
|
|
931
915
|
egressOption?:
|
|
932
|
-
| '
|
|
933
|
-
| 'NO_PUBLIC_EGRESS'
|
|
934
|
-
| 'PUBLIC_EGRESS';
|
|
916
|
+
'EGRESS_OPTION_UNSPECIFIED' | 'NO_PUBLIC_EGRESS' | 'PUBLIC_EGRESS';
|
|
935
917
|
/** 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) */
|
|
936
918
|
peeredNetwork?: string;
|
|
937
919
|
/** 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. */
|