class Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google
Compute Engine Public IPs and Google
Prod IPs.
Attributes
cidr_blocks[RW]
cidr_blocks
define up to 10 external networks that could access Kubernetes master through HTTPS. Corresponds to the JSON property `cidrBlocks` @return [Array<Google::Apis::ContainerV1beta1::CidrBlock>]
enabled[RW]
Whether or not master authorized networks is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
enabled?[RW]
Whether or not master authorized networks is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 2729 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_v1beta1/classes.rb, line 2734 def update!(**args) @cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks) @enabled = args[:enabled] if args.key?(:enabled) end