Interface ConnectAgentOrBuilder (1.35.0)

public interface ConnectAgentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName() (deprecated)

public abstract String getName()

Deprecated. google.cloud.gkehub.v1beta1.ConnectAgent.name is deprecated. See google/cloud/gkehub/v1beta1/membership.proto;l=844

Do not set.

string name = 1 [deprecated = true];

Returns
TypeDescription
String

The name.

getNameBytes() (deprecated)

public abstract ByteString getNameBytes()

Deprecated. google.cloud.gkehub.v1beta1.ConnectAgent.name is deprecated. See google/cloud/gkehub/v1beta1/membership.proto;l=844

Do not set.

string name = 1 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for name.

getNamespace()

public abstract String getNamespace()

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.

string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The namespace.

getNamespaceBytes()

public abstract ByteString getNamespaceBytes()

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.

string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for namespace.

getProxy()

public abstract ByteString getProxy()

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.

bytes proxy = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The proxy.