@maxim_mazurok/gapi.client.orgpolicy-v2 0.0.20220907 → 0.0.20220910

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 +3 -1
  2. package/package.json +1 -1
  3. package/tests.ts +3 -1
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
11
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
12
  // Generated from: https://orgpolicy.googleapis.com/$discovery/rest?version=v2
13
- // Revision: 20220907
13
+ // Revision: 20220910
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -80,6 +80,8 @@ declare namespace gapi.client {
80
80
  name?: string;
81
81
  /** Immutable. The Resource Instance type on which this policy applies to. Format will be of the form : "/" Example: * `compute.googleapis.com/Instance`. */
82
82
  resourceTypes?: string[];
83
+ /** Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called */
84
+ updateTime?: string;
83
85
  }
84
86
  interface GoogleCloudOrgpolicyV2ListConstraintsResponse {
85
87
  /** The collection of constraints that are available on the targeted resource. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.orgpolicy-v2",
3
- "version": "0.0.20220907",
3
+ "version": "0.0.20220910",
4
4
  "description": "TypeScript typings for Organization Policy API v2",
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: 20220907
6
+ // Revision: 20220910
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -215,6 +215,7 @@ gapi.load('client', async () => {
215
215
  resourceTypes: [
216
216
  "Test string"
217
217
  ],
218
+ updateTime: "Test string",
218
219
  });
219
220
  /** Deletes a Custom Constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. */
220
221
  await gapi.client.orgpolicy.organizations.customConstraints.delete({
@@ -248,6 +249,7 @@ gapi.load('client', async () => {
248
249
  resourceTypes: [
249
250
  "Test string"
250
251
  ],
252
+ updateTime: "Test string",
251
253
  });
252
254
  /**
253
255
  * Creates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if