3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class GkeCluster : IMessage<GkeCluster>, IEquatable<GkeCluster>, IDeepCloneable<GkeCluster>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class GkeCluster.

Information specifying a GKE Cluster.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GkeCluster

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GkeCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GkeCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GkeCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Deploy.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.md.txt)

## Assembly

Google.Cloud.Deploy.V1.dll

## Constructors

### GkeCluster()

    public GkeCluster()

### GkeCluster(GkeCluster)

    public GkeCluster(GkeCluster other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GkeCluster` |

## Properties

### Cluster

    public string Cluster { get; set; }

Optional. Information specifying a GKE Cluster. Format is
`projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ClusterAsClusterName

    public ClusterName ClusterAsClusterName { get; set; }

[ClusterName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.ClusterName.md.txt)-typed view over the [Cluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.GkeCluster.md.txt#Google_Cloud_Deploy_V1_GkeCluster_Cluster) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ClusterName` |   |

### DnsEndpoint

    public bool DnsEndpoint { get; set; }

Optional. If set, the cluster will be accessed using the DNS endpoint. Note
that both `dns_endpoint` and `internal_ip` cannot be set to true.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### InternalIp

    public bool InternalIp { get; set; }

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](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
Note that `internal_ip` and `dns_endpoint` cannot both be set to true.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ProxyUrl

    public string ProxyUrl { get; set; }

Optional. If set, used to configure a
[proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy)
to the Kubernetes server.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |