IAM Service Account Credentials v1 API - Class IAMCredentialsSettings (2.4.0)

public sealed class IAMCredentialsSettings : ServiceSettingsBase

Reference documentation and code samples for the IAM Service Account Credentials v1 API class IAMCredentialsSettings.

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
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 60 seconds.

GenerateIdTokenSettings

public CallSettings GenerateIdTokenSettings { get; set; }

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

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

SignBlobSettings

public CallSettings SignBlobSettings { get; set; }

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

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

SignJwtSettings

public CallSettings SignJwtSettings { get; set; }

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

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

Methods

Clone()

public IAMCredentialsSettings Clone()

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

Returns
Type Description
IAMCredentialsSettings

A deep clone of this IAMCredentialsSettings object.

GetDefault()

public static IAMCredentialsSettings GetDefault()

Get a new instance of the default IAMCredentialsSettings.

Returns
Type Description
IAMCredentialsSettings

A new instance of the default IAMCredentialsSettings.