class Google::Apis::ContainerV1::NetworkPolicyConfig

Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

Attributes

disabled[RW]

Whether NetworkPolicy is enabled for this cluster. Corresponds to the JSON property `disabled` @return [Boolean]

disabled?[RW]

Whether NetworkPolicy is enabled for this cluster. Corresponds to the JSON property `disabled` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1/classes.rb, line 2508
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1/classes.rb, line 2513
def update!(**args)
  @disabled = args[:disabled] if args.key?(:disabled)
end