Service Client: Google::Cloud::Gkeconnect::Gateway::V1beta1::Control::GatewayControlClient

Client stub representing the remote GatewayControl gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to gkeconnect.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Gkeconnect::Gateway::V1beta1::Control - Compiled Protocol Buffers messages for google/cloud/gkeconnect/gateway/v1beta1/control.proto

SYNOPSIS

use Google::Cloud::Gkeconnect::Gateway::V1beta1::Control;

my $msg = Google::Cloud::Gkeconnect::Gateway::V1beta1::Control::GenerateCredentialsRequest->new({
    name => $name,
    force_use_agent => $force_use_agent,
    version => $version,
    kubernetes_namespace => $kubernetes_namespace,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Gkeconnect::Gateway::V1beta1::Control::GenerateCredentialsRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkeconnect/gateway/v1beta1/control.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Gkeconnect::Gateway::V1beta1::Control::GenerateCredentialsRequest

A request for connection information for a particular membership.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The Fleet membership resource.

  • $msg->force_use_agent() / $msg->force_use_agent($value)

    Type: Bool

    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.

  • $msg->version() / $msg->version($value)

    Type: String

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

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

  • $msg->kubernetes_namespace() / $msg->kubernetes_namespace($value)

    Type: String

    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.

  • $msg->operating_system() / $msg->operating_system($value)

    Type: Enum (Google::Cloud::Gkeconnect::Gateway::V1beta1::GenerateCredentialsRequest::OperatingSystem)

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

Enum: GenerateCredentialsRequest::OperatingSystem

  • OPERATING_SYSTEM_UNSPECIFIED => 0

  • OPERATING_SYSTEM_WINDOWS => 1

Google::Cloud::Gkeconnect::Gateway::V1beta1::Control::GenerateCredentialsResponse

Connection information for a particular membership.

Inherits from Protobuf::Message.

Accessors

  • $msg->kubeconfig() / $msg->kubeconfig($value)

    Type: Bytes

    A full YAML kubeconfig in serialized format.

  • $msg->endpoint() / $msg->endpoint($value)

    Type: String

    The generated URI of the cluster as accessed through the Connect Gateway API.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Gkeconnect::Gateway::V1beta1::Control::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.