@maxim_mazurok/gapi.client.orgpolicy-v2 0.0.20240318 → 0.0.20240422
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 +13 -1
- package/package.json +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://orgpolicy.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240422
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -39,6 +39,8 @@ declare namespace gapi.client {
|
|
|
39
39
|
description?: string;
|
|
40
40
|
/** The human readable name. Mutable. */
|
|
41
41
|
displayName?: string;
|
|
42
|
+
/** Defines this constraint as being a GoogleManagedConstraint. */
|
|
43
|
+
googleManagedConstraint?: GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint;
|
|
42
44
|
/** Defines this constraint as being a ListConstraint. */
|
|
43
45
|
listConstraint?: GoogleCloudOrgpolicyV2ConstraintListConstraint;
|
|
44
46
|
/** Immutable. The resource name of the constraint. Must be in one of the following forms: * `projects/{project_number}/constraints/{constraint_name}` * `folders/{folder_id}/constraints/{constraint_name}` * `organizations/{organization_id}/constraints/{constraint_name}` For example, "/projects/123/constraints/compute.disableSerialPortAccess". */
|
|
@@ -47,6 +49,16 @@ declare namespace gapi.client {
|
|
|
47
49
|
supportsDryRun?: boolean;
|
|
48
50
|
}
|
|
49
51
|
interface GoogleCloudOrgpolicyV2ConstraintBooleanConstraint {}
|
|
52
|
+
interface GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint {
|
|
53
|
+
/** Allow or deny type. */
|
|
54
|
+
actionType?: string;
|
|
55
|
+
/** Org policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters. */
|
|
56
|
+
condition?: string;
|
|
57
|
+
/** All the operations being applied for this constraint. */
|
|
58
|
+
methodTypes?: string[];
|
|
59
|
+
/** The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`. */
|
|
60
|
+
resourceTypes?: string[];
|
|
61
|
+
}
|
|
50
62
|
interface GoogleCloudOrgpolicyV2ConstraintListConstraint {
|
|
51
63
|
/** Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group. */
|
|
52
64
|
supportsIn?: boolean;
|