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:



2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2080

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:



2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2080

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