Cloud Run Admin v2 API - Class ServicesSettings (2.4.0)

public sealed class ServicesSettings : ServiceSettingsBase

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

Settings for ServicesClient instances.

Inheritance

object > ServiceSettingsBase > ServicesSettings

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

ServicesSettings()

public ServicesSettings()

Constructs a new ServicesSettings object with default settings.

Properties

CreateServiceOperationsSettings

public OperationsSettings CreateServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to ServicesClient.CreateService and ServicesClient.CreateServiceAsync.

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.

CreateServiceSettings

public CallSettings CreateServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.CreateService and ServicesClient.CreateServiceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 15 seconds.

DeleteServiceOperationsSettings

public OperationsSettings DeleteServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to ServicesClient.DeleteService and ServicesClient.DeleteServiceAsync.

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.

DeleteServiceSettings

public CallSettings DeleteServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.DeleteService and ServicesClient.DeleteServiceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 10 seconds.

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.GetIamPolicy and ServicesClient.GetIamPolicyAsync.

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

GetServiceSettings

public CallSettings GetServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.GetService and ServicesClient.GetServiceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 10 seconds.

ListServicesSettings

public CallSettings ListServicesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.ListServices and ServicesClient.ListServicesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 10 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
TypeDescription
LocationsSettings

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.SetIamPolicy and ServicesClient.SetIamPolicyAsync.

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.TestIamPermissions and ServicesClient.TestIamPermissionsAsync.

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

UpdateServiceOperationsSettings

public OperationsSettings UpdateServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to ServicesClient.UpdateService and ServicesClient.UpdateServiceAsync.

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.

UpdateServiceSettings

public CallSettings UpdateServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ServicesClient.UpdateService and ServicesClient.UpdateServiceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 15 seconds.

Methods

Clone()

public ServicesSettings Clone()

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

Returns
TypeDescription
ServicesSettings

A deep clone of this ServicesSettings object.

GetDefault()

public static ServicesSettings GetDefault()

Get a new instance of the default ServicesSettings.

Returns
TypeDescription
ServicesSettings

A new instance of the default ServicesSettings.