# Class GenerateCredentialsRequest (0.13.1)

0.13.1 (latest) 0.13.0 0.12.0 0.11.0 0.10.4 0.9.2 0.8.11 0.7.0 0.6.3 0.5.2 0.4.1 0.3.0 0.2.3 0.1.0

    GenerateCredentialsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A request for connection information for a particular
membership.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The Fleet membership resource. |
| `force_use_agent` | `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. |
| `version` | `str` Optional. The Connect Gateway version to be used in the resulting configuration. Leave this field blank to let the server choose the version (recommended). |
| `kubernetes_namespace` | `str` 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. |
| `operating_system` | `https://docs.cloud.google.com/python/docs/reference/connectgateway/latest/google.cloud.gkeconnect.gateway_v1.types.GenerateCredentialsRequest.OperatingSystem` Optional. The operating system where the kubeconfig will be used. |

## Classes

### OperatingSystem

    OperatingSystem(value)

Operating systems requiring specialized kubeconfigs.