public sealed class MaintenanceSettings : ServiceSettingsBaseReference documentation and code samples for the Maintenance v1beta API class MaintenanceSettings.
Settings for MaintenanceClient instances.
Namespace
Google.Cloud.Maintenance.Api.V1BetaAssembly
Google.Cloud.Maintenance.Api.V1Beta.dll
Constructors
MaintenanceSettings()
public MaintenanceSettings()Constructs a new MaintenanceSettings object with default settings.
Properties
GetResourceMaintenanceSettings
public CallSettings GetResourceMaintenanceSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MaintenanceClient.GetResourceMaintenance and MaintenanceClient.GetResourceMaintenanceAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
ListResourceMaintenancesSettings
public CallSettings ListResourceMaintenancesSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MaintenanceClient.ListResourceMaintenances and MaintenanceClient.ListResourceMaintenancesAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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 |
|
SummarizeMaintenancesSettings
public CallSettings SummarizeMaintenancesSettings { get; set; }CallSettings for synchronous and asynchronous calls to
MaintenanceClient.SummarizeMaintenances and MaintenanceClient.SummarizeMaintenancesAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
public MaintenanceSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
MaintenanceSettings |
A deep clone of this MaintenanceSettings object. |
GetDefault()
public static MaintenanceSettings GetDefault()Get a new instance of the default MaintenanceSettings.
| Returns | |
|---|---|
| Type | Description |
MaintenanceSettings |
A new instance of the default MaintenanceSettings. |