Class: Google::Cloud::GkeHub::V1::CompliancePostureConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1/fleet.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

Instance Attribute Details

#compliance_standards::Array<::Google::Cloud::GkeHub::V1::CompliancePostureConfig::ComplianceStandard>

Returns List of enabled compliance standards.

Returns:



183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# File 'proto_docs/google/cloud/gkehub/v1/fleet.rb', line 183

class CompliancePostureConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] standard
  #   @return [::String]
  #     Name of the compliance standard.
  class ComplianceStandard
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  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::GkeHub::V1::CompliancePostureConfig::Mode

Returns Defines the enablement mode for Compliance Posture.

Returns:



183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# File 'proto_docs/google/cloud/gkehub/v1/fleet.rb', line 183

class CompliancePostureConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] standard
  #   @return [::String]
  #     Name of the compliance standard.
  class ComplianceStandard
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  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