Show / Hide Table of Contents

Class AssetServiceSettings

Settings for a AssetServiceClient.

Inheritance
System.Object
ServiceSettingsBase
AssetServiceSettings
Inherited Members
ServiceSettingsBase.CallSettings
ServiceSettingsBase.Clock
ServiceSettingsBase.Scheduler
ServiceSettingsBase.Interceptor
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Asset.V1Beta1
Assembly: Google.Cloud.Asset.V1Beta1.dll
Syntax
public sealed class AssetServiceSettings : ServiceSettingsBase

Constructors

AssetServiceSettings()

Constructs a new AssetServiceSettings object with default settings.

Declaration
public AssetServiceSettings()

Properties

BatchGetAssetsHistorySettings

CallSettings for synchronous and asynchronous calls to AssetServiceClient.BatchGetAssetsHistory and AssetServiceClient.BatchGetAssetsHistoryAsync.

Declaration
public CallSettings BatchGetAssetsHistorySettings { get; set; }
Property Value
Type Description
CallSettings
Remarks

The default AssetServiceClient.BatchGetAssetsHistory and AssetServiceClient.BatchGetAssetsHistoryAsync RetrySettings are:

  • Initial retry delay: 100 milliseconds
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds
  • Initial timeout: 20000 milliseconds
  • Timeout multiplier: 1.0
  • Timeout maximum delay: 20000 milliseconds
Retry will be attempted on the following response status codes:

Default RPC expiration is 600000 milliseconds.

ExportAssetsOperationsSettings

Long Running Operation settings for calls to AssetServiceClient.ExportAssets.

Declaration
public OperationsSettings ExportAssetsOperationsSettings { get; set; }
Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 500 milliseconds
  • Delay multiplier: 1.5
  • Maximum delay: 5000 milliseconds
  • Total timeout: 300000 milliseconds

ExportAssetsSettings

CallSettings for synchronous and asynchronous calls to AssetServiceClient.ExportAssets and AssetServiceClient.ExportAssetsAsync.

Declaration
public CallSettings ExportAssetsSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks

The default AssetServiceClient.ExportAssets and AssetServiceClient.ExportAssetsAsync RetrySettings are:

  • Initial retry delay: 100 milliseconds
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds
  • Initial timeout: 20000 milliseconds
  • Timeout multiplier: 1.0
  • Timeout maximum delay: 20000 milliseconds
Retry will be attempted on the following response status codes:

Default RPC expiration is 600000 milliseconds.

IdempotentRetryFilter

The filter specifying which RPC StatusCodes are eligible for retry for "Idempotent" AssetServiceClient RPC methods.

Declaration
public static Predicate<RpcException> IdempotentRetryFilter { get; }
Property Value
Type Description
System.Predicate<RpcException>
Remarks

The eligible RPC StatusCodes for retry for "Idempotent" RPC methods are:

  • DeadlineExceeded
  • Unavailable

NonIdempotentRetryFilter

The filter specifying which RPC StatusCodes are eligible for retry for "NonIdempotent" AssetServiceClient RPC methods.

Declaration
public static Predicate<RpcException> NonIdempotentRetryFilter { get; }
Property Value
Type Description
System.Predicate<RpcException>
Remarks

There are no RPC StatusCodes eligible for retry for "NonIdempotent" RPC methods.

Methods

Clone()

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

Declaration
public AssetServiceSettings Clone()
Returns
Type Description
AssetServiceSettings

A deep clone of this AssetServiceSettings object.

GetDefault()

Get a new instance of the default AssetServiceSettings.

Declaration
public static AssetServiceSettings GetDefault()
Returns
Type Description
AssetServiceSettings

A new instance of the default AssetServiceSettings.

GetDefaultRetryBackoff()

"Default" retry backoff for AssetServiceClient RPC methods.

Declaration
public static BackoffSettings GetDefaultRetryBackoff()
Returns
Type Description
BackoffSettings

The "Default" retry backoff for AssetServiceClient RPC methods.

Remarks

The "Default" retry backoff for AssetServiceClient RPC methods is defined as:

  • Initial delay: 100 milliseconds
  • Maximum delay: 60000 milliseconds
  • Delay multiplier: 1.3

GetDefaultTimeoutBackoff()

"Default" timeout backoff for AssetServiceClient RPC methods.

Declaration
public static BackoffSettings GetDefaultTimeoutBackoff()
Returns
Type Description
BackoffSettings

The "Default" timeout backoff for AssetServiceClient RPC methods.

Remarks

The "Default" timeout backoff for AssetServiceClient RPC methods is defined as:

  • Initial timeout: 20000 milliseconds
  • Timeout multiplier: 1.0
  • Maximum timeout: 20000 milliseconds

Back to top