Required. The name of the Google Compute Engine in which the cluster
resides, which can either be compute zone (for example, us-central1-a) for
the zonal clusters or region (for example, us-central1) for regional
clusters.
[[["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 document provides reference documentation for the Eventarc v1 API class GKE, representing a GKE destination within the Google Cloud environment.\u003c/p\u003e\n"],["\u003cp\u003eThe GKE class is part of the \u003ccode\u003eGoogle.Cloud.Eventarc.V1\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Eventarc.V1.dll\u003c/code\u003e assembly, with the latest version being 2.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe GKE class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GKE>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GKE>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe GKE class has properties such as \u003ccode\u003eCluster\u003c/code\u003e, \u003ccode\u003eLocation\u003c/code\u003e, \u003ccode\u003eNamespace\u003c/code\u003e, \u003ccode\u003ePath\u003c/code\u003e, and \u003ccode\u003eService\u003c/code\u003e, which are used to define the GKE service details and where events should be routed.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available in the documentation, ranging from version 1.0.0 up to the latest 2.6.0.\u003c/p\u003e\n"]]],[],null,["# Eventarc v1 API - Class GKE (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GKE)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.GKE)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.GKE)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.GKE)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.GKE)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.GKE)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.GKE)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.GKE)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.GKE)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.GKE)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.GKE) \n\n public sealed class GKE : IMessage\u003cGKE\u003e, IEquatable\u003cGKE\u003e, IDeepCloneable\u003cGKE\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Eventarc v1 API class GKE.\n\nRepresents a GKE destination. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GKE \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GKE](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GKE), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GKE](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GKE), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GKE](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GKE), [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.Eventarc.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.V1.dll\n\nConstructors\n------------\n\n### GKE()\n\n public GKE()\n\n### GKE(GKE)\n\n public GKE(GKE other)\n\nProperties\n----------\n\n### Cluster\n\n public string Cluster { get; set; }\n\nRequired. The name of the cluster the GKE service is running in. The\ncluster must be running in the same project as the trigger being created.\n\n### Location\n\n public string Location { get; set; }\n\nRequired. The name of the Google Compute Engine in which the cluster\nresides, which can either be compute zone (for example, us-central1-a) for\nthe zonal clusters or region (for example, us-central1) for regional\nclusters.\n\n### Namespace\n\n public string Namespace { get; set; }\n\nRequired. The namespace the GKE service is running in.\n\n### Path\n\n public string Path { get; set; }\n\nOptional. The relative path on the GKE service the events should be sent\nto.\n\nThe value must conform to the definition of a URI path segment (section 3.3\nof RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".\n\n### Service\n\n public string Service { get; set; }\n\nRequired. Name of the GKE service."]]