public sealed class GatewayControlSettings : ServiceSettingsBase
Reference documentation and code samples for the Connect Gateway v1 API class GatewayControlSettings.
Settings for GatewayControlClient instances.
Namespace
Google.Cloud.GkeConnect.Gateway.V1Assembly
Google.Cloud.GkeConnect.Gateway.V1.dll
Constructors
GatewayControlSettings()
public GatewayControlSettings()
Constructs a new GatewayControlSettings object with default settings.
Properties
GenerateCredentialsSettings
public CallSettings GenerateCredentialsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
GatewayControlClient.GenerateCredentials
and GatewayControlClient.GenerateCredentialsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
public GatewayControlSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
GatewayControlSettings |
A deep clone of this GatewayControlSettings object. |
GetDefault()
public static GatewayControlSettings GetDefault()
Get a new instance of the default GatewayControlSettings.
Returns | |
---|---|
Type | Description |
GatewayControlSettings |
A new instance of the default GatewayControlSettings. |