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.
[[["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-08-07 UTC."],[],[],null,["# Interface GkeClusterOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.GkeClusterOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.GkeClusterOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.GkeClusterOrBuilder) \n\n public interface GkeClusterOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCluster()\n\n public abstract String getCluster()\n\nInformation specifying a GKE Cluster. Format is\n`projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.\n\n`string cluster = 1;`\n\n### getClusterBytes()\n\n public abstract ByteString getClusterBytes()\n\nInformation specifying a GKE Cluster. Format is\n`projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.\n\n`string cluster = 1;`\n\n### getInternalIp()\n\n public abstract boolean getInternalIp()\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.\nOnly specify this option when `cluster` is a [private GKE\ncluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).\n\n`bool internal_ip = 2;`"]]