Network Connectivity v1 API - Class PolicyBasedRoutingServiceSettings (2.1.0)

public sealed class PolicyBasedRoutingServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Network Connectivity v1 API class PolicyBasedRoutingServiceSettings.

Settings for PolicyBasedRoutingServiceClient instances.

Inheritance

Object > ServiceSettingsBase > PolicyBasedRoutingServiceSettings

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Constructors

PolicyBasedRoutingServiceSettings()

public PolicyBasedRoutingServiceSettings()

Constructs a new PolicyBasedRoutingServiceSettings object with default settings.

Properties

CreatePolicyBasedRouteOperationsSettings

public OperationsSettings CreatePolicyBasedRouteOperationsSettings { get; set; }

Long Running Operation settings for calls to PolicyBasedRoutingServiceClient.CreatePolicyBasedRoute and PolicyBasedRoutingServiceClient.CreatePolicyBasedRouteAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreatePolicyBasedRouteSettings

public CallSettings CreatePolicyBasedRouteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PolicyBasedRoutingServiceClient.CreatePolicyBasedRoute and PolicyBasedRoutingServiceClient.CreatePolicyBasedRouteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeletePolicyBasedRouteOperationsSettings

public OperationsSettings DeletePolicyBasedRouteOperationsSettings { get; set; }

Long Running Operation settings for calls to PolicyBasedRoutingServiceClient.DeletePolicyBasedRoute and PolicyBasedRoutingServiceClient.DeletePolicyBasedRouteAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeletePolicyBasedRouteSettings

public CallSettings DeletePolicyBasedRouteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PolicyBasedRoutingServiceClient.DeletePolicyBasedRoute and PolicyBasedRoutingServiceClient.DeletePolicyBasedRouteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetPolicyBasedRouteSettings

public CallSettings GetPolicyBasedRouteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PolicyBasedRoutingServiceClient.GetPolicyBasedRoute and PolicyBasedRoutingServiceClient.GetPolicyBasedRouteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • 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.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
TypeDescription
IAMPolicySettings

ListPolicyBasedRoutesSettings

public CallSettings ListPolicyBasedRoutesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PolicyBasedRoutingServiceClient.ListPolicyBasedRoutes and PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • 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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

Methods

Clone()

public PolicyBasedRoutingServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
PolicyBasedRoutingServiceSettings

A deep clone of this PolicyBasedRoutingServiceSettings object.

GetDefault()

public static PolicyBasedRoutingServiceSettings GetDefault()

Get a new instance of the default PolicyBasedRoutingServiceSettings.

Returns
TypeDescription
PolicyBasedRoutingServiceSettings

A new instance of the default PolicyBasedRoutingServiceSettings.