@maxim_mazurok/gapi.client.cloudbuild-v1 0.2.20260602 → 0.3.20260612

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +9 -26
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudbuild.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260602
12
+ // Revision: 20260612
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
- | 'STATE_UNSPECIFIED'
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. */
@@ -306,7 +302,8 @@ declare namespace gapi.client {
306
302
  | 'N1_HIGHCPU_32'
307
303
  | 'E2_HIGHCPU_8'
308
304
  | 'E2_HIGHCPU_32'
309
- | 'E2_MEDIUM';
305
+ | 'E2_MEDIUM'
306
+ | 'E2_STANDARD_2';
310
307
  /** 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. */
311
308
  pool?: PoolOption;
312
309
  /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
@@ -403,11 +400,7 @@ declare namespace gapi.client {
403
400
  disabled?: boolean;
404
401
  /** 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
402
  eventType?:
406
- | 'EVENT_TYPE_UNSPECIFIED'
407
- | 'REPO'
408
- | 'WEBHOOK'
409
- | 'PUBSUB'
410
- | 'MANUAL';
403
+ 'EVENT_TYPE_UNSPECIFIED' | 'REPO' | 'WEBHOOK' | 'PUBSUB' | 'MANUAL';
411
404
  /** Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml). */
412
405
  filename?: string;
413
406
  /** A Common Expression Language string. */
@@ -424,8 +417,7 @@ declare namespace gapi.client {
424
417
  ignoredFiles?: string[];
425
418
  /** 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
419
  includeBuildLogs?:
427
- | 'INCLUDE_BUILD_LOGS_UNSPECIFIED'
428
- | 'INCLUDE_BUILD_LOGS_WITH_STATUS';
420
+ 'INCLUDE_BUILD_LOGS_UNSPECIFIED' | 'INCLUDE_BUILD_LOGS_WITH_STATUS';
429
421
  /** If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build. */
430
422
  includedFiles?: string[];
431
423
  /** User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character. */
@@ -458,9 +450,7 @@ declare namespace gapi.client {
458
450
  name?: string;
459
451
  /** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
460
452
  ociMediaType?:
461
- | 'OCI_MEDIA_TYPE_UNSPECIFIED'
462
- | 'IMAGE_MANIFEST'
463
- | 'IMAGE_INDEX';
453
+ 'OCI_MEDIA_TYPE_UNSPECIFIED' | 'IMAGE_MANIFEST' | 'IMAGE_INDEX';
464
454
  /** Output only. Stores timing information for pushing the specified image. */
465
455
  pushTiming?: TimeSpan;
466
456
  }
@@ -839,12 +829,7 @@ declare namespace gapi.client {
839
829
  interface Hash {
840
830
  /** The type of hash that was performed. */
841
831
  type?:
842
- | 'NONE'
843
- | 'SHA256'
844
- | 'MD5'
845
- | 'GO_MODULE_H1'
846
- | 'SHA512'
847
- | 'DIRSUM_SHA256';
832
+ 'NONE' | 'SHA256' | 'MD5' | 'GO_MODULE_H1' | 'SHA512' | 'DIRSUM_SHA256';
848
833
  /** The hash value. */
849
834
  value?: string;
850
835
  }
@@ -929,9 +914,7 @@ declare namespace gapi.client {
929
914
  interface NetworkConfig {
930
915
  /** Option to configure network egress for the workers. */
931
916
  egressOption?:
932
- | 'EGRESS_OPTION_UNSPECIFIED'
933
- | 'NO_PUBLIC_EGRESS'
934
- | 'PUBLIC_EGRESS';
917
+ 'EGRESS_OPTION_UNSPECIFIED' | 'NO_PUBLIC_EGRESS' | 'PUBLIC_EGRESS';
935
918
  /** 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
919
  peeredNetwork?: string;
937
920
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.2.20260602",
3
+ "version": "0.3.20260612",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "repository": {
6
6
  "type": "git",