public sealed class GenerateCredentialsRequest : IMessage<GenerateCredentialsRequest>, IEquatable<GenerateCredentialsRequest>, IDeepCloneable<GenerateCredentialsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Connect Gateway v1 API class GenerateCredentialsRequest.
A request for connection information for a particular membership.
Implements
IMessageGenerateCredentialsRequest, IEquatableGenerateCredentialsRequest, IDeepCloneableGenerateCredentialsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.GkeConnect.Gateway.V1Assembly
Google.Cloud.GkeConnect.Gateway.V1.dll
Constructors
GenerateCredentialsRequest()
public GenerateCredentialsRequest()
GenerateCredentialsRequest(GenerateCredentialsRequest)
public GenerateCredentialsRequest(GenerateCredentialsRequest other)
Parameter | |
---|---|
Name | Description |
other |
GenerateCredentialsRequest |
Properties
ForceUseAgent
public bool ForceUseAgent { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
KubernetesNamespace
public string KubernetesNamespace { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. The Fleet membership resource.
Property Value | |
---|---|
Type | Description |
string |
OperatingSystem
public GenerateCredentialsRequest.Types.OperatingSystem OperatingSystem { get; set; }
Optional. The operating system where the kubeconfig will be used.
Property Value | |
---|---|
Type | Description |
GenerateCredentialsRequestTypesOperatingSystem |
Version
public string Version { get; set; }
Optional. The Connect Gateway version to be used in the resulting configuration.
Leave this field blank to let the server choose the version (recommended).
Property Value | |
---|---|
Type | Description |
string |