Connect Gateway V1 API - Class Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest (v0.1.0)

Reference documentation and code samples for the Connect Gateway V1 API class Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest.

A request for connection information for a particular membership.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#force_use_agent

def force_use_agent() -> ::Boolean
Returns
  • (::Boolean) — 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.

#force_use_agent=

def force_use_agent=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

Returns
  • (::Boolean) — 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.

#kubernetes_namespace

def kubernetes_namespace() -> ::String
Returns
  • (::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.

#kubernetes_namespace=

def kubernetes_namespace=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.

#name

def name() -> ::String
Returns
  • (::String) — Required. The Fleet membership resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The Fleet membership resource.
Returns
  • (::String) — Required. The Fleet membership resource.

#operating_system

def operating_system() -> ::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest::OperatingSystem
Returns

#operating_system=

def operating_system=(value) -> ::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest::OperatingSystem
Parameter
Returns

#version

def version() -> ::String
Returns
  • (::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).

#version=

def version=(value) -> ::String
Parameter
  • value (::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).

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