@maxim_mazurok/gapi.client.cloudresourcemanager-v3 0.0.20250306 → 0.0.20250424

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 +103 -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://cloudresourcemanager.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20250306
12
+ // Revision: 20250424
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -48,6 +48,12 @@ declare namespace gapi.client {
48
48
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
49
49
  role?: string;
50
50
  }
51
+ interface Capability {
52
+ /** Immutable. Identifier. The resource name of the capability. Must be in the following form: * `folders/{folder_id}/capabilities/{capability_name}` For example, `folders/123/capabilities/app-management` Following are the allowed {capability_name} values: * `app-management` */
53
+ name?: string;
54
+ /** Required. The configured value of the capability at the given parent resource. */
55
+ value?: boolean;
56
+ }
51
57
  interface CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation {
52
58
  /** The resource name of the folder or organization we are either creating the folder under or moving the folder to. */
53
59
  destinationParent?: string;
@@ -117,6 +123,8 @@ declare namespace gapi.client {
117
123
  title?: string;
118
124
  }
119
125
  interface Folder {
126
+ /** Output only. Optional capabilities configured for this folder (via UpdateCapability API). Example: `folders/123/capabilities/app-management`. */
127
+ configuredCapabilities?: string[];
120
128
  /** Output only. Timestamp when the folder was created. */
121
129
  createTime?: string;
122
130
  /** Output only. Timestamp when the folder was requested to be deleted. */
@@ -125,6 +133,8 @@ declare namespace gapi.client {
125
133
  displayName?: string;
126
134
  /** Output only. A checksum computed by the server based on the current value of the folder resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
127
135
  etag?: string;
136
+ /** Output only. Management Project associated with this folder (if app-management capability is enabled). Example: `projects/google-mp-123` OUTPUT ONLY. */
137
+ managementProject?: string;
128
138
  /** Output only. The resource name of the folder. Its format is `folders/{folder_id}`, for example: "folders/1234". */
129
139
  name?: string;
130
140
  /** Required. The folder's parent's resource name. Updates to the folder's parent must be performed using MoveFolder. */
@@ -453,6 +463,97 @@ declare namespace gapi.client {
453
463
  uploadType?: string;
454
464
  }): Request<ListEffectiveTagsResponse>;
455
465
  }
466
+ interface CapabilitiesResource {
467
+ /** Retrieves the Capability identified by the supplied resource name. */
468
+ get(request?: {
469
+ /** V1 error format. */
470
+ '$.xgafv'?: string;
471
+ /** OAuth access token. */
472
+ access_token?: string;
473
+ /** Data format for response. */
474
+ alt?: string;
475
+ /** JSONP */
476
+ callback?: string;
477
+ /** Selector specifying which fields to include in a partial response. */
478
+ fields?: string;
479
+ /** 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. */
480
+ key?: string;
481
+ /** Required. The name of the capability to get. For example, `folders/123/capabilities/app-management` */
482
+ name: string;
483
+ /** OAuth 2.0 token for the current user. */
484
+ oauth_token?: string;
485
+ /** Returns response with indentations and line breaks. */
486
+ prettyPrint?: boolean;
487
+ /** 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. */
488
+ quotaUser?: string;
489
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
490
+ upload_protocol?: string;
491
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
492
+ uploadType?: string;
493
+ }): Request<Capability>;
494
+ /** Updates the Capability. */
495
+ patch(request: {
496
+ /** V1 error format. */
497
+ '$.xgafv'?: string;
498
+ /** OAuth access token. */
499
+ access_token?: string;
500
+ /** Data format for response. */
501
+ alt?: string;
502
+ /** JSONP */
503
+ callback?: string;
504
+ /** Selector specifying which fields to include in a partial response. */
505
+ fields?: string;
506
+ /** 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. */
507
+ key?: string;
508
+ /** Immutable. Identifier. The resource name of the capability. Must be in the following form: * `folders/{folder_id}/capabilities/{capability_name}` For example, `folders/123/capabilities/app-management` Following are the allowed {capability_name} values: * `app-management` */
509
+ name: string;
510
+ /** OAuth 2.0 token for the current user. */
511
+ oauth_token?: string;
512
+ /** Returns response with indentations and line breaks. */
513
+ prettyPrint?: boolean;
514
+ /** 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. */
515
+ quotaUser?: string;
516
+ /** Optional. The list of fields to update. Only [Capability.value] can be updated. */
517
+ updateMask?: string;
518
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
519
+ upload_protocol?: string;
520
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
521
+ uploadType?: string;
522
+ /** Request body */
523
+ resource: Capability;
524
+ }): Request<Operation>;
525
+ patch(
526
+ request: {
527
+ /** V1 error format. */
528
+ '$.xgafv'?: string;
529
+ /** OAuth access token. */
530
+ access_token?: string;
531
+ /** Data format for response. */
532
+ alt?: string;
533
+ /** JSONP */
534
+ callback?: string;
535
+ /** Selector specifying which fields to include in a partial response. */
536
+ fields?: string;
537
+ /** 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. */
538
+ key?: string;
539
+ /** Immutable. Identifier. The resource name of the capability. Must be in the following form: * `folders/{folder_id}/capabilities/{capability_name}` For example, `folders/123/capabilities/app-management` Following are the allowed {capability_name} values: * `app-management` */
540
+ name: string;
541
+ /** OAuth 2.0 token for the current user. */
542
+ oauth_token?: string;
543
+ /** Returns response with indentations and line breaks. */
544
+ prettyPrint?: boolean;
545
+ /** 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. */
546
+ quotaUser?: string;
547
+ /** Optional. The list of fields to update. Only [Capability.value] can be updated. */
548
+ updateMask?: string;
549
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
550
+ upload_protocol?: string;
551
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
552
+ uploadType?: string;
553
+ },
554
+ body: Capability,
555
+ ): Request<Operation>;
556
+ }
456
557
  interface FoldersResource {
457
558
  /** Creates a folder in the resource hierarchy. Returns an `Operation` which can be used to track the progress of the folder creation workflow. Upon success, the `Operation.response` field will be populated with the created Folder. In order to succeed, the addition of this new folder must not violate the folder naming, height, or fanout constraints. + The folder's `display_name` must be distinct from all other folders that share its parent. + The addition of the folder must not cause the active folder hierarchy to exceed a height of 10. Note, the full active + deleted folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the folder must not cause the total number of folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the `CreateFolder` request, with status code `FAILED_PRECONDITION` and an error description. Other folder constraint violations will be communicated in the `Operation`, with the specific `PreconditionFailure` returned in the details list in the `Operation.error` field. The caller must have `resourcemanager.folders.create` permission on the identified parent. */
458
559
  create(request: {
@@ -894,6 +995,7 @@ declare namespace gapi.client {
894
995
  },
895
996
  body: UndeleteFolderRequest,
896
997
  ): Request<Operation>;
998
+ capabilities: CapabilitiesResource;
897
999
  }
898
1000
  interface LiensResource {
899
1001
  /** Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudresourcemanager-v3",
3
- "version": "0.0.20250306",
3
+ "version": "0.0.20250424",
4
4
  "description": "TypeScript typings for Cloud Resource Manager API v3",
5
5
  "repository": {
6
6
  "type": "git",