@maxim_mazurok/gapi.client.cloudresourcemanager-v2 0.0.20250121 → 0.0.20250130
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.
- package/index.d.ts +11 -11
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250130
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Cloud Resource Manager API v2 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2'
|
|
19
|
+
urlOrObject: 'https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'cloudresourcemanager', version: 'v2'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'cloudresourcemanager',
|
|
26
26
|
version: 'v2',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace cloudresourcemanager {
|
|
@@ -287,7 +287,7 @@ declare namespace gapi.client {
|
|
|
287
287
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
288
288
|
uploadType?: string;
|
|
289
289
|
},
|
|
290
|
-
body: Folder
|
|
290
|
+
body: Folder,
|
|
291
291
|
): Request<Operation>;
|
|
292
292
|
/** 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. */
|
|
293
293
|
delete(request?: {
|
|
@@ -371,7 +371,7 @@ declare namespace gapi.client {
|
|
|
371
371
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
372
372
|
uploadType?: string;
|
|
373
373
|
},
|
|
374
|
-
body: GetIamPolicyRequest
|
|
374
|
+
body: GetIamPolicyRequest,
|
|
375
375
|
): Request<Policy>;
|
|
376
376
|
/** 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. */
|
|
377
377
|
list(request?: {
|
|
@@ -462,7 +462,7 @@ declare namespace gapi.client {
|
|
|
462
462
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
463
463
|
uploadType?: string;
|
|
464
464
|
},
|
|
465
|
-
body: MoveFolderRequest
|
|
465
|
+
body: MoveFolderRequest,
|
|
466
466
|
): Request<Operation>;
|
|
467
467
|
/** 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. */
|
|
468
468
|
patch(request: {
|
|
@@ -524,7 +524,7 @@ declare namespace gapi.client {
|
|
|
524
524
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
525
525
|
uploadType?: string;
|
|
526
526
|
},
|
|
527
|
-
body: Folder
|
|
527
|
+
body: Folder,
|
|
528
528
|
): Request<Folder>;
|
|
529
529
|
/** 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`. */
|
|
530
530
|
search(request: {
|
|
@@ -578,7 +578,7 @@ declare namespace gapi.client {
|
|
|
578
578
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
579
579
|
uploadType?: string;
|
|
580
580
|
},
|
|
581
|
-
body: SearchFoldersRequest
|
|
581
|
+
body: SearchFoldersRequest,
|
|
582
582
|
): Request<SearchFoldersResponse>;
|
|
583
583
|
/** 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. */
|
|
584
584
|
setIamPolicy(
|
|
@@ -608,7 +608,7 @@ declare namespace gapi.client {
|
|
|
608
608
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
609
609
|
uploadType?: string;
|
|
610
610
|
},
|
|
611
|
-
body: SetIamPolicyRequest
|
|
611
|
+
body: SetIamPolicyRequest,
|
|
612
612
|
): Request<Policy>;
|
|
613
613
|
/** 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. */
|
|
614
614
|
testIamPermissions(
|
|
@@ -638,7 +638,7 @@ declare namespace gapi.client {
|
|
|
638
638
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
639
639
|
uploadType?: string;
|
|
640
640
|
},
|
|
641
|
-
body: TestIamPermissionsRequest
|
|
641
|
+
body: TestIamPermissionsRequest,
|
|
642
642
|
): Request<TestIamPermissionsResponse>;
|
|
643
643
|
/** 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. */
|
|
644
644
|
undelete(request: {
|
|
@@ -696,7 +696,7 @@ declare namespace gapi.client {
|
|
|
696
696
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
697
697
|
uploadType?: string;
|
|
698
698
|
},
|
|
699
|
-
body: UndeleteFolderRequest
|
|
699
|
+
body: UndeleteFolderRequest,
|
|
700
700
|
): Request<Folder>;
|
|
701
701
|
}
|
|
702
702
|
interface OperationsResource {
|
package/package.json
CHANGED
package/readme.md
CHANGED