Optional. If true, cluster is accessed using the private IP address of
the control plane endpoint. Otherwise, the default IP address of the
control plane endpoint is used. The default IP address is the private IP
address for clusters with private control-plane endpoints and the public IP
address otherwise.
Only specify this option when cluster is a private GKE
cluster.
Note that internal_ip and dns_endpoint cannot both be set to true.
[[["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\u003eThe latest version of the Google Cloud Deploy v1 API class GkeCluster is 3.4.0, with previous versions ranging down to 1.0.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGkeCluster\u003c/code\u003e class is used to specify information about a GKE Cluster within the Google Cloud Deploy service.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties to define the GKE Cluster's details, such as \u003ccode\u003eCluster\u003c/code\u003e, \u003ccode\u003eDnsEndpoint\u003c/code\u003e, \u003ccode\u003eInternalIp\u003c/code\u003e, and \u003ccode\u003eProxyUrl\u003c/code\u003e, with the ability to use a DNS endpoint, internal IP, or proxy URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGkeCluster\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GkeCluster>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GkeCluster>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGkeCluster\u003c/code\u003e is contained within the namespace \u003ccode\u003eGoogle.Cloud.Deploy.V1\u003c/code\u003e, inside the assembly \u003ccode\u003eGoogle.Cloud.Deploy.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Deploy v1 API - Class GkeCluster (3.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.5.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.4.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.3.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.2.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.1.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.0.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.19.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.18.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.17.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.16.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.15.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.14.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.13.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.12.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.11.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.10.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.9.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.8.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.7.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.6.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.5.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.4.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.3.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.2.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.1.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.0.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.1.0/Google.Cloud.Deploy.V1.GkeCluster)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.0.0/Google.Cloud.Deploy.V1.GkeCluster) \n\n public sealed class GkeCluster : IMessage\u003cGkeCluster\u003e, IEquatable\u003cGkeCluster\u003e, IDeepCloneable\u003cGkeCluster\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Deploy v1 API class GkeCluster.\n\nInformation specifying a GKE Cluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GkeCluster \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GkeCluster](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GkeCluster](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GkeCluster](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster), [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.Deploy.V1](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Deploy.V1.dll\n\nConstructors\n------------\n\n### GkeCluster()\n\n public GkeCluster()\n\n### GkeCluster(GkeCluster)\n\n public GkeCluster(GkeCluster other)\n\nProperties\n----------\n\n### Cluster\n\n public string Cluster { get; set; }\n\nOptional. Information specifying a GKE Cluster. Format is\n`projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.\n\n### ClusterAsClusterName\n\n public ClusterName ClusterAsClusterName { get; set; }\n\n[ClusterName](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.ClusterName)-typed view over the [Cluster](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster#Google_Cloud_Deploy_V1_GkeCluster_Cluster) resource name property.\n\n### DnsEndpoint\n\n public bool DnsEndpoint { get; set; }\n\nOptional. If set, the cluster will be accessed using the DNS endpoint. Note\nthat both `dns_endpoint` and `internal_ip` cannot be set to true.\n\n### InternalIp\n\n public bool InternalIp { get; set; }\n\nOptional. If true, `cluster` is accessed using the private IP address of\nthe control plane endpoint. Otherwise, the default IP address of the\ncontrol plane endpoint is used. The default IP address is the private IP\naddress for clusters with private control-plane endpoints and the public IP\naddress otherwise.\n\nOnly specify this option when `cluster` is a [private GKE\ncluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\nNote that `internal_ip` and `dns_endpoint` cannot both be set to true.\n\n### ProxyUrl\n\n public string ProxyUrl { get; set; }\n\nOptional. If set, used to configure a\n[proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy)\nto the Kubernetes server."]]