public sealed class AssetServiceSettings : ServiceSettingsBase
Settings for AssetServiceClient instances.
Namespace
Google.Cloud.Asset.V1Assembly
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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 300 seconds.
BatchGetAssetsHistorySettings
public CallSettings BatchGetAssetsHistorySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.BatchGetAssetsHistory
and AssetServiceClient.BatchGetAssetsHistoryAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Timeout: 15 seconds.
SearchAllResourcesSettings
public CallSettings SearchAllResourcesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.SearchAllResources
and AssetServiceClient.SearchAllResourcesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Timeout: 15 seconds.
UpdateFeedSettings
public CallSettings UpdateFeedSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.UpdateFeed
and AssetServiceClient.UpdateFeedAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
AssetServiceSettings | A deep clone of this AssetServiceSettings object. |
GetDefault()
public static AssetServiceSettings GetDefault()
Get a new instance of the default AssetServiceSettings.
Returns | |
---|---|
Type | Description |
AssetServiceSettings | A new instance of the default AssetServiceSettings. |