@maxim_mazurok/gapi.client.cloudresourcemanager-v1beta1 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 +15 -15
- package/package.json +1 -1
- 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=v1beta1
|
|
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 v1beta1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1beta1'
|
|
19
|
+
urlOrObject: 'https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1beta1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(
|
|
23
23
|
name: 'cloudresourcemanager',
|
|
24
|
-
version: 'v1beta1'
|
|
24
|
+
version: 'v1beta1',
|
|
25
25
|
): Promise<void>;
|
|
26
26
|
/** @deprecated Please load APIs with discovery documents. */
|
|
27
27
|
function load(
|
|
28
28
|
name: 'cloudresourcemanager',
|
|
29
29
|
version: 'v1beta1',
|
|
30
|
-
callback: () => any
|
|
30
|
+
callback: () => any,
|
|
31
31
|
): void;
|
|
32
32
|
|
|
33
33
|
namespace cloudresourcemanager {
|
|
@@ -295,7 +295,7 @@ declare namespace gapi.client {
|
|
|
295
295
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
296
296
|
uploadType?: string;
|
|
297
297
|
},
|
|
298
|
-
body: GetIamPolicyRequest
|
|
298
|
+
body: GetIamPolicyRequest,
|
|
299
299
|
): Request<Policy>;
|
|
300
300
|
/** Lists Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the list. */
|
|
301
301
|
list(request?: {
|
|
@@ -356,7 +356,7 @@ declare namespace gapi.client {
|
|
|
356
356
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
357
357
|
uploadType?: string;
|
|
358
358
|
},
|
|
359
|
-
body: SetIamPolicyRequest
|
|
359
|
+
body: SetIamPolicyRequest,
|
|
360
360
|
): Request<Policy>;
|
|
361
361
|
/** Returns permissions that a caller has on the specified Organization. The `resource` field should be the organization's resource name, e.g. "organizations/123". */
|
|
362
362
|
testIamPermissions(
|
|
@@ -386,7 +386,7 @@ declare namespace gapi.client {
|
|
|
386
386
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
387
387
|
uploadType?: string;
|
|
388
388
|
},
|
|
389
|
-
body: TestIamPermissionsRequest
|
|
389
|
+
body: TestIamPermissionsRequest,
|
|
390
390
|
): Request<TestIamPermissionsResponse>;
|
|
391
391
|
/** Updates an Organization resource identified by the specified resource name. */
|
|
392
392
|
update(request: {
|
|
@@ -444,7 +444,7 @@ declare namespace gapi.client {
|
|
|
444
444
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
445
445
|
uploadType?: string;
|
|
446
446
|
},
|
|
447
|
-
body: Organization
|
|
447
|
+
body: Organization,
|
|
448
448
|
): Request<Organization>;
|
|
449
449
|
}
|
|
450
450
|
interface ProjectsResource {
|
|
@@ -504,7 +504,7 @@ declare namespace gapi.client {
|
|
|
504
504
|
/** A now unused experiment opt-out option. */
|
|
505
505
|
useLegacyStack?: boolean;
|
|
506
506
|
},
|
|
507
|
-
body: Project
|
|
507
|
+
body: Project,
|
|
508
508
|
): Request<Project>;
|
|
509
509
|
/** Marks the Project identified by the specified `project_id` (for example, `my-project-123`) for deletion. This method will only affect the Project if it has a lifecycle state of ACTIVE. This method changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified time, at which point the project is no longer accessible. Until the deletion completes, you can check the lifecycle state checked by retrieving the Project with GetProject, and the Project remains visible to ListProjects. However, you cannot update the project. After the deletion completes, the Project is not retrievable by the GetProject and ListProjects methods. The caller must have delete permissions for this Project. */
|
|
510
510
|
delete(request?: {
|
|
@@ -616,7 +616,7 @@ declare namespace gapi.client {
|
|
|
616
616
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
617
617
|
uploadType?: string;
|
|
618
618
|
},
|
|
619
|
-
body: GetAncestryRequest
|
|
619
|
+
body: GetAncestryRequest,
|
|
620
620
|
): Request<GetAncestryResponse>;
|
|
621
621
|
/** Returns the IAM access control policy for the specified Project. Permission is denied if the policy or the resource does not exist. For additional information about resource structure and identification, see [Resource Names](/apis/design/resource_names). */
|
|
622
622
|
getIamPolicy(
|
|
@@ -646,7 +646,7 @@ declare namespace gapi.client {
|
|
|
646
646
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
647
647
|
uploadType?: string;
|
|
648
648
|
},
|
|
649
|
-
body: GetIamPolicyRequest
|
|
649
|
+
body: GetIamPolicyRequest,
|
|
650
650
|
): Request<Policy>;
|
|
651
651
|
/** Lists Projects that the caller has the `resourcemanager.projects.get` permission on and satisfy the specified filter. This method returns Projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the GetProject method. NOTE: If the request filter contains a `parent.type` and `parent.id` and the caller has the `resourcemanager.projects.list` permission on the parent, the results will be drawn from an alternate index which provides more consistent results. In future versions of this API, this List method will be split into List and Search to properly capture the behavioral difference. */
|
|
652
652
|
list(request?: {
|
|
@@ -707,7 +707,7 @@ declare namespace gapi.client {
|
|
|
707
707
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
708
708
|
uploadType?: string;
|
|
709
709
|
},
|
|
710
|
-
body: SetIamPolicyRequest
|
|
710
|
+
body: SetIamPolicyRequest,
|
|
711
711
|
): Request<Policy>;
|
|
712
712
|
/** Returns permissions that a caller has on the specified Project. */
|
|
713
713
|
testIamPermissions(
|
|
@@ -737,7 +737,7 @@ declare namespace gapi.client {
|
|
|
737
737
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
738
738
|
uploadType?: string;
|
|
739
739
|
},
|
|
740
|
-
body: TestIamPermissionsRequest
|
|
740
|
+
body: TestIamPermissionsRequest,
|
|
741
741
|
): Request<TestIamPermissionsResponse>;
|
|
742
742
|
/** Restores the Project identified by the specified `project_id` (for example, `my-project-123`). You can only use this method for a Project that has a lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot be restored. The caller must have undelete permissions for this Project. */
|
|
743
743
|
undelete(request: {
|
|
@@ -795,7 +795,7 @@ declare namespace gapi.client {
|
|
|
795
795
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
796
796
|
uploadType?: string;
|
|
797
797
|
},
|
|
798
|
-
body: UndeleteProjectRequest
|
|
798
|
+
body: UndeleteProjectRequest,
|
|
799
799
|
): Request<{}>;
|
|
800
800
|
/** Updates the attributes of the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have modify permissions for this Project. */
|
|
801
801
|
update(request: {
|
|
@@ -853,7 +853,7 @@ declare namespace gapi.client {
|
|
|
853
853
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
854
854
|
uploadType?: string;
|
|
855
855
|
},
|
|
856
|
-
body: Project
|
|
856
|
+
body: Project,
|
|
857
857
|
): Request<Project>;
|
|
858
858
|
}
|
|
859
859
|
|
package/package.json
CHANGED
package/readme.md
CHANGED