Optional. Namespace for GKE Connect agent resources. Defaults to
gke-connect.
The Connect Agent is authorized automatically when run in the default
namespace. Otherwise, explicit authorization must be granted with an
additional IAM binding.
Optional. URI of a proxy if connectivity from the agent to
gkeconnect.googleapis.com requires the use of a proxy. Format must be in
the form http(s)://{proxy_address}, depending on the HTTP/HTTPS protocol
supported by the proxy. This will direct the connect agent's outbound
traffic through a HTTP(S) proxy.
[[["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 \u003ccode\u003eConnectAgent\u003c/code\u003e class is part of the Google Cloud GKE Hub v1beta1 API, designed for managing GKE Connect operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eConnectAgent\u003c/code\u003e is \u003ccode\u003e2.0.0-beta07\u003c/code\u003e, with previous versions available including \u003ccode\u003e2.0.0-beta06\u003c/code\u003e and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enhancing its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectAgent\u003c/code\u003e class has properties like \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eNamespace\u003c/code\u003e, and \u003ccode\u003eProxy\u003c/code\u003e, allowing for configurations such as specifying a namespace or defining a proxy for agent connectivity.\u003c/p\u003e\n"],["\u003cp\u003eYou can construct the \u003ccode\u003eConnectAgent\u003c/code\u003e object with no arguments, or using another \u003ccode\u003eConnectAgent\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1beta1 API - Class ConnectAgent (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ConnectAgent)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta06/Google.Cloud.GkeHub.V1Beta1.ConnectAgent)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.ConnectAgent) \n\n public sealed class ConnectAgent : IMessage\u003cConnectAgent\u003e, IEquatable\u003cConnectAgent\u003e, IDeepCloneable\u003cConnectAgent\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1beta1 API class ConnectAgent.\n\nThe information required from end users to use GKE Connect. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConnectAgent \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConnectAgent](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ConnectAgent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConnectAgent](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ConnectAgent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConnectAgent](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ConnectAgent), [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.GkeHub.V1Beta1](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1Beta1.dll\n\nConstructors\n------------\n\n### ConnectAgent()\n\n public ConnectAgent()\n\n### ConnectAgent(ConnectAgent)\n\n public ConnectAgent(ConnectAgent other)\n\nProperties\n----------\n\n### Name\n\n [Obsolete]\n public string Name { get; set; }\n\nDo not set.\n\n### Namespace\n\n public string Namespace { get; set; }\n\nOptional. Namespace for GKE Connect agent resources. Defaults to\n`gke-connect`.\n\nThe Connect Agent is authorized automatically when run in the default\nnamespace. Otherwise, explicit authorization must be granted with an\nadditional IAM binding.\n\n### Proxy\n\n public ByteString Proxy { get; set; }\n\nOptional. URI of a proxy if connectivity from the agent to\ngkeconnect.googleapis.com requires the use of a proxy. Format must be in\nthe form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol\nsupported by the proxy. This will direct the connect agent's outbound\ntraffic through a HTTP(S) proxy."]]