Google Cloud Identity and Access Management (IAM) v2 API - Class PoliciesSettings (1.2.0)

public sealed class PoliciesSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Identity and Access Management (IAM) v2 API class PoliciesSettings.

Settings for PoliciesClient instances.

Inheritance

object > ServiceSettingsBase > PoliciesSettings

Namespace

Google.Cloud.Iam.V2

Assembly

Google.Cloud.Iam.V2.dll

Constructors

PoliciesSettings()

public PoliciesSettings()

Constructs a new PoliciesSettings object with default settings.

Properties

CreatePolicyOperationsSettings

public OperationsSettings CreatePolicyOperationsSettings { get; set; }

Long Running Operation settings for calls to PoliciesClient.CreatePolicy and PoliciesClient.CreatePolicyAsync.

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.

CreatePolicySettings

public CallSettings CreatePolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to PoliciesClient.CreatePolicy and PoliciesClient.CreatePolicyAsync.

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.

DeletePolicyOperationsSettings

public OperationsSettings DeletePolicyOperationsSettings { get; set; }

Long Running Operation settings for calls to PoliciesClient.DeletePolicy and PoliciesClient.DeletePolicyAsync.

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.

DeletePolicySettings

public CallSettings DeletePolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to PoliciesClient.DeletePolicy and PoliciesClient.DeletePolicyAsync.

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.

GetPolicySettings

public CallSettings GetPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to PoliciesClient.GetPolicy and PoliciesClient.GetPolicyAsync.

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.

ListPoliciesSettings

public CallSettings ListPoliciesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PoliciesClient.ListPolicies and PoliciesClient.ListPoliciesAsync.

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.

UpdatePolicyOperationsSettings

public OperationsSettings UpdatePolicyOperationsSettings { get; set; }

Long Running Operation settings for calls to PoliciesClient.UpdatePolicy and PoliciesClient.UpdatePolicyAsync.

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.

UpdatePolicySettings

public CallSettings UpdatePolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to PoliciesClient.UpdatePolicy and PoliciesClient.UpdatePolicyAsync.

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 PoliciesSettings Clone()

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

Returns
Type Description
PoliciesSettings

A deep clone of this PoliciesSettings object.

GetDefault()

public static PoliciesSettings GetDefault()

Get a new instance of the default PoliciesSettings.

Returns
Type Description
PoliciesSettings

A new instance of the default PoliciesSettings.