Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::WorkloadPolicyConfig (v0.42.1)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::WorkloadPolicyConfig.

WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_net_admin

def allow_net_admin() -> ::Boolean
Returns
  • (::Boolean) — If true, workloads can use NET_ADMIN capability.

#allow_net_admin=

def allow_net_admin=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, workloads can use NET_ADMIN capability.
Returns
  • (::Boolean) — If true, workloads can use NET_ADMIN capability.