Class: Google::Apis::GkehubV1alpha::CompliancePostureConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::CompliancePostureConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture- management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.
Instance Attribute Summary collapse
-
#compliance_standards ⇒ Array<Google::Apis::GkehubV1alpha::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.
1082 1083 1084 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1082 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compliance_standards ⇒ Array<Google::Apis::GkehubV1alpha::ComplianceStandard>
List of enabled compliance standards.
Corresponds to the JSON property complianceStandards
1075 1076 1077 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1075 def compliance_standards @compliance_standards end |
#mode ⇒ String
Defines the enablement mode for Compliance Posture.
Corresponds to the JSON property mode
1080 1081 1082 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1080 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1087 1088 1089 1090 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1087 def update!(**args) @compliance_standards = args[:compliance_standards] if args.key?(:compliance_standards) @mode = args[:mode] if args.key?(:mode) end |