Cloud Run Admin v2 API - Class InstancesSettings (2.19.0)

public sealed class InstancesSettings : ServiceSettingsBase

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

Settings for InstancesClient instances.

Inheritance

object > ServiceSettingsBase > InstancesSettings

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

InstancesSettings()

public InstancesSettings()

Constructs a new InstancesSettings object with default settings.

Properties

CreateInstanceOperationsSettings

public OperationsSettings CreateInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to InstancesClient.CreateInstance and InstancesClient.CreateInstanceAsync.

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.

CreateInstanceSettings

public CallSettings CreateInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstancesClient.CreateInstance and InstancesClient.CreateInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeleteInstanceOperationsSettings

public OperationsSettings DeleteInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to InstancesClient.DeleteInstance and InstancesClient.DeleteInstanceAsync.

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.

DeleteInstanceSettings

public CallSettings DeleteInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstancesClient.DeleteInstance and InstancesClient.DeleteInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetInstanceSettings

public CallSettings GetInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstancesClient.GetInstance and InstancesClient.GetInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListInstancesSettings

public CallSettings ListInstancesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstancesClient.ListInstances and InstancesClient.ListInstancesAsync.

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

StartInstanceOperationsSettings

public OperationsSettings StartInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to InstancesClient.StartInstance and InstancesClient.StartInstanceAsync.

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.

StartInstanceSettings

public CallSettings StartInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstancesClient.StartInstance and InstancesClient.StartInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

StopInstanceOperationsSettings

public OperationsSettings StopInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to InstancesClient.StopInstance and InstancesClient.StopInstanceAsync.

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.

StopInstanceSettings

public CallSettings StopInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to InstancesClient.StopInstance and InstancesClient.StopInstanceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public InstancesSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
InstancesSettings

A deep clone of this InstancesSettings object.

GetDefault()

public static InstancesSettings GetDefault()

Get a new instance of the default InstancesSettings.

Returns
Type Description
InstancesSettings

A new instance of the default InstancesSettings.