Class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
- Inherits:
-
Object
- Object
- Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/orgpolicy_v2/classes.rb,
lib/google/apis/orgpolicy_v2/representations.rb,
lib/google/apis/orgpolicy_v2/representations.rb
Overview
A constraint that is either enforced or not. For example, a constraint
constraints/compute.disableSerialPortAccess. If it is enforced on a VM
instance, serial port connections will not be opened to that instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
constructor
A new instance of GoogleCloudOrgpolicyV2ConstraintBooleanConstraint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
Returns a new instance of GoogleCloudOrgpolicyV2ConstraintBooleanConstraint.
134 135 136 |
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 134 def initialize(**args) update!(**args) end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
139 140 |
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 139 def update!(**args) end |