@maxim_mazurok/gapi.client.cloudresourcemanager-v3 0.0.20250508 → 0.0.20250606

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 +145 -3
  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://cloudresourcemanager.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20250508
12
+ // Revision: 20250606
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -111,6 +111,14 @@ declare namespace gapi.client {
111
111
  /** Resource name for TagValue in the format `tagValues/456`. */
112
112
  tagValue?: string;
113
113
  }
114
+ interface EffectiveTagBindingCollection {
115
+ /** Tag keys/values effectively bound to this resource, specified in namespaced format. For example: "123/environment": "production" */
116
+ effectiveTags?: {[P in string]: string};
117
+ /** The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123` */
118
+ fullResourceName?: string;
119
+ /** Identifier. The name of the EffectiveTagBindingCollection, following the convention: `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. E.g. "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" */
120
+ name?: string;
121
+ }
114
122
  interface Empty {}
115
123
  interface Expr {
116
124
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
@@ -288,6 +296,8 @@ declare namespace gapi.client {
288
296
  version?: number;
289
297
  }
290
298
  interface Project {
299
+ /** Output only. If this project is a Management Project, list of capabilities configured on the parent folder. Note, presence of any capability implies that this is a Management Project. Example: `folders/123/capabilities/app-management`. OUTPUT ONLY. */
300
+ configuredCapabilities?: string[];
291
301
  /** Output only. Creation time. */
292
302
  createTime?: string;
293
303
  /** Output only. The time at which this resource was requested for deletion. */
@@ -361,6 +371,16 @@ declare namespace gapi.client {
361
371
  /** The namespaced name for the TagValue of the TagBinding. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`. For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected. */
362
372
  tagValueNamespacedName?: string;
363
373
  }
374
+ interface TagBindingCollection {
375
+ /** Optional. A checksum based on the current bindings which can be passed to prevent race conditions. This field is always set in server responses. */
376
+ etag?: string;
377
+ /** The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123` */
378
+ fullResourceName?: string;
379
+ /** Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" */
380
+ name?: string;
381
+ /** Tag keys/values directly bound to this resource, specified in namespaced format. For example: "123/environment": "production" */
382
+ tags?: {[P in string]: string};
383
+ }
364
384
  interface TagHold {
365
385
  /** Output only. The time this TagHold was created. */
366
386
  createTime?: string;
@@ -390,7 +410,7 @@ declare namespace gapi.client {
390
410
  purpose?: string;
391
411
  /** Optional. Purpose data corresponds to the policy system that the tag is intended for. See documentation for `Purpose` for formatting of this field. Purpose data cannot be changed once set. */
392
412
  purposeData?: {[P in string]: string};
393
- /** Required. Immutable. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace. The short name must be 1-63 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. */
413
+ /** Required. Immutable. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace. The short name must be 1-256 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. */
394
414
  shortName?: string;
395
415
  /** Output only. Update time. */
396
416
  updateTime?: string;
@@ -408,7 +428,7 @@ declare namespace gapi.client {
408
428
  namespacedName?: string;
409
429
  /** Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`. */
410
430
  parent?: string;
411
- /** Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. */
431
+ /** Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 256 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. */
412
432
  shortName?: string;
413
433
  /** Output only. Update time. */
414
434
  updateTime?: string;
@@ -1138,6 +1158,126 @@ declare namespace gapi.client {
1138
1158
  uploadType?: string;
1139
1159
  }): Request<ListLiensResponse>;
1140
1160
  }
1161
+ interface EffectiveTagBindingCollectionsResource {
1162
+ /** Returns effective tag bindings on a GCP resource. */
1163
+ get(request?: {
1164
+ /** V1 error format. */
1165
+ '$.xgafv'?: string;
1166
+ /** OAuth access token. */
1167
+ access_token?: string;
1168
+ /** Data format for response. */
1169
+ alt?: string;
1170
+ /** JSONP */
1171
+ callback?: string;
1172
+ /** Selector specifying which fields to include in a partial response. */
1173
+ fields?: string;
1174
+ /** 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. */
1175
+ key?: string;
1176
+ /** Required. The full name of the EffectiveTagBindingCollection in format: `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the resource the TagBindings are bound to. E.g. "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" */
1177
+ name: string;
1178
+ /** OAuth 2.0 token for the current user. */
1179
+ oauth_token?: string;
1180
+ /** Returns response with indentations and line breaks. */
1181
+ prettyPrint?: boolean;
1182
+ /** 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. */
1183
+ quotaUser?: string;
1184
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1185
+ upload_protocol?: string;
1186
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1187
+ uploadType?: string;
1188
+ }): Request<EffectiveTagBindingCollection>;
1189
+ }
1190
+ interface TagBindingCollectionsResource {
1191
+ /** Returns tag bindings directly attached to a GCP resource. */
1192
+ get(request?: {
1193
+ /** V1 error format. */
1194
+ '$.xgafv'?: string;
1195
+ /** OAuth access token. */
1196
+ access_token?: string;
1197
+ /** Data format for response. */
1198
+ alt?: string;
1199
+ /** JSONP */
1200
+ callback?: string;
1201
+ /** Selector specifying which fields to include in a partial response. */
1202
+ fields?: string;
1203
+ /** 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. */
1204
+ key?: string;
1205
+ /** Required. The full name of the TagBindingCollection in format: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the enoded-full-resource-name is the UTF-8 encoded name of the resource the TagBindings are bound to. E.g. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" */
1206
+ name: string;
1207
+ /** OAuth 2.0 token for the current user. */
1208
+ oauth_token?: string;
1209
+ /** Returns response with indentations and line breaks. */
1210
+ prettyPrint?: boolean;
1211
+ /** 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. */
1212
+ quotaUser?: string;
1213
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1214
+ upload_protocol?: string;
1215
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1216
+ uploadType?: string;
1217
+ }): Request<TagBindingCollection>;
1218
+ /** Updates tag bindings directly attached to a GCP resource. */
1219
+ update(request: {
1220
+ /** V1 error format. */
1221
+ '$.xgafv'?: string;
1222
+ /** OAuth access token. */
1223
+ access_token?: string;
1224
+ /** Data format for response. */
1225
+ alt?: string;
1226
+ /** JSONP */
1227
+ callback?: string;
1228
+ /** Selector specifying which fields to include in a partial response. */
1229
+ fields?: string;
1230
+ /** 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. */
1231
+ key?: string;
1232
+ /** Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" */
1233
+ name: string;
1234
+ /** OAuth 2.0 token for the current user. */
1235
+ oauth_token?: string;
1236
+ /** Returns response with indentations and line breaks. */
1237
+ prettyPrint?: boolean;
1238
+ /** 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. */
1239
+ quotaUser?: string;
1240
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1241
+ upload_protocol?: string;
1242
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1243
+ uploadType?: string;
1244
+ /** Request body */
1245
+ resource: TagBindingCollection;
1246
+ }): Request<Operation>;
1247
+ update(
1248
+ request: {
1249
+ /** V1 error format. */
1250
+ '$.xgafv'?: string;
1251
+ /** OAuth access token. */
1252
+ access_token?: string;
1253
+ /** Data format for response. */
1254
+ alt?: string;
1255
+ /** JSONP */
1256
+ callback?: string;
1257
+ /** Selector specifying which fields to include in a partial response. */
1258
+ fields?: string;
1259
+ /** 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. */
1260
+ key?: string;
1261
+ /** Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" */
1262
+ name: string;
1263
+ /** OAuth 2.0 token for the current user. */
1264
+ oauth_token?: string;
1265
+ /** Returns response with indentations and line breaks. */
1266
+ prettyPrint?: boolean;
1267
+ /** 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. */
1268
+ quotaUser?: string;
1269
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1270
+ upload_protocol?: string;
1271
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1272
+ uploadType?: string;
1273
+ },
1274
+ body: TagBindingCollection,
1275
+ ): Request<Operation>;
1276
+ }
1277
+ interface LocationsResource {
1278
+ effectiveTagBindingCollections: EffectiveTagBindingCollectionsResource;
1279
+ tagBindingCollections: TagBindingCollectionsResource;
1280
+ }
1141
1281
  interface OperationsResource {
1142
1282
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1143
1283
  get(request?: {
@@ -2675,6 +2815,8 @@ declare namespace gapi.client {
2675
2815
 
2676
2816
  const liens: LiensResource;
2677
2817
 
2818
+ const locations: LocationsResource;
2819
+
2678
2820
  const operations: OperationsResource;
2679
2821
 
2680
2822
  const organizations: OrganizationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudresourcemanager-v3",
3
- "version": "0.0.20250508",
3
+ "version": "0.0.20250606",
4
4
  "description": "TypeScript typings for Cloud Resource Manager API v3",
5
5
  "repository": {
6
6
  "type": "git",