@maxim_mazurok/gapi.client.cloudbuild-v1 0.3.20261010 → 0.3.20261025

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 +25 -13
  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: 20261010
12
+ // Revision: 20261025
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -292,6 +292,12 @@ declare namespace gapi.client {
292
292
  pool?: PoolOption;
293
293
  /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
294
294
  pubsubTopic?: string;
295
+ /** Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. */
296
+ rankedMachineSeries?:
297
+ | 'MACHINE_SERIES_UNSPECIFIED'
298
+ | 'MACHINE_SERIES_E'
299
+ | 'MACHINE_SERIES_N'
300
+ | 'MACHINE_SERIES_C'[];
295
301
  /** Requested verifiability options. */
296
302
  requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED' | 'BEST_EFFORT';
297
303
  /** Output only. Worker release resolved from the release channel. */
@@ -1198,6 +1204,12 @@ declare namespace gapi.client {
1198
1204
  enableNestedVirtualization?: boolean;
1199
1205
  /** Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default. */
1200
1206
  machineType?: string;
1207
+ /** Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. */
1208
+ rankedMachineSeries?:
1209
+ | 'MACHINE_SERIES_UNSPECIFIED'
1210
+ | 'MACHINE_SERIES_E'
1211
+ | 'MACHINE_SERIES_N'
1212
+ | 'MACHINE_SERIES_C'[];
1201
1213
  /** Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build. */
1202
1214
  workerRelease?: string;
1203
1215
  }
@@ -1441,7 +1453,7 @@ declare namespace gapi.client {
1441
1453
  }): Request<Operation>;
1442
1454
  }
1443
1455
  interface BuildsResource {
1444
- /** 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. */
1456
+ /** 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. Note: This method only approves or rejects builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`. */
1445
1457
  approve(request: {
1446
1458
  /** V1 error format. */
1447
1459
  '$.xgafv'?: '1' | '2';
@@ -2338,7 +2350,7 @@ declare namespace gapi.client {
2338
2350
  repos: ReposResource;
2339
2351
  }
2340
2352
  interface BuildsResource {
2341
- /** 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. */
2353
+ /** 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. Note: This method only approves or rejects builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`. */
2342
2354
  approve(request: {
2343
2355
  /** V1 error format. */
2344
2356
  '$.xgafv'?: '1' | '2';
@@ -2950,7 +2962,7 @@ declare namespace gapi.client {
2950
2962
  }): Request<Operation>;
2951
2963
  }
2952
2964
  interface TriggersResource {
2953
- /** Creates a new `BuildTrigger`. */
2965
+ /** Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`. */
2954
2966
  create(request: {
2955
2967
  /** V1 error format. */
2956
2968
  '$.xgafv'?: '1' | '2';
@@ -3012,7 +3024,7 @@ declare namespace gapi.client {
3012
3024
  },
3013
3025
  body: BuildTrigger,
3014
3026
  ): Request<BuildTrigger>;
3015
- /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3027
+ /** Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`. */
3016
3028
  delete(request?: {
3017
3029
  /** V1 error format. */
3018
3030
  '$.xgafv'?: '1' | '2';
@@ -3043,7 +3055,7 @@ declare namespace gapi.client {
3043
3055
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3044
3056
  uploadType?: string;
3045
3057
  }): Request<{}>;
3046
- /** Returns information about a `BuildTrigger`. */
3058
+ /** Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`. */
3047
3059
  get(request?: {
3048
3060
  /** V1 error format. */
3049
3061
  '$.xgafv'?: '1' | '2';
@@ -3074,7 +3086,7 @@ declare namespace gapi.client {
3074
3086
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3075
3087
  uploadType?: string;
3076
3088
  }): Request<BuildTrigger>;
3077
- /** Lists existing `BuildTrigger`s. */
3089
+ /** Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`. */
3078
3090
  list(request?: {
3079
3091
  /** V1 error format. */
3080
3092
  '$.xgafv'?: '1' | '2';
@@ -3107,7 +3119,7 @@ declare namespace gapi.client {
3107
3119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3108
3120
  uploadType?: string;
3109
3121
  }): Request<ListBuildTriggersResponse>;
3110
- /** Updates a `BuildTrigger` by its project ID and trigger ID. */
3122
+ /** Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`. */
3111
3123
  patch(request: {
3112
3124
  /** V1 error format. */
3113
3125
  '$.xgafv'?: '1' | '2';
@@ -3567,7 +3579,7 @@ declare namespace gapi.client {
3567
3579
  workerPools: WorkerPoolsResource;
3568
3580
  }
3569
3581
  interface TriggersResource {
3570
- /** Creates a new `BuildTrigger`. */
3582
+ /** Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`. */
3571
3583
  create(request: {
3572
3584
  /** V1 error format. */
3573
3585
  '$.xgafv'?: '1' | '2';
@@ -3629,7 +3641,7 @@ declare namespace gapi.client {
3629
3641
  },
3630
3642
  body: BuildTrigger,
3631
3643
  ): Request<BuildTrigger>;
3632
- /** Deletes a `BuildTrigger` by its project ID and trigger ID. */
3644
+ /** Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`. */
3633
3645
  delete(request?: {
3634
3646
  /** V1 error format. */
3635
3647
  '$.xgafv'?: '1' | '2';
@@ -3660,7 +3672,7 @@ declare namespace gapi.client {
3660
3672
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3661
3673
  uploadType?: string;
3662
3674
  }): Request<{}>;
3663
- /** Returns information about a `BuildTrigger`. */
3675
+ /** Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`. */
3664
3676
  get(request?: {
3665
3677
  /** V1 error format. */
3666
3678
  '$.xgafv'?: '1' | '2';
@@ -3691,7 +3703,7 @@ declare namespace gapi.client {
3691
3703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3692
3704
  uploadType?: string;
3693
3705
  }): Request<BuildTrigger>;
3694
- /** Lists existing `BuildTrigger`s. */
3706
+ /** Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`. */
3695
3707
  list(request?: {
3696
3708
  /** V1 error format. */
3697
3709
  '$.xgafv'?: '1' | '2';
@@ -3724,7 +3736,7 @@ declare namespace gapi.client {
3724
3736
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3725
3737
  uploadType?: string;
3726
3738
  }): Request<ListBuildTriggersResponse>;
3727
- /** Updates a `BuildTrigger` by its project ID and trigger ID. */
3739
+ /** Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`. */
3728
3740
  patch(request: {
3729
3741
  /** V1 error format. */
3730
3742
  '$.xgafv'?: '1' | '2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.3.20261010",
3
+ "version": "0.3.20261025",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "repository": {
6
6
  "type": "git",