public sealed class HubServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Network Connectivity v1alpha1 API class HubServiceSettings.
Settings for HubServiceClient instances.
Namespace
Google.Cloud.NetworkConnectivity.V1Alpha1Assembly
Google.Cloud.NetworkConnectivity.V1Alpha1.dll
Constructors
HubServiceSettings()
public HubServiceSettings()
Constructs a new HubServiceSettings object with default settings.
Properties
CreateHubOperationsSettings
public OperationsSettings CreateHubOperationsSettings { get; set; }
Long Running Operation settings for calls to HubServiceClient.CreateHub
and
HubServiceClient.CreateHubAsync
.
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.
CreateHubSettings
public CallSettings CreateHubSettings { get; set; }
CallSettings for synchronous and asynchronous calls to HubServiceClient.CreateHub
and HubServiceClient.CreateHubAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
CreateSpokeOperationsSettings
public OperationsSettings CreateSpokeOperationsSettings { get; set; }
Long Running Operation settings for calls to HubServiceClient.CreateSpoke
and
HubServiceClient.CreateSpokeAsync
.
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.
CreateSpokeSettings
public CallSettings CreateSpokeSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
HubServiceClient.CreateSpoke
and HubServiceClient.CreateSpokeAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
DeleteHubOperationsSettings
public OperationsSettings DeleteHubOperationsSettings { get; set; }
Long Running Operation settings for calls to HubServiceClient.DeleteHub
and
HubServiceClient.DeleteHubAsync
.
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.
DeleteHubSettings
public CallSettings DeleteHubSettings { get; set; }
CallSettings for synchronous and asynchronous calls to HubServiceClient.DeleteHub
and HubServiceClient.DeleteHubAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
DeleteSpokeOperationsSettings
public OperationsSettings DeleteSpokeOperationsSettings { get; set; }
Long Running Operation settings for calls to HubServiceClient.DeleteSpoke
and
HubServiceClient.DeleteSpokeAsync
.
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.
DeleteSpokeSettings
public CallSettings DeleteSpokeSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
HubServiceClient.DeleteSpoke
and HubServiceClient.DeleteSpokeAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
GetHubSettings
public CallSettings GetHubSettings { get; set; }
CallSettings for synchronous and asynchronous calls to HubServiceClient.GetHub
and HubServiceClient.GetHubAsync
.
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.
GetSpokeSettings
public CallSettings GetSpokeSettings { get; set; }
CallSettings for synchronous and asynchronous calls to HubServiceClient.GetSpoke
and HubServiceClient.GetSpokeAsync
.
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.
ListHubsSettings
public CallSettings ListHubsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to HubServiceClient.ListHubs
and HubServiceClient.ListHubsAsync
.
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.
ListSpokesSettings
public CallSettings ListSpokesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to HubServiceClient.ListSpokes
and HubServiceClient.ListSpokesAsync
.
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.
UpdateHubOperationsSettings
public OperationsSettings UpdateHubOperationsSettings { get; set; }
Long Running Operation settings for calls to HubServiceClient.UpdateHub
and
HubServiceClient.UpdateHubAsync
.
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.
UpdateHubSettings
public CallSettings UpdateHubSettings { get; set; }
CallSettings for synchronous and asynchronous calls to HubServiceClient.UpdateHub
and HubServiceClient.UpdateHubAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
UpdateSpokeOperationsSettings
public OperationsSettings UpdateSpokeOperationsSettings { get; set; }
Long Running Operation settings for calls to HubServiceClient.UpdateSpoke
and
HubServiceClient.UpdateSpokeAsync
.
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.
UpdateSpokeSettings
public CallSettings UpdateSpokeSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
HubServiceClient.UpdateSpoke
and HubServiceClient.UpdateSpokeAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
public HubServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
HubServiceSettings | A deep clone of this HubServiceSettings object. |
GetDefault()
public static HubServiceSettings GetDefault()
Get a new instance of the default HubServiceSettings.
Returns | |
---|---|
Type | Description |
HubServiceSettings | A new instance of the default HubServiceSettings. |