# GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::ConnectAgent (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::ConnectAgent.

The information required from end users to use GKE Connect.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Do not set.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Do not set.
**Returns**

- (::String) --- Do not set.

### #namespace

    def namespace() -> ::String

**Returns**

- (::String) --- 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.

### #namespace=

    def namespace=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #proxy

    def proxy() -> ::String

**Returns**

- (::String) --- 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.

### #proxy=

    def proxy=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.