Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1alpha/classes.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb
Overview
The proposed changes to OrgPolicy.
Instance Attribute Summary collapse
-
#custom_constraints ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay>
The OrgPolicy CustomConstraint changes to preview violations for.
-
#policies ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay>
The OrgPolicy changes to preview violations for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay
constructor
A new instance of GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay
Returns a new instance of GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay.
999 1000 1001 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_constraints ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay>
The OrgPolicy CustomConstraint changes to preview violations for. Any existing
CustomConstraints with the same name will be overridden in the simulation.
That is, violations will be determined as if all custom constraints in the
overlay were instantiated.
Corresponds to the JSON property customConstraints
990 991 992 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 990 def custom_constraints @custom_constraints end |
#policies ⇒ Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay>
The OrgPolicy changes to preview violations for. Any existing OrgPolicies with
the same name will be overridden in the simulation. That is, violations will
be determined as if all policies in the overlay were created or updated.
Corresponds to the JSON property policies
997 998 999 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 997 def policies @policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1004 1005 1006 1007 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1004 def update!(**args) @custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints) @policies = args[:policies] if args.key?(:policies) end |