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

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 +147 -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: 20250522
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. */
@@ -361,6 +369,16 @@ declare namespace gapi.client {
361
369
  /** 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
370
  tagValueNamespacedName?: string;
363
371
  }
372
+ interface TagBindingCollection {
373
+ /** Optional. A checksum based on the current bindings which can be passed to prevent race conditions. This field is always set in server responses. */
374
+ etag?: string;
375
+ /** The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123` */
376
+ fullResourceName?: string;
377
+ /** 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" */
378
+ name?: string;
379
+ /** Tag keys/values directly bound to this resource, specified in namespaced format. For example: "123/environment": "production" */
380
+ tags?: {[P in string]: string};
381
+ }
364
382
  interface TagHold {
365
383
  /** Output only. The time this TagHold was created. */
366
384
  createTime?: string;
@@ -390,7 +408,7 @@ declare namespace gapi.client {
390
408
  purpose?: string;
391
409
  /** 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
410
  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. */
411
+ /** 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
412
  shortName?: string;
395
413
  /** Output only. Update time. */
396
414
  updateTime?: string;
@@ -408,7 +426,7 @@ declare namespace gapi.client {
408
426
  namespacedName?: string;
409
427
  /** Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`. */
410
428
  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. */
429
+ /** 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
430
  shortName?: string;
413
431
  /** Output only. Update time. */
414
432
  updateTime?: string;
@@ -1138,6 +1156,130 @@ declare namespace gapi.client {
1138
1156
  uploadType?: string;
1139
1157
  }): Request<ListLiensResponse>;
1140
1158
  }
1159
+ interface EffectiveTagBindingCollectionsResource {
1160
+ /** Returns effective tag bindings on a GCP resource. */
1161
+ get(request?: {
1162
+ /** V1 error format. */
1163
+ '$.xgafv'?: string;
1164
+ /** OAuth access token. */
1165
+ access_token?: string;
1166
+ /** Data format for response. */
1167
+ alt?: string;
1168
+ /** JSONP */
1169
+ callback?: string;
1170
+ /** Selector specifying which fields to include in a partial response. */
1171
+ fields?: string;
1172
+ /** 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. */
1173
+ key?: string;
1174
+ /** 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" */
1175
+ name: string;
1176
+ /** OAuth 2.0 token for the current user. */
1177
+ oauth_token?: string;
1178
+ /** Returns response with indentations and line breaks. */
1179
+ prettyPrint?: boolean;
1180
+ /** 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. */
1181
+ quotaUser?: string;
1182
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1183
+ upload_protocol?: string;
1184
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1185
+ uploadType?: string;
1186
+ }): Request<EffectiveTagBindingCollection>;
1187
+ }
1188
+ interface TagBindingCollectionsResource {
1189
+ /** Returns tag bindings directly attached to a GCP resource. */
1190
+ get(request?: {
1191
+ /** V1 error format. */
1192
+ '$.xgafv'?: string;
1193
+ /** OAuth access token. */
1194
+ access_token?: string;
1195
+ /** Data format for response. */
1196
+ alt?: string;
1197
+ /** JSONP */
1198
+ callback?: string;
1199
+ /** Selector specifying which fields to include in a partial response. */
1200
+ fields?: string;
1201
+ /** 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. */
1202
+ key?: string;
1203
+ /** 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" */
1204
+ name: string;
1205
+ /** OAuth 2.0 token for the current user. */
1206
+ oauth_token?: string;
1207
+ /** Returns response with indentations and line breaks. */
1208
+ prettyPrint?: boolean;
1209
+ /** 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. */
1210
+ quotaUser?: string;
1211
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1212
+ upload_protocol?: string;
1213
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1214
+ uploadType?: string;
1215
+ }): Request<TagBindingCollection>;
1216
+ /** Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*". */
1217
+ patch(request: {
1218
+ /** V1 error format. */
1219
+ '$.xgafv'?: string;
1220
+ /** OAuth access token. */
1221
+ access_token?: string;
1222
+ /** Data format for response. */
1223
+ alt?: string;
1224
+ /** JSONP */
1225
+ callback?: string;
1226
+ /** Selector specifying which fields to include in a partial response. */
1227
+ fields?: string;
1228
+ /** 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. */
1229
+ key?: string;
1230
+ /** 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" */
1231
+ name: string;
1232
+ /** OAuth 2.0 token for the current user. */
1233
+ oauth_token?: string;
1234
+ /** Returns response with indentations and line breaks. */
1235
+ prettyPrint?: boolean;
1236
+ /** 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. */
1237
+ quotaUser?: string;
1238
+ /** Optional. An update mask to selectively update fields. */
1239
+ updateMask?: 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
+ patch(
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
+ /** Optional. An update mask to selectively update fields. */
1270
+ updateMask?: string;
1271
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1272
+ upload_protocol?: string;
1273
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1274
+ uploadType?: string;
1275
+ },
1276
+ body: TagBindingCollection,
1277
+ ): Request<Operation>;
1278
+ }
1279
+ interface LocationsResource {
1280
+ effectiveTagBindingCollections: EffectiveTagBindingCollectionsResource;
1281
+ tagBindingCollections: TagBindingCollectionsResource;
1282
+ }
1141
1283
  interface OperationsResource {
1142
1284
  /** 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
1285
  get(request?: {
@@ -2675,6 +2817,8 @@ declare namespace gapi.client {
2675
2817
 
2676
2818
  const liens: LiensResource;
2677
2819
 
2820
+ const locations: LocationsResource;
2821
+
2678
2822
  const operations: OperationsResource;
2679
2823
 
2680
2824
  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.20250522",
4
4
  "description": "TypeScript typings for Cloud Resource Manager API v3",
5
5
  "repository": {
6
6
  "type": "git",