Class IAMCredentialsSettings (1.2.0)

public sealed class IAMCredentialsSettings : ServiceSettingsBase

Settings for IAMCredentialsClient instances.

Inheritance

Object > ServiceSettingsBase > IAMCredentialsSettings

Namespace

Google.Cloud.Iam.Credentials.V1

Assembly

Google.Cloud.Iam.Credentials.V1.dll

Constructors

IAMCredentialsSettings()

public IAMCredentialsSettings()

Constructs a new IAMCredentialsSettings object with default settings.

Properties

GenerateAccessTokenSettings

public CallSettings GenerateAccessTokenSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IAMCredentialsClient.GenerateAccessToken and IAMCredentialsClient.GenerateAccessTokenAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 60 seconds.

GenerateIdTokenSettings

public CallSettings GenerateIdTokenSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IAMCredentialsClient.GenerateIdToken and IAMCredentialsClient.GenerateIdTokenAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 60 seconds.

SignBlobSettings

public CallSettings SignBlobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IAMCredentialsClient.SignBlob and IAMCredentialsClient.SignBlobAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 60 seconds.

SignJwtSettings

public CallSettings SignJwtSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IAMCredentialsClient.SignJwt and IAMCredentialsClient.SignJwtAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 60 seconds.

Methods

Clone()

public IAMCredentialsSettings Clone()

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

Returns
TypeDescription
IAMCredentialsSettings

A deep clone of this IAMCredentialsSettings object.

GetDefault()

public static IAMCredentialsSettings GetDefault()

Get a new instance of the default IAMCredentialsSettings.

Returns
TypeDescription
IAMCredentialsSettings

A new instance of the default IAMCredentialsSettings.