public sealed class AssetServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AssetServiceSettings.
Settings for AssetServiceClient instances.
Namespace
GoogleCloudGoogle.Cloud.AssetV1Assembly
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
- Retriable status codes: Unavailable.
- Timeout: 300 seconds.
AnalyzeMoveSettings
public CallSettings AnalyzeMoveSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.AnalyzeMove
and AssetServiceClient.AnalyzeMoveAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
AnalyzeOrgPoliciesSettings
public CallSettings AnalyzeOrgPoliciesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.AnalyzeOrgPolicies
and AssetServiceClient.AnalyzeOrgPoliciesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
AnalyzeOrgPolicyGovernedAssetsSettings
public CallSettings AnalyzeOrgPolicyGovernedAssetsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.AnalyzeOrgPolicyGovernedAssets
and
AssetServiceClient.AnalyzeOrgPolicyGovernedAssetsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
AnalyzeOrgPolicyGovernedContainersSettings
public CallSettings AnalyzeOrgPolicyGovernedContainersSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.AnalyzeOrgPolicyGovernedContainers
and
AssetServiceClient.AnalyzeOrgPolicyGovernedContainersAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 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
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
BatchGetEffectiveIamPoliciesSettings
public CallSettings BatchGetEffectiveIamPoliciesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.BatchGetEffectiveIamPolicies
and
AssetServiceClient.BatchGetEffectiveIamPoliciesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 300 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.
CreateSavedQuerySettings
public CallSettings CreateSavedQuerySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.CreateSavedQuery
and AssetServiceClient.CreateSavedQueryAsync
.
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
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
DeleteSavedQuerySettings
public CallSettings DeleteSavedQuerySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.DeleteSavedQuery
and AssetServiceClient.DeleteSavedQueryAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- 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
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
GetSavedQuerySettings
public CallSettings GetSavedQuerySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.GetSavedQuery
and AssetServiceClient.GetSavedQueryAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- 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
- Retriable status codes: DeadlineExceeded, Unavailable.
- 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
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
ListSavedQueriesSettings
public CallSettings ListSavedQueriesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.ListSavedQueries
and AssetServiceClient.ListSavedQueriesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
QueryAssetsSettings
public CallSettings QueryAssetsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.QueryAssets
and AssetServiceClient.QueryAssetsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 200 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: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 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: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 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.
UpdateSavedQuerySettings
public CallSettings UpdateSavedQuerySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssetServiceClient.UpdateSavedQuery
and AssetServiceClient.UpdateSavedQueryAsync
.
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. |