public sealed class RevisionsSettings : ServiceSettingsBase
Settings for RevisionsClient instances.
Namespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
RevisionsSettings()
public RevisionsSettings()
Constructs a new RevisionsSettings object with default settings.
Properties
DeleteRevisionOperationsSettings
public OperationsSettings DeleteRevisionOperationsSettings { get; set; }
Long Running Operation settings for calls to RevisionsClient.DeleteRevision
and
RevisionsClient.DeleteRevisionAsync
.
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.
DeleteRevisionSettings
public CallSettings DeleteRevisionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RevisionsClient.DeleteRevision
and RevisionsClient.DeleteRevisionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
GetRevisionSettings
public CallSettings GetRevisionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to RevisionsClient.GetRevision
and RevisionsClient.GetRevisionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
ListRevisionsSettings
public CallSettings ListRevisionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RevisionsClient.ListRevisions
and RevisionsClient.ListRevisionsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
public RevisionsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
RevisionsSettings | A deep clone of this RevisionsSettings object. |
GetDefault()
public static RevisionsSettings GetDefault()
Get a new instance of the default RevisionsSettings.
Returns | |
---|---|
Type | Description |
RevisionsSettings | A new instance of the default RevisionsSettings. |