@maxim_mazurok/gapi.client.cloudresourcemanager-v3 0.0.20230409 → 0.0.20230416

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 +11 -8
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
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: 20230409
12
+ // Revision: 20230416
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -131,11 +131,11 @@ declare namespace gapi.client {
131
131
  * then the tag value is directly attached to the resource, inherited will be false.
132
132
  */
133
133
  inherited?: boolean;
134
- /** The namespaced_name of the TagKey. Now only supported in the format of `{organization_id}/{tag_key_short_name}`. Other formats will be supported when we add non-org parented tags. */
134
+ /** The namespaced name of the TagKey. Can be in the form `{organization_id}/{tag_key_short_name}` or `{project_id}/{tag_key_short_name}` or `{project_number}/{tag_key_short_name}`. */
135
135
  namespacedTagKey?: string;
136
136
  /**
137
- * Namespaced name of the TagValue. Now only supported in the format `{organization_id}/{tag_key_short_name}/{tag_value_short_name}`. Other formats will be supported when we add
138
- * non-org parented tags.
137
+ * The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}`
138
+ * or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.
139
139
  */
140
140
  namespacedTagValue?: string;
141
141
  /** The name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`. */
@@ -534,7 +534,10 @@ declare namespace gapi.client {
534
534
  name?: string;
535
535
  /** Output only. Immutable. Namespaced name of the TagKey. */
536
536
  namespacedName?: string;
537
- /** Immutable. The resource name of the new TagKey's parent. Must be of the form `organizations/{org_id}`. */
537
+ /**
538
+ * Immutable. The resource name of the TagKey's parent. A TagKey can be parented by an Organization or a Project. For a TagKey parented by an Organization, its parent must be in the
539
+ * form `organizations/{org_id}`. For a TagKey parented by a Project, its parent can be in the form `projects/{project_id}` or `projects/{project_number}`.
540
+ */
538
541
  parent?: string;
539
542
  /**
540
543
  * Optional. A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this
@@ -564,8 +567,8 @@ declare namespace gapi.client {
564
567
  /** Immutable. Resource name for TagValue in the format `tagValues/456`. */
565
568
  name?: string;
566
569
  /**
567
- * Output only. Namespaced name of the TagValue. Now only supported in the format `{organization_id}/{tag_key_short_name}/{short_name}`. Other formats will be supported when we add
568
- * non-org parented tags.
570
+ * Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or
571
+ * `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.
569
572
  */
570
573
  namespacedName?: string;
571
574
  /** Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`. */
@@ -2341,7 +2344,7 @@ declare namespace gapi.client {
2341
2344
  pageSize?: number;
2342
2345
  /** Optional. A pagination token returned from a previous call to `ListTagKey` that indicates where this listing should continue from. */
2343
2346
  pageToken?: string;
2344
- /** Required. The resource name of the new TagKey's parent. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. */
2347
+ /** Required. The resource name of the TagKey's parent. Must be of the form `organizations/{org_id}` or `projects/{project_id}` or `projects/{project_number}` */
2345
2348
  parent?: string;
2346
2349
  /** Returns response with indentations and line breaks. */
2347
2350
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudresourcemanager-v3",
3
- "version": "0.0.20230409",
3
+ "version": "0.0.20230416",
4
4
  "description": "TypeScript typings for Cloud Resource Manager API v3",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230409
6
+ // Revision: 20230416
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */