public sealed class ApiHubCollectSettings : ServiceSettingsBase
Reference documentation and code samples for the API hub v1 API class ApiHubCollectSettings.
Settings for ApiHubCollectClient instances.
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
ApiHubCollectSettings()
public ApiHubCollectSettings()
Constructs a new ApiHubCollectSettings object with default settings.
Properties
CollectApiDataOperationsSettings
public OperationsSettings CollectApiDataOperationsSettings { get; set; }
Long Running Operation settings for calls to ApiHubCollectClient.CollectApiData
and
ApiHubCollectClient.CollectApiDataAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CollectApiDataSettings
public CallSettings CollectApiDataSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ApiHubCollectClient.CollectApiData
and ApiHubCollectClient.CollectApiDataAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }
The settings to use for the LocationsClient associated with the client.
Property Value | |
---|---|
Type | Description |
LocationsSettings |
Methods
Clone()
public ApiHubCollectSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ApiHubCollectSettings |
A deep clone of this ApiHubCollectSettings object. |
GetDefault()
public static ApiHubCollectSettings GetDefault()
Get a new instance of the default ApiHubCollectSettings.
Returns | |
---|---|
Type | Description |
ApiHubCollectSettings |
A new instance of the default ApiHubCollectSettings. |