public sealed class PrivateClusterConfig : IMessage<PrivateClusterConfig>, IEquatable<PrivateClusterConfig>, IDeepCloneable<PrivateClusterConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class PrivateClusterConfig.
Whether the master's internal IP address is used as the cluster endpoint.
Deprecated: Use
[ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint]
instead. Note that the value of enable_public_endpoint is reversed: if
enable_private_endpoint is false, then enable_public_endpoint will be true.
Whether nodes have internal IP addresses only. If enabled, all nodes are
given only RFC 1918 private addresses and communicate with the master via
private networking.
Deprecated: Use
[NetworkConfig.default_enable_private_nodes][google.container.v1.NetworkConfig.default_enable_private_nodes]
instead.
The IP range in CIDR notation to use for the hosted master network. This
range will be used for assigning internal IP addresses to the master or
set of masters, as well as the ILB VIP. This range must not overlap with
any other ranges in use within the cluster's network.
Output only. The internal IP address of this cluster's master endpoint.
Deprecated: Use
[ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint]
instead.
Subnet to provision the master's private endpoint during cluster creation.
Specified in projects//regions//subnetworks/* format.
Deprecated: Use
[ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork]
instead.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003ePrivateClusterConfig\u003c/code\u003e class within the Google Kubernetes Engine v1 API, detailing its configuration options for private clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003ePrivateClusterConfig\u003c/code\u003e is 3.33.0, and the page lists a comprehensive history of versions from 3.33.0 down to 2.3.0, all available to browse through.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrivateClusterConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods for interacting with the class and its data.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePrivateClusterConfig\u003c/code\u003e include \u003ccode\u003eMasterIpv4CidrBlock\u003c/code\u003e for defining the master network's IP range and \u003ccode\u003ePeeringName\u003c/code\u003e which is the output-only name for the cluster's peering within the customer's VPC, with other properties relating to endpoint visibility being deprecated.\u003c/p\u003e\n"],["\u003cp\u003eThe provided webpage gives a breakdown of the constructors and parameters associated with the \u003ccode\u003ePrivateClusterConfig\u003c/code\u003e class, along with the assembly and namespace it belongs to for reference.\u003c/p\u003e\n"]]],[],null,["# Google Kubernetes Engine v1 API - Class PrivateClusterConfig (3.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.35.0 (latest)](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.34.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.34.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.33.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.33.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.32.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.32.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.31.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.31.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.30.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.30.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.29.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.29.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.28.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.28.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.27.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.27.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.26.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.26.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.25.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.25.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.24.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.24.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.23.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.22.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.21.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.20.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.19.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.18.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.17.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.16.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.15.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.14.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.13.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.12.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.11.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.10.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.9.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.8.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.7.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.6.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.5.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.4.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.3.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.2.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.1.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.0.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.7.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.6.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.5.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.4.0/Google.Cloud.Container.V1.PrivateClusterConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.3.0/Google.Cloud.Container.V1.PrivateClusterConfig) \n\n public sealed class PrivateClusterConfig : IMessage\u003cPrivateClusterConfig\u003e, IEquatable\u003cPrivateClusterConfig\u003e, IDeepCloneable\u003cPrivateClusterConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Kubernetes Engine v1 API class PrivateClusterConfig.\n\nConfiguration options for private clusters. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PrivateClusterConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PrivateClusterConfig](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.PrivateClusterConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PrivateClusterConfig](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.PrivateClusterConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PrivateClusterConfig](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.PrivateClusterConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Container.V1](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Container.V1.dll\n\nConstructors\n------------\n\n### PrivateClusterConfig()\n\n public PrivateClusterConfig()\n\n### PrivateClusterConfig(PrivateClusterConfig)\n\n public PrivateClusterConfig(PrivateClusterConfig other)\n\nProperties\n----------\n\n### EnablePrivateEndpoint\n\n [Obsolete]\n public bool EnablePrivateEndpoint { get; set; }\n\nWhether the master's internal IP address is used as the cluster endpoint.\n\nDeprecated: Use\n\\[ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint\\]\\[google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint\\]\ninstead. Note that the value of enable_public_endpoint is reversed: if\nenable_private_endpoint is false, then enable_public_endpoint will be true.\n\n### EnablePrivateNodes\n\n [Obsolete]\n public bool EnablePrivateNodes { get; set; }\n\nWhether nodes have internal IP addresses only. If enabled, all nodes are\ngiven only RFC 1918 private addresses and communicate with the master via\nprivate networking.\n\nDeprecated: Use\n\\[NetworkConfig.default_enable_private_nodes\\]\\[google.container.v1.NetworkConfig.default_enable_private_nodes\\]\ninstead.\n\n### MasterGlobalAccessConfig\n\n [Obsolete]\n public PrivateClusterMasterGlobalAccessConfig MasterGlobalAccessConfig { get; set; }\n\nControls master global access settings.\n\nDeprecated: Use\n\\[ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access\\]\\[\\]\ninstead.\n\n### MasterIpv4CidrBlock\n\n public string MasterIpv4CidrBlock { get; set; }\n\nThe IP range in CIDR notation to use for the hosted master network. This\nrange will be used for assigning internal IP addresses to the master or\nset of masters, as well as the ILB VIP. This range must not overlap with\nany other ranges in use within the cluster's network.\n\n### PeeringName\n\n public string PeeringName { get; set; }\n\nOutput only. The peering name in the customer VPC used by this cluster.\n\n### PrivateEndpoint\n\n [Obsolete]\n public string PrivateEndpoint { get; set; }\n\nOutput only. The internal IP address of this cluster's master endpoint.\n\nDeprecated: Use\n\\[ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint\\]\\[google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint\\]\ninstead.\n\n### PrivateEndpointSubnetwork\n\n [Obsolete]\n public string PrivateEndpointSubnetwork { get; set; }\n\nSubnet to provision the master's private endpoint during cluster creation.\nSpecified in projects/*/regions/*/subnetworks/\\* format.\n\nDeprecated: Use\n\\[ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork\\]\\[google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork\\]\ninstead.\n\n### PublicEndpoint\n\n [Obsolete]\n public string PublicEndpoint { get; set; }\n\nOutput only. The external IP address of this cluster's master endpoint.\n\nDeprecated:Use\n\\[ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint\\]\\[google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint\\]\ninstead."]]