Class: Google::Cloud::Container::V1beta1::ProtectConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

ProtectConfig defines the flags needed to enable/disable features for the Protect API.

Defined Under Namespace

Modules: WorkloadVulnerabilityMode

Instance Attribute Summary collapse

Instance Attribute Details

#workload_config::Google::Cloud::Container::V1beta1::WorkloadConfig

Returns WorkloadConfig defines which actions are enabled for a cluster's workload configurations.

Returns:



2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2235

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

  # WorkloadVulnerabilityMode defines mode to perform vulnerability scanning.
  module WorkloadVulnerabilityMode
    # Default value not specified.
    WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED = 0

    # Disables Workload Vulnerability Scanning feature on the cluster.
    DISABLED = 1

    # Applies basic vulnerability scanning settings for cluster workloads.
    BASIC = 2
  end
end

#workload_vulnerability_mode::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode

Returns Sets which mode to use for Protect workload vulnerability scanning feature.

Returns:



2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2235

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

  # WorkloadVulnerabilityMode defines mode to perform vulnerability scanning.
  module WorkloadVulnerabilityMode
    # Default value not specified.
    WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED = 0

    # Disables Workload Vulnerability Scanning feature on the cluster.
    DISABLED = 1

    # Applies basic vulnerability scanning settings for cluster workloads.
    BASIC = 2
  end
end