Interface GenerateCredentialsRequestOrBuilder (0.55.0)

public interface GenerateCredentialsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForceUseAgent()

public abstract boolean getForceUseAgent()

Optional. Whether to force the use of Connect Agent-based transport.

This will return a configuration that uses Connect Agent as the underlying transport mechanism for cluster types that would otherwise have used a different transport. Requires that Connect Agent be installed on the cluster. Setting this field to false is equivalent to not setting it.

bool force_use_agent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The forceUseAgent.

getKubernetesNamespace()

public abstract String getKubernetesNamespace()

Optional. The namespace to use in the kubeconfig context.

If this field is specified, the server will set the namespace field in kubeconfig context. If not specified, the namespace field is omitted.

string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The kubernetesNamespace.

getKubernetesNamespaceBytes()

public abstract ByteString getKubernetesNamespaceBytes()

Optional. The namespace to use in the kubeconfig context.

If this field is specified, the server will set the namespace field in kubeconfig context. If not specified, the namespace field is omitted.

string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for kubernetesNamespace.

getName()

public abstract String getName()

Required. The Fleet membership resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The Fleet membership resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getOperatingSystem()

public abstract GenerateCredentialsRequest.OperatingSystem getOperatingSystem()

Optional. The operating system where the kubeconfig will be used.

.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateCredentialsRequest.OperatingSystem

The operatingSystem.

getOperatingSystemValue()

public abstract int getOperatingSystemValue()

Optional. The operating system where the kubeconfig will be used.

.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for operatingSystem.

getVersion()

public abstract String getVersion()

Optional. The Connect Gateway version to be used in the resulting configuration.

Leave this field blank to let the server choose the version (recommended).

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

Returns
Type Description
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Optional. The Connect Gateway version to be used in the resulting configuration.

Leave this field blank to let the server choose the version (recommended).

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

Returns
Type Description
ByteString

The bytes for version.