Class: Google::Apis::ContainerV1beta1::WorkloadConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadConfig

Returns a new instance of WorkloadConfig.



6763
6764
6765
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6763

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#audit_modeString

Sets which mode of auditing should be used for the cluster's workloads. Corresponds to the JSON property auditMode

Returns:

  • (String)


6761
6762
6763
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6761

def audit_mode
  @audit_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6768
6769
6770
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6768

def update!(**args)
  @audit_mode = args[:audit_mode] if args.key?(:audit_mode)
end