GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1CustomConstraint (google_api_cloud_asset v0.42.0)
View SourceThe definition of a custom constraint.
Attributes
-
actionType(type:String.t, default:nil) - Allow or deny type. -
condition(type:String.t, default:nil) - Organization Policy condition/expression. For example:resource.instanceName.matches("[production|test]_.*_(\d)+")'or,resource.management.auto_upgrade == true -
description(type:String.t, default:nil) - Detailed information about this custom policy constraint. -
displayName(type:String.t, default:nil) - One line display name for the UI. -
methodTypes(type:list(String.t), default:nil) - All the operations being applied for this constraint. -
name(type:String.t, default:nil) - Name of the constraint. This is unique within the organization. Format of the name should be *organizations/{organization_id}/customConstraints/{custom_constraint_id}Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms" -
resourceTypes(type:list(String.t), default:nil) - The Resource Instance type on which this policy applies to. Format will be of the form : "/" Example: *compute.googleapis.com/Instance.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.