@maxim_mazurok/gapi.client.cloudresourcemanager-v3 0.0.20220914 → 0.0.20221016

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 CHANGED
@@ -4,13 +4,12 @@
4
4
  // Nick Amoscato <https://github.com/namoscato>
5
5
  // Declan Vong <https://github.com/declanvong>
6
6
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
- // TypeScript Version: 2.8
8
7
 
9
8
  // IMPORTANT
10
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
11
  // Generated from: https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v3
13
- // Revision: 20220914
12
+ // Revision: 20221016
14
13
 
15
14
  /// <reference types="gapi.client" />
16
15
 
@@ -611,7 +610,7 @@ declare namespace gapi.client {
611
610
  interface UpdateTagValueMetadata {
612
611
  }
613
612
  interface EffectiveTagsResource {
614
- /** Return a list of effective tags for the given cloud resource, as specified in `parent`. */
613
+ /** Return a list of effective tags for the given Google Cloud resource, as specified in `parent`. */
615
614
  list(request?: {
616
615
  /** V1 error format. */
617
616
  "$.xgafv"?: string;
@@ -2002,7 +2001,7 @@ declare namespace gapi.client {
2002
2001
  body: UndeleteProjectRequest): Request<Operation>;
2003
2002
  }
2004
2003
  interface TagBindingsResource {
2005
- /** Creates a TagBinding between a TagValue and a cloud resource (currently project, folder, or organization). */
2004
+ /** Creates a TagBinding between a TagValue and a Google Cloud resource. */
2006
2005
  create(request: {
2007
2006
  /** V1 error format. */
2008
2007
  "$.xgafv"?: string;
@@ -2089,7 +2088,7 @@ declare namespace gapi.client {
2089
2088
  uploadType?: string;
2090
2089
  }): Request<Operation>;
2091
2090
  /**
2092
- * Lists the TagBindings for the given cloud resource, as specified with `parent`. NOTE: The `parent` field is expected to be a full resource name:
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:
2093
2092
  * https://cloud.google.com/apis/design/resource_names#full_resource_name
2094
2093
  */
2095
2094
  list(request?: {
@@ -2109,13 +2108,10 @@ declare namespace gapi.client {
2109
2108
  oauth_token?: string;
2110
2109
  /**
2111
2110
  * Optional. The maximum number of TagBindings to return in the response. The server allows a maximum of 300 TagBindings to return. If unspecified, the server will use 100 as the
2112
- * default. Currently this api returns unpaginated response and `page_size` is ignored.
2111
+ * default.
2113
2112
  */
2114
2113
  pageSize?: number;
2115
- /**
2116
- * Optional. A pagination token returned from a previous call to `ListTagBindings` that indicates where this listing should continue from. Currently this api returns unpaginated
2117
- * response and `page_token` is ignored.
2118
- */
2114
+ /** Optional. A pagination token returned from a previous call to `ListTagBindings` that indicates where this listing should continue from. */
2119
2115
  pageToken?: string;
2120
2116
  /** Required. The full resource name of a resource for which you want to list existing TagBindings. E.g. "//cloudresourcemanager.googleapis.com/projects/123" */
2121
2117
  parent?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudresourcemanager-v3",
3
- "version": "0.0.20220914",
3
+ "version": "0.0.20221016",
4
4
  "description": "TypeScript typings for Cloud Resource Manager API v3",
5
5
  "license": "MIT",
6
6
  "author": {
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 cloud resource, as specified in `parent`.
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 cloud resource (currently project, folder, or organization).
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 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
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: 20220914
6
+ // Revision: 20221016
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 cloud resource, as specified in `parent`. */
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 cloud resource (currently project, folder, or organization). */
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 cloud resource, as specified with `parent`. NOTE: The `parent` field is expected to be a full resource name:
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({