Class: Google::Apis::CloudassetV1p7beta1::GoogleCloudOrgpolicyV1RestoreDefault
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p7beta1::GoogleCloudOrgpolicyV1RestoreDefault
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p7beta1/classes.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb
Overview
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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudOrgpolicyV1RestoreDefault
constructor
A new instance of GoogleCloudOrgpolicyV1RestoreDefault.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudOrgpolicyV1RestoreDefault
Returns a new instance of GoogleCloudOrgpolicyV1RestoreDefault.
1090 1091 1092 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1090 def initialize(**args) update!(**args) end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1095 1096 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1095 def update!(**args) end |