Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::CompliancePostureConfig.
CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compliance_standards
def compliance_standards() -> ::Array<::Google::Cloud::Container::V1::CompliancePostureConfig::ComplianceStandard>
Returns
- (::Array<::Google::Cloud::Container::V1::CompliancePostureConfig::ComplianceStandard>) — List of enabled compliance standards.
#compliance_standards=
def compliance_standards=(value) -> ::Array<::Google::Cloud::Container::V1::CompliancePostureConfig::ComplianceStandard>
Parameter
- value (::Array<::Google::Cloud::Container::V1::CompliancePostureConfig::ComplianceStandard>) — List of enabled compliance standards.
Returns
- (::Array<::Google::Cloud::Container::V1::CompliancePostureConfig::ComplianceStandard>) — List of enabled compliance standards.
#mode
def mode() -> ::Google::Cloud::Container::V1::CompliancePostureConfig::Mode
Returns
- (::Google::Cloud::Container::V1::CompliancePostureConfig::Mode) — Defines the enablement mode for Compliance Posture.
#mode=
def mode=(value) -> ::Google::Cloud::Container::V1::CompliancePostureConfig::Mode
Parameter
- value (::Google::Cloud::Container::V1::CompliancePostureConfig::Mode) — Defines the enablement mode for Compliance Posture.
Returns
- (::Google::Cloud::Container::V1::CompliancePostureConfig::Mode) — Defines the enablement mode for Compliance Posture.