Cloud Run Admin v2 API - Class RevisionsSettings (2.12.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
LocationsSettings

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.