Cloud Run Admin v2 API - Class RevisionsSettings (2.5.0)

public sealed class RevisionsSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Run Admin v2 API class RevisionsSettings.

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.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

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.