GoogleCloudAssetV1CustomConstraint
import type { GoogleCloudAssetV1CustomConstraint } from "https://googleapis.deno.dev/v1/cloudasset:v1.ts";
The definition of a custom constraint.
interface GoogleCloudAssetV1CustomConstraint {
actionType?: "ACTION_TYPE_UNSPECIFIED" | "ALLOW" | "DENY";
condition?: string;
description?: string;
displayName?: string;
methodTypes?:
| "METHOD_TYPE_UNSPECIFIED"
| "CREATE"
| "UPDATE"
| "DELETE"[];
name?: string;
resourceTypes?: string[];
}§Properties
§
condition?: string
[src]Organization Policy condition/expression. For example:
resource.instanceName.matches("[production|test]_.*_(\d)+")'
or,
resource.management.auto_upgrade == true
§
methodTypes?: "METHOD_TYPE_UNSPECIFIED" | "CREATE" | "UPDATE" | "DELETE"[]
[src]All the operations being applied for this constraint.