OrganizationPolicyArgs class

The set of arguments for OrganizationPolicy. The set of arguments for OrganizationPolicy.

Constructors

OrganizationPolicyArgs({Input<GoogleCloudOrgpolicyV2AlternatePolicySpec>? alternate, Input<GoogleCloudOrgpolicyV2PolicySpec>? dryRunSpec, Input<String>? name, required Input<String> organizationId, Input<GoogleCloudOrgpolicyV2PolicySpec>? spec})
Creates a new OrganizationPolicyArgs. 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. 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. organizationId Required. spec Basic information about the Organization Policy.
const
OrganizationPolicyArgs.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
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
organizationId → Input<String>
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