FolderPolicyArgs constructor

const FolderPolicyArgs({
  1. Input<GoogleCloudOrgpolicyV2AlternatePolicySpec>? alternate,
  2. Input<GoogleCloudOrgpolicyV2PolicySpec>? dryRunSpec,
  3. required Input<String> folderId,
  4. Input<String>? name,
  5. Input<GoogleCloudOrgpolicyV2PolicySpec>? spec,
})

Creates a new FolderPolicyArgs. alternate Deprecated. dryRunSpec Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced. folderId Required. name Immutable. The resource name of the policy. Must be one of the following forms, where constraint_name is the name of the constraint which this policy configures: * projects/{project_number}/policies/{constraint_name} * folders/{folder_id}/policies/{constraint_name} * organizations/{organization_id}/policies/{constraint_name} For example, projects/123/policies/compute.disableSerialPortAccess. Note: projects/{project_id}/policies/{constraint_name} is also an acceptable name for API requests, but responses will return the name using the equivalent project number. spec Basic information about the Organization Policy.

Implementation

const FolderPolicyArgs({
  this.alternate,
  this.dryRunSpec,
  required this.folderId,
  this.name,
  this.spec,
});