# Connect Gateway V1beta1 API - Class Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsRequest (v0.14.0)

0.14.0 (latest) 0.13.1 0.12.0 0.11.0 0.10.0 0.9.1 0.8.0 0.7.1 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Connect Gateway V1beta1 API class Google::Cloud::GkeConnect::Gateway::V1beta1::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::V1beta1::GenerateCredentialsRequest::OperatingSystem

**Returns**

- ([::Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsRequest::OperatingSystem](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_connect-gateway-v1beta1/latest/Google-Cloud-GkeConnect-Gateway-V1beta1-GenerateCredentialsRequest-OperatingSystem)) --- Optional. The operating system where the kubeconfig will be used.

### #operating_system=

    def operating_system=(value) -> ::Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsRequest::OperatingSystem

**Parameter**

- **value** ([::Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsRequest::OperatingSystem](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_connect-gateway-v1beta1/latest/Google-Cloud-GkeConnect-Gateway-V1beta1-GenerateCredentialsRequest-OperatingSystem)) --- Optional. The operating system where the kubeconfig will be used.
**Returns**

- ([::Google::Cloud::GkeConnect::Gateway::V1beta1::GenerateCredentialsRequest::OperatingSystem](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_connect-gateway-v1beta1/latest/Google-Cloud-GkeConnect-Gateway-V1beta1-GenerateCredentialsRequest-OperatingSystem)) --- Optional. The operating system where the kubeconfig will be used.

### #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).