Policy Troubleshooter v3 API - Class PolicyTroubleshooterSettings (1.1.0)

public sealed class PolicyTroubleshooterSettings : ServiceSettingsBase

Reference documentation and code samples for the Policy Troubleshooter v3 API class PolicyTroubleshooterSettings.

Settings for PolicyTroubleshooterClient instances.

Inheritance

object > ServiceSettingsBase > PolicyTroubleshooterSettings

Namespace

Google.Cloud.PolicyTroubleshooter.Iam.V3

Assembly

Google.Cloud.PolicyTroubleshooter.Iam.V3.dll

Constructors

PolicyTroubleshooterSettings()

public PolicyTroubleshooterSettings()

Constructs a new PolicyTroubleshooterSettings object with default settings.

Properties

TroubleshootIamPolicySettings

public CallSettings TroubleshootIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to PolicyTroubleshooterClient.TroubleshootIamPolicy and PolicyTroubleshooterClient.TroubleshootIamPolicyAsync.

Property Value
Type Description
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: 60 seconds.

Methods

Clone()

public PolicyTroubleshooterSettings Clone()

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

Returns
Type Description
PolicyTroubleshooterSettings

A deep clone of this PolicyTroubleshooterSettings object.

GetDefault()

public static PolicyTroubleshooterSettings GetDefault()

Get a new instance of the default PolicyTroubleshooterSettings.

Returns
Type Description
PolicyTroubleshooterSettings

A new instance of the default PolicyTroubleshooterSettings.