@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20240207 → 0.0.20240223

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 +44 -1
  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: 20240207
12
+ // Revision: 20240223
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -443,6 +443,12 @@ declare namespace gapi.client {
443
443
  /** The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`. */
444
444
  workerPool?: string;
445
445
  }
446
+ interface DefaultServiceAccount {
447
+ /** Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount */
448
+ name?: string;
449
+ /** Output only. The email address of the service account identity that will be used for a build by default. This is returned in the format `projects/{project}/serviceAccounts/{service_account}` where `{service_account}` could be the legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com. If no service account will be used by default, this will be empty. */
450
+ serviceAccountEmail?: string;
451
+ }
446
452
  interface DeleteBitbucketServerConfigOperationMetadata {
447
453
  /** The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. */
448
454
  bitbucketServerConfig?: string;
@@ -775,9 +781,19 @@ declare namespace gapi.client {
775
781
  interface PrivatePoolV1Config {
776
782
  /** Network configuration for the pool. */
777
783
  networkConfig?: NetworkConfig;
784
+ /** Immutable. Private Service Connect(PSC) Network configuration for the pool. */
785
+ privateServiceConnect?: PrivateServiceConnect;
778
786
  /** Machine configuration for the workers in the pool. */
779
787
  workerConfig?: WorkerConfig;
780
788
  }
789
+ interface PrivateServiceConnect {
790
+ /** Required. Immutable. The network attachment that the worker network interface is peered to. Must be in the format `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. The region of network attachment must be the same as the worker pool. See [Network Attachments](https://cloud.google.com/vpc/docs/about-network-attachments) */
791
+ networkAttachment?: string;
792
+ /** Required. Immutable. Disable public IP on the primary network interface. If true, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured. If false, workers are created with a public address which allows for public internet egress. The public address only applies to traffic through the primary network interface. If `route_all_traffic` is set to true, all traffic will go through the non-primary network interface, this boolean has no effect. */
793
+ publicIpAddressDisabled?: boolean;
794
+ /** Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 through PSC interface. */
795
+ routeAllTraffic?: boolean;
796
+ }
781
797
  interface ProcessAppManifestCallbackOperationMetadata {
782
798
  /** Time the operation was completed. */
783
799
  completeTime?: string;
@@ -3740,6 +3756,33 @@ declare namespace gapi.client {
3740
3756
  ): Request<Operation>;
3741
3757
  }
3742
3758
  interface LocationsResource {
3759
+ /** Returns the `DefaultServiceAccount` used by the project. */
3760
+ getDefaultServiceAccount(request?: {
3761
+ /** V1 error format. */
3762
+ '$.xgafv'?: string;
3763
+ /** OAuth access token. */
3764
+ access_token?: string;
3765
+ /** Data format for response. */
3766
+ alt?: string;
3767
+ /** JSONP */
3768
+ callback?: string;
3769
+ /** Selector specifying which fields to include in a partial response. */
3770
+ fields?: string;
3771
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3772
+ key?: string;
3773
+ /** Required. The name of the `DefaultServiceAccount` to retrieve. Format: `projects/{project}/locations/{location}/defaultServiceAccount` */
3774
+ name: string;
3775
+ /** OAuth 2.0 token for the current user. */
3776
+ oauth_token?: string;
3777
+ /** Returns response with indentations and line breaks. */
3778
+ prettyPrint?: boolean;
3779
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3780
+ quotaUser?: string;
3781
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3782
+ upload_protocol?: string;
3783
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3784
+ uploadType?: string;
3785
+ }): Request<DefaultServiceAccount>;
3743
3786
  bitbucketServerConfigs: BitbucketServerConfigsResource;
3744
3787
  builds: BuildsResource;
3745
3788
  githubEnterpriseConfigs: GithubEnterpriseConfigsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20240207",
3
+ "version": "0.0.20240223",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "repository": {
6
6
  "type": "git",