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
-
(::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
-
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.
-
(::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
-
(::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, thenamespace
field is omitted.
#kubernetes_namespace=
def kubernetes_namespace=(value) -> ::String
-
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, thenamespace
field is omitted.
-
(::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, thenamespace
field is omitted.
#name
def name() -> ::String
- (::String) — Required. The Fleet membership resource.
#name=
def name=(value) -> ::String
- value (::String) — Required. The Fleet membership resource.
- (::String) — Required. The Fleet membership resource.
#operating_system
def operating_system() -> ::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest::OperatingSystem
- (::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest::OperatingSystem) — Optional. The operating system where the kubeconfig will be used.
#operating_system=
def operating_system=(value) -> ::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest::OperatingSystem
- value (::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest::OperatingSystem) — Optional. The operating system where the kubeconfig will be used.
- (::Google::Cloud::GkeConnect::Gateway::V1::GenerateCredentialsRequest::OperatingSystem) — Optional. The operating system where the kubeconfig will be used.
#version
def version() -> ::String
-
(::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
-
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).
-
(::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).