ComputeResourcePolicyKind class sealed

At most one of snapshot_schedule_policy, group_placement_policy, instance_schedule_policy, disk_consistency_group_policy on google_compute_resource_policy: the provider rejects more than one, so each variant sets one of them and a null choice sets none.

Pick one with a dot shorthand: .snapshotSchedulePolicy(...).

Implementers

Constructors

ComputeResourcePolicyKind.diskConsistencyGroupPolicy(ComputeResourcePolicyDiskConsistencyGroupPolicy diskConsistencyGroupPolicy)
Sets disk_consistency_group_policy.
const
factory
ComputeResourcePolicyKind.groupPlacementPolicy(ComputeResourcePolicyGroupPlacementPolicy groupPlacementPolicy)
Sets group_placement_policy.
const
factory
ComputeResourcePolicyKind.instanceSchedulePolicy(ComputeResourcePolicyInstanceSchedulePolicy instanceSchedulePolicy)
Sets instance_schedule_policy.
const
factory
ComputeResourcePolicyKind.snapshotSchedulePolicy(ComputeResourcePolicySnapshotSchedulePolicy snapshotSchedulePolicy)
Sets snapshot_schedule_policy.
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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