Class: Google::Apis::ContainerV1::CompliancePostureConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::CompliancePostureConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.
Instance Attribute Summary collapse
-
#compliance_standards ⇒ Array<Google::Apis::ContainerV1::ComplianceStandard>
List of enabled compliance standards.
-
#mode ⇒ String
Defines the enablement mode for Compliance Posture.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompliancePostureConfig
constructor
A new instance of CompliancePostureConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompliancePostureConfig
Returns a new instance of CompliancePostureConfig.
2038 2039 2040 |
# File 'lib/google/apis/container_v1/classes.rb', line 2038 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compliance_standards ⇒ Array<Google::Apis::ContainerV1::ComplianceStandard>
List of enabled compliance standards.
Corresponds to the JSON property complianceStandards
2031 2032 2033 |
# File 'lib/google/apis/container_v1/classes.rb', line 2031 def compliance_standards @compliance_standards end |
#mode ⇒ String
Defines the enablement mode for Compliance Posture.
Corresponds to the JSON property mode
2036 2037 2038 |
# File 'lib/google/apis/container_v1/classes.rb', line 2036 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2043 2044 2045 2046 |
# File 'lib/google/apis/container_v1/classes.rb', line 2043 def update!(**args) @compliance_standards = args[:compliance_standards] if args.key?(:compliance_standards) @mode = args[:mode] if args.key?(:mode) end |