public sealed class MasterAuthorizedNetworksConfig : IMessage<MasterAuthorizedNetworksConfig>, IEquatable<MasterAuthorizedNetworksConfig>, IDeepCloneable<MasterAuthorizedNetworksConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eMasterAuthorizedNetworksConfig\u003c/code\u003e class within the Google Kubernetes Engine v1 API, specifically focusing on version 3.21.0, but also providing links to previous versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMasterAuthorizedNetworksConfig\u003c/code\u003e class allows for the configuration of master authorized networks, which restricts external access to the Kubernetes master through HTTPS to specified CIDR blocks, Google Compute Engine Public IPs, and Google Prod IPs.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eCidrBlocks\u003c/code\u003e, which define the allowed external networks, and \u003ccode\u003eEnabled\u003c/code\u003e, which toggles the master authorized networks feature, as well as the \u003ccode\u003eGcpPublicCidrsAccessEnabled\u003c/code\u003e to set if Google Compute Engine Public IPs can be used to access the master.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMasterAuthorizedNetworksConfig\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and has multiple members inherited from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eConstructor options are availabe for the class by taking no inputs for a default construction, or by providing another \u003ccode\u003eMasterAuthorizedNetworksConfig\u003c/code\u003e object for a duplicate, taking the \u003ccode\u003eother\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,[]]