Google Cloud OS Config v1 API - Class OsConfigZonalServiceSettings (2.4.0)

public sealed class OsConfigZonalServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud OS Config v1 API class OsConfigZonalServiceSettings.

Settings for OsConfigZonalServiceClient instances.

Inheritance

object > ServiceSettingsBase > OsConfigZonalServiceSettings

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

OsConfigZonalServiceSettings()

public OsConfigZonalServiceSettings()

Constructs a new OsConfigZonalServiceSettings object with default settings.

Properties

CreateOSPolicyAssignmentOperationsSettings

public OperationsSettings CreateOSPolicyAssignmentOperationsSettings { get; set; }

Long Running Operation settings for calls to OsConfigZonalServiceClient.CreateOSPolicyAssignment and OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync.

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.

CreateOSPolicyAssignmentSettings

public CallSettings CreateOSPolicyAssignmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.CreateOSPolicyAssignment and OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

DeleteOSPolicyAssignmentOperationsSettings

public OperationsSettings DeleteOSPolicyAssignmentOperationsSettings { get; set; }

Long Running Operation settings for calls to OsConfigZonalServiceClient.DeleteOSPolicyAssignment and OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync.

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.

DeleteOSPolicyAssignmentSettings

public CallSettings DeleteOSPolicyAssignmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.DeleteOSPolicyAssignment and OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetInventorySettings

public CallSettings GetInventorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.GetInventory and OsConfigZonalServiceClient.GetInventoryAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetOSPolicyAssignmentReportSettings

public CallSettings GetOSPolicyAssignmentReportSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.GetOSPolicyAssignmentReport and OsConfigZonalServiceClient.GetOSPolicyAssignmentReportAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetOSPolicyAssignmentSettings

public CallSettings GetOSPolicyAssignmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.GetOSPolicyAssignment and OsConfigZonalServiceClient.GetOSPolicyAssignmentAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetVulnerabilityReportSettings

public CallSettings GetVulnerabilityReportSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.GetVulnerabilityReport and OsConfigZonalServiceClient.GetVulnerabilityReportAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListInventoriesSettings

public CallSettings ListInventoriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.ListInventories and OsConfigZonalServiceClient.ListInventoriesAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListOSPolicyAssignmentReportsSettings

public CallSettings ListOSPolicyAssignmentReportsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.ListOSPolicyAssignmentReports and OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListOSPolicyAssignmentRevisionsSettings

public CallSettings ListOSPolicyAssignmentRevisionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisions and OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListOSPolicyAssignmentsSettings

public CallSettings ListOSPolicyAssignmentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.ListOSPolicyAssignments and OsConfigZonalServiceClient.ListOSPolicyAssignmentsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListVulnerabilityReportsSettings

public CallSettings ListVulnerabilityReportsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.ListVulnerabilityReports and OsConfigZonalServiceClient.ListVulnerabilityReportsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

UpdateOSPolicyAssignmentOperationsSettings

public OperationsSettings UpdateOSPolicyAssignmentOperationsSettings { get; set; }

Long Running Operation settings for calls to OsConfigZonalServiceClient.UpdateOSPolicyAssignment and OsConfigZonalServiceClient.UpdateOSPolicyAssignmentAsync.

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.

UpdateOSPolicyAssignmentSettings

public CallSettings UpdateOSPolicyAssignmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsConfigZonalServiceClient.UpdateOSPolicyAssignment and OsConfigZonalServiceClient.UpdateOSPolicyAssignmentAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public OsConfigZonalServiceSettings Clone()

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

Returns
Type Description
OsConfigZonalServiceSettings

A deep clone of this OsConfigZonalServiceSettings object.

GetDefault()

public static OsConfigZonalServiceSettings GetDefault()

Get a new instance of the default OsConfigZonalServiceSettings.

Returns
Type Description
OsConfigZonalServiceSettings

A new instance of the default OsConfigZonalServiceSettings.