Class RevisionsSettings (1.0.0-beta02)

public sealed class RevisionsSettings : ServiceSettingsBase

Settings for RevisionsClient instances.

Inheritance

Object > ServiceSettingsBase > RevisionsSettings

Namespace

Google.Cloud.Run.V2

Assembly

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
TypeDescription
OperationsSettings
Remarks

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
RevisionsSettings

A deep clone of this RevisionsSettings object.

GetDefault()

public static RevisionsSettings GetDefault()

Get a new instance of the default RevisionsSettings.

Returns
TypeDescription
RevisionsSettings

A new instance of the default RevisionsSettings.