FolderPolicyArgs class

The set of arguments for FolderPolicy. The set of arguments for FolderPolicy.

Constructors

FolderPolicyArgs({Input<GoogleCloudOrgpolicyV2AlternatePolicySpec>? alternate, Input<GoogleCloudOrgpolicyV2PolicySpec>? dryRunSpec, required Input<String> folderId, Input<String>? name, 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.
const
FolderPolicyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

alternate → Input<GoogleCloudOrgpolicyV2AlternatePolicySpec>?
Deprecated.
final
dryRunSpec → Input<GoogleCloudOrgpolicyV2PolicySpec>?
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.
final
folderId → Input<String>
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → Input<GoogleCloudOrgpolicyV2PolicySpec>?
Basic information about the Organization Policy.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited