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