Class AssetServiceSettings

public sealed class AssetServiceSettings : ServiceSettingsBase

Settings for AssetServiceClient instances.

Inheritance

Object > ServiceSettingsBase > AssetServiceSettings

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

AssetServiceSettings()

public AssetServiceSettings()

Constructs a new AssetServiceSettings object with default settings.

Properties

AnalyzeIamPolicyLongrunningOperationsSettings

public OperationsSettings AnalyzeIamPolicyLongrunningOperationsSettings { get; set; }

Long Running Operation settings for calls to AssetServiceClient.AnalyzeIamPolicyLongrunning and AssetServiceClient.AnalyzeIamPolicyLongrunningAsync.

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.

AnalyzeIamPolicyLongrunningSettings

public CallSettings AnalyzeIamPolicyLongrunningSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.AnalyzeIamPolicyLongrunning and AssetServiceClient.AnalyzeIamPolicyLongrunningAsync.

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

AnalyzeIamPolicySettings

public CallSettings AnalyzeIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.AnalyzeIamPolicy and AssetServiceClient.AnalyzeIamPolicyAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 300 seconds.

AnalyzeMoveSettings

public CallSettings AnalyzeMoveSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.AnalyzeMove and AssetServiceClient.AnalyzeMoveAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

BatchGetAssetsHistorySettings

public CallSettings BatchGetAssetsHistorySettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

CreateFeedSettings

public CallSettings CreateFeedSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.CreateFeed and AssetServiceClient.CreateFeedAsync.

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

DeleteFeedSettings

public CallSettings DeleteFeedSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.DeleteFeed and AssetServiceClient.DeleteFeedAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

ExportAssetsOperationsSettings

public OperationsSettings ExportAssetsOperationsSettings { get; set; }

Long Running Operation settings for calls to AssetServiceClient.ExportAssets and AssetServiceClient.ExportAssetsAsync.

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.

ExportAssetsSettings

public CallSettings ExportAssetsSettings { get; set; }

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

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

GetFeedSettings

public CallSettings GetFeedSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.GetFeed and AssetServiceClient.GetFeedAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

ListAssetsSettings

public CallSettings ListAssetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.ListAssets and AssetServiceClient.ListAssetsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

ListFeedsSettings

public CallSettings ListFeedsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.ListFeeds and AssetServiceClient.ListFeedsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

SearchAllIamPoliciesSettings

public CallSettings SearchAllIamPoliciesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.SearchAllIamPolicies and AssetServiceClient.SearchAllIamPoliciesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 30 seconds.

SearchAllResourcesSettings

public CallSettings SearchAllResourcesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.SearchAllResources and AssetServiceClient.SearchAllResourcesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 30 seconds.

UpdateFeedSettings

public CallSettings UpdateFeedSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AssetServiceClient.UpdateFeed and AssetServiceClient.UpdateFeedAsync.

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

Methods

Clone()

public AssetServiceSettings Clone()

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

Returns
TypeDescription
AssetServiceSettings

A deep clone of this AssetServiceSettings object.

GetDefault()

public static AssetServiceSettings GetDefault()

Get a new instance of the default AssetServiceSettings.

Returns
TypeDescription
AssetServiceSettings

A new instance of the default AssetServiceSettings.