Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::WorkloadConfig.
WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audit_mode
def audit_mode() -> ::Google::Cloud::Container::V1beta1::WorkloadConfig::Mode
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadConfig::Mode) — Sets which mode of auditing should be used for the cluster's workloads.
#audit_mode=
def audit_mode=(value) -> ::Google::Cloud::Container::V1beta1::WorkloadConfig::Mode
Parameter
- value (::Google::Cloud::Container::V1beta1::WorkloadConfig::Mode) — Sets which mode of auditing should be used for the cluster's workloads.
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadConfig::Mode) — Sets which mode of auditing should be used for the cluster's workloads.