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

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 +34 -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: 20240305
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;
@@ -3740,6 +3746,33 @@ declare namespace gapi.client {
3740
3746
  ): Request<Operation>;
3741
3747
  }
3742
3748
  interface LocationsResource {
3749
+ /** Returns the `DefaultServiceAccount` used by the project. */
3750
+ getDefaultServiceAccount(request?: {
3751
+ /** V1 error format. */
3752
+ '$.xgafv'?: string;
3753
+ /** OAuth access token. */
3754
+ access_token?: string;
3755
+ /** Data format for response. */
3756
+ alt?: string;
3757
+ /** JSONP */
3758
+ callback?: string;
3759
+ /** Selector specifying which fields to include in a partial response. */
3760
+ fields?: string;
3761
+ /** 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. */
3762
+ key?: string;
3763
+ /** Required. The name of the `DefaultServiceAccount` to retrieve. Format: `projects/{project}/locations/{location}/defaultServiceAccount` */
3764
+ name: string;
3765
+ /** OAuth 2.0 token for the current user. */
3766
+ oauth_token?: string;
3767
+ /** Returns response with indentations and line breaks. */
3768
+ prettyPrint?: boolean;
3769
+ /** 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. */
3770
+ quotaUser?: string;
3771
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3772
+ upload_protocol?: string;
3773
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3774
+ uploadType?: string;
3775
+ }): Request<DefaultServiceAccount>;
3743
3776
  bitbucketServerConfigs: BitbucketServerConfigsResource;
3744
3777
  builds: BuildsResource;
3745
3778
  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.20240305",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "repository": {
6
6
  "type": "git",