Google.Cloud.OrgPolicy.V1 - Class Policy.Types.RestoreDefault (3.2.0)

public sealed class Policy.Types.RestoreDefault : IMessage<Policy.Types.RestoreDefault>, IEquatable<Policy.Types.RestoreDefault>, IDeepCloneable<Policy.Types.RestoreDefault>, IBufferMessage, IMessage

Reference documentation and code samples for the Google.Cloud.OrgPolicy.V1 class Policy.Types.RestoreDefault.

Ignores policies set above this resource and restores the constraint_default enforcement behavior of the specific Constraint at this resource.

Suppose that constraint_default is set to ALLOW for the Constraint constraints/serviceuser.services. Suppose that organization foo.com sets a Policy at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a Policy with the policy_type restore_default on several experimental projects, restoring the constraint_default enforcement of the Constraint for only those projects, allowing those projects to have all services activated.

Inheritance

object > Policy.Types.RestoreDefault

Namespace

Google.Cloud.OrgPolicy.V1

Assembly

Google.Cloud.OrgPolicy.V1.dll

Constructors

RestoreDefault()

public RestoreDefault()

RestoreDefault(RestoreDefault)

public RestoreDefault(Policy.Types.RestoreDefault other)
Parameter
NameDescription
otherPolicyTypesRestoreDefault