Class: Google::Cloud::Container::V1beta1::CompliancePostureConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::CompliancePostureConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.
Defined Under Namespace
Modules: Mode Classes: ComplianceStandard
Instance Attribute Summary collapse
-
#compliance_standards ⇒ ::Array<::Google::Cloud::Container::V1beta1::CompliancePostureConfig::ComplianceStandard>
List of enabled compliance standards.
-
#mode ⇒ ::Google::Cloud::Container::V1beta1::CompliancePostureConfig::Mode
Defines the enablement mode for Compliance Posture.
Instance Attribute Details
#compliance_standards ⇒ ::Array<::Google::Cloud::Container::V1beta1::CompliancePostureConfig::ComplianceStandard>
Returns List of enabled compliance standards.
2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2141 class CompliancePostureConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the details of a compliance standard. # @!attribute [rw] standard # @return [::String] # Name of the compliance standard. class ComplianceStandard include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Mode defines enablement mode for Compliance Posture. module Mode # Default value not specified. MODE_UNSPECIFIED = 0 # Disables Compliance Posture features on the cluster. DISABLED = 1 # Enables Compliance Posture features on the cluster. ENABLED = 2 end end |
#mode ⇒ ::Google::Cloud::Container::V1beta1::CompliancePostureConfig::Mode
Returns Defines the enablement mode for Compliance Posture.
2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2141 class CompliancePostureConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the details of a compliance standard. # @!attribute [rw] standard # @return [::String] # Name of the compliance standard. class ComplianceStandard include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Mode defines enablement mode for Compliance Posture. module Mode # Default value not specified. MODE_UNSPECIFIED = 0 # Disables Compliance Posture features on the cluster. DISABLED = 1 # Enables Compliance Posture features on the cluster. ENABLED = 2 end end |