public sealed class ServicesSettings : ServiceSettingsBaseReference documentation and code samples for the Cloud Run Admin v2 API class ServicesSettings.
Settings for ServicesClient instances.
Namespace
Google.Cloud.Run.V2Assembly
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 | |
|---|---|
| Type | Description |
OperationsSettings |
|
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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
OperationsSettings |
|
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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
LocationsSettings |
|
SetIamPolicySettings
public CallSettings SetIamPolicySettings { get; set; }CallSettings for synchronous and asynchronous calls to ServicesClient.SetIamPolicy
and ServicesClient.SetIamPolicyAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
OperationsSettings |
|
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 | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 | |
|---|---|
| Type | Description |
ServicesSettings |
A deep clone of this ServicesSettings object. |
GetDefault()
public static ServicesSettings GetDefault()Get a new instance of the default ServicesSettings.
| Returns | |
|---|---|
| Type | Description |
ServicesSettings |
A new instance of the default ServicesSettings. |