@maxim_mazurok/gapi.client.cloudresourcemanager-v2beta1 0.0.20250121 → 0.0.20250206

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 (3) hide show
  1. package/index.d.ts +12 -12
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,25 +9,25 @@
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=v2beta1
12
- // Revision: 20250121
12
+ // Revision: 20250206
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Resource Manager API v2beta1 */
18
18
  function load(
19
- urlOrObject: 'https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2beta1'
19
+ urlOrObject: 'https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2beta1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(
23
23
  name: 'cloudresourcemanager',
24
- version: 'v2beta1'
24
+ version: 'v2beta1',
25
25
  ): Promise<void>;
26
26
  /** @deprecated Please load APIs with discovery documents. */
27
27
  function load(
28
28
  name: 'cloudresourcemanager',
29
29
  version: 'v2beta1',
30
- callback: () => any
30
+ callback: () => any,
31
31
  ): void;
32
32
 
33
33
  namespace cloudresourcemanager {
@@ -290,7 +290,7 @@ declare namespace gapi.client {
290
290
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
291
291
  uploadType?: string;
292
292
  },
293
- body: Folder
293
+ body: Folder,
294
294
  ): Request<Operation>;
295
295
  /** Requests deletion of a Folder. The Folder is moved into the DELETE_REQUESTED state immediately, and is deleted approximately 30 days later. This method may only be called on an empty Folder in the ACTIVE state, where a Folder is empty if it doesn't contain any Folders or Projects in the ACTIVE state. The caller must have `resourcemanager.folders.delete` permission on the identified folder. */
296
296
  delete(request?: {
@@ -374,7 +374,7 @@ declare namespace gapi.client {
374
374
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
375
375
  uploadType?: string;
376
376
  },
377
- body: GetIamPolicyRequest
377
+ body: GetIamPolicyRequest,
378
378
  ): Request<Policy>;
379
379
  /** Lists the Folders that are direct descendants of supplied parent resource. List provides a strongly consistent view of the Folders underneath the specified parent resource. List returns Folders sorted based upon the (ascending) lexical ordering of their display_name. The caller must have `resourcemanager.folders.list` permission on the identified parent. */
380
380
  list(request?: {
@@ -465,7 +465,7 @@ declare namespace gapi.client {
465
465
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
466
466
  uploadType?: string;
467
467
  },
468
- body: MoveFolderRequest
468
+ body: MoveFolderRequest,
469
469
  ): Request<Operation>;
470
470
  /** Updates a Folder, changing its display_name. Changes to the folder display_name will be rejected if they violate either the display_name formatting rules or naming constraints described in the CreateFolder documentation. The Folder's display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be between 3 and 30 characters. This is captured by the regular expression: `\p{L}\p{N}{1,28}[\p{L}\p{N}]`. The caller must have `resourcemanager.folders.update` permission on the identified folder. If the update fails due to the unique name constraint then a PreconditionFailure explaining this violation will be returned in the Status.details field. */
471
471
  patch(request: {
@@ -527,7 +527,7 @@ declare namespace gapi.client {
527
527
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
528
528
  uploadType?: string;
529
529
  },
530
- body: Folder
530
+ body: Folder,
531
531
  ): Request<Folder>;
532
532
  /** Search for folders that match specific filter criteria. Search provides an eventually consistent view of the folders a user has access to which meet the specified filter criteria. This will only return folders on which the caller has the permission `resourcemanager.folders.get`. */
533
533
  search(request: {
@@ -581,7 +581,7 @@ declare namespace gapi.client {
581
581
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
582
582
  uploadType?: string;
583
583
  },
584
- body: SearchFoldersRequest
584
+ body: SearchFoldersRequest,
585
585
  ): Request<SearchFoldersResponse>;
586
586
  /** Sets the access control policy on a Folder, replacing any existing policy. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. */
587
587
  setIamPolicy(
@@ -611,7 +611,7 @@ declare namespace gapi.client {
611
611
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
612
612
  uploadType?: string;
613
613
  },
614
- body: SetIamPolicyRequest
614
+ body: SetIamPolicyRequest,
615
615
  ): Request<Policy>;
616
616
  /** Returns permissions that a caller has on the specified Folder. The `resource` field should be the Folder's resource name, e.g. "folders/1234". There are no permissions required for making this API call. */
617
617
  testIamPermissions(
@@ -641,7 +641,7 @@ declare namespace gapi.client {
641
641
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
642
642
  uploadType?: string;
643
643
  },
644
- body: TestIamPermissionsRequest
644
+ body: TestIamPermissionsRequest,
645
645
  ): Request<TestIamPermissionsResponse>;
646
646
  /** Cancels the deletion request for a Folder. This method may only be called on a Folder in the DELETE_REQUESTED state. In order to succeed, the Folder's parent must be in the ACTIVE state. In addition, reintroducing the folder into the tree must not violate folder naming, height and fanout constraints described in the CreateFolder documentation. The caller must have `resourcemanager.folders.undelete` permission on the identified folder. */
647
647
  undelete(request: {
@@ -699,7 +699,7 @@ declare namespace gapi.client {
699
699
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
700
700
  uploadType?: string;
701
701
  },
702
- body: UndeleteFolderRequest
702
+ body: UndeleteFolderRequest,
703
703
  ): Request<Folder>;
704
704
  }
705
705
  interface OperationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudresourcemanager-v2beta1",
3
- "version": "0.0.20250121",
3
+ "version": "0.0.20250206",
4
4
  "description": "TypeScript typings for Cloud Resource Manager API v2beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.cloudresourcemanager
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -65,7 +65,7 @@ gapi.auth.authorize(
65
65
  } else {
66
66
  /* handle authorization error */
67
67
  }
68
- }
68
+ },
69
69
  );
70
70
  ```
71
71