@maxim_mazurok/gapi.client.cloudresourcemanager-v3 0.0.20220925 → 0.0.20221020
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 +4 -4
- package/package.json +1 -1
- package/readme.md +3 -3
- package/tests.ts +4 -4
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:
|
|
12
|
+
// Revision: 20221020
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -610,7 +610,7 @@ declare namespace gapi.client {
|
|
|
610
610
|
interface UpdateTagValueMetadata {
|
|
611
611
|
}
|
|
612
612
|
interface EffectiveTagsResource {
|
|
613
|
-
/** Return a list of effective tags for the given
|
|
613
|
+
/** Return a list of effective tags for the given Google Cloud resource, as specified in `parent`. */
|
|
614
614
|
list(request?: {
|
|
615
615
|
/** V1 error format. */
|
|
616
616
|
"$.xgafv"?: string;
|
|
@@ -2001,7 +2001,7 @@ declare namespace gapi.client {
|
|
|
2001
2001
|
body: UndeleteProjectRequest): Request<Operation>;
|
|
2002
2002
|
}
|
|
2003
2003
|
interface TagBindingsResource {
|
|
2004
|
-
/** Creates a TagBinding between a TagValue and a
|
|
2004
|
+
/** Creates a TagBinding between a TagValue and a Google Cloud resource. */
|
|
2005
2005
|
create(request: {
|
|
2006
2006
|
/** V1 error format. */
|
|
2007
2007
|
"$.xgafv"?: string;
|
|
@@ -2088,7 +2088,7 @@ declare namespace gapi.client {
|
|
|
2088
2088
|
uploadType?: string;
|
|
2089
2089
|
}): Request<Operation>;
|
|
2090
2090
|
/**
|
|
2091
|
-
* Lists the TagBindings for the given
|
|
2091
|
+
* Lists the TagBindings for the given Google Cloud resource, as specified with `parent`. NOTE: The `parent` field is expected to be a full resource name:
|
|
2092
2092
|
* https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
2093
2093
|
*/
|
|
2094
2094
|
list(request?: {
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -70,7 +70,7 @@ After that you can use Cloud Resource Manager API resources: <!-- TODO: make thi
|
|
|
70
70
|
```typescript
|
|
71
71
|
|
|
72
72
|
/*
|
|
73
|
-
Return a list of effective tags for the given
|
|
73
|
+
Return a list of effective tags for the given Google Cloud resource, as specified in `parent`.
|
|
74
74
|
*/
|
|
75
75
|
await gapi.client.cloudresourcemanager.effectiveTags.list({ });
|
|
76
76
|
|
|
@@ -235,7 +235,7 @@ Restores the project identified by the specified `name` (for example, `projects/
|
|
|
235
235
|
await gapi.client.cloudresourcemanager.projects.undelete({ name: "name", });
|
|
236
236
|
|
|
237
237
|
/*
|
|
238
|
-
Creates a TagBinding between a TagValue and a
|
|
238
|
+
Creates a TagBinding between a TagValue and a Google Cloud resource.
|
|
239
239
|
*/
|
|
240
240
|
await gapi.client.cloudresourcemanager.tagBindings.create({ });
|
|
241
241
|
|
|
@@ -245,7 +245,7 @@ Deletes a TagBinding.
|
|
|
245
245
|
await gapi.client.cloudresourcemanager.tagBindings.delete({ name: "name", });
|
|
246
246
|
|
|
247
247
|
/*
|
|
248
|
-
Lists the TagBindings for the given
|
|
248
|
+
Lists the TagBindings for the given Google Cloud resource, as specified with `parent`. NOTE: The `parent` field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
249
249
|
*/
|
|
250
250
|
await gapi.client.cloudresourcemanager.tagBindings.list({ });
|
|
251
251
|
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20221020
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -31,7 +31,7 @@ gapi.load('client', async () => {
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
async function run() {
|
|
34
|
-
/** Return a list of effective tags for the given
|
|
34
|
+
/** Return a list of effective tags for the given Google Cloud resource, as specified in `parent`. */
|
|
35
35
|
await gapi.client.cloudresourcemanager.effectiveTags.list({
|
|
36
36
|
pageSize: 42,
|
|
37
37
|
pageToken: "Test string",
|
|
@@ -474,7 +474,7 @@ gapi.load('client', async () => {
|
|
|
474
474
|
name: "Test string",
|
|
475
475
|
}, {
|
|
476
476
|
});
|
|
477
|
-
/** Creates a TagBinding between a TagValue and a
|
|
477
|
+
/** Creates a TagBinding between a TagValue and a Google Cloud resource. */
|
|
478
478
|
await gapi.client.cloudresourcemanager.tagBindings.create({
|
|
479
479
|
validateOnly: true,
|
|
480
480
|
}, {
|
|
@@ -487,7 +487,7 @@ gapi.load('client', async () => {
|
|
|
487
487
|
name: "Test string",
|
|
488
488
|
});
|
|
489
489
|
/**
|
|
490
|
-
* Lists the TagBindings for the given
|
|
490
|
+
* Lists the TagBindings for the given Google Cloud resource, as specified with `parent`. NOTE: The `parent` field is expected to be a full resource name:
|
|
491
491
|
* https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
492
492
|
*/
|
|
493
493
|
await gapi.client.cloudresourcemanager.tagBindings.list({
|