Types for Google Cloud Gkeconnect Gateway v1beta1 API¶
- class google.cloud.gkeconnect.gateway_v1beta1.types.GenerateCredentialsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A request for connection information for a particular membership.
- force_use_agent¶
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.
- Type
- version¶
Optional. The Connect Gateway version to be used in the resulting configuration.
Leave this field blank to let the server choose the version (recommended).
- Type
- kubernetes_namespace¶
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, thenamespace
field is omitted.- Type
- operating_system¶
Optional. The operating system where the kubeconfig will be used.
- class OperatingSystem(value)[source]¶
Bases:
proto.enums.Enum
Operating systems requiring specialized kubeconfigs.
- Values:
- OPERATING_SYSTEM_UNSPECIFIED (0):
Generates a kubeconfig that works for all operating systems not defined below.
- OPERATING_SYSTEM_WINDOWS (1):
Generates a kubeconfig that is specifically designed to work with Windows.
- class google.cloud.gkeconnect.gateway_v1beta1.types.GenerateCredentialsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Connection information for a particular membership.