Google Cloud OS Login v1 API - Class OsLoginServiceSettings (3.5.0)

public sealed class OsLoginServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud OS Login v1 API class OsLoginServiceSettings.

Settings for OsLoginServiceClient instances.

Inheritance

object > ServiceSettingsBase > OsLoginServiceSettings

Namespace

Google.Cloud.OsLogin.V1

Assembly

Google.Cloud.OsLogin.V1.dll

Constructors

OsLoginServiceSettings()

public OsLoginServiceSettings()

Constructs a new OsLoginServiceSettings object with default settings.

Properties

CreateSshPublicKeySettings

public CallSettings CreateSshPublicKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsLoginServiceClient.CreateSshPublicKey and OsLoginServiceClient.CreateSshPublicKeyAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeletePosixAccountSettings

public CallSettings DeletePosixAccountSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsLoginServiceClient.DeletePosixAccount and OsLoginServiceClient.DeletePosixAccountAsync.

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

DeleteSshPublicKeySettings

public CallSettings DeleteSshPublicKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsLoginServiceClient.DeleteSshPublicKey and OsLoginServiceClient.DeleteSshPublicKeyAsync.

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

GetLoginProfileSettings

public CallSettings GetLoginProfileSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsLoginServiceClient.GetLoginProfile and OsLoginServiceClient.GetLoginProfileAsync.

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

GetSshPublicKeySettings

public CallSettings GetSshPublicKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsLoginServiceClient.GetSshPublicKey and OsLoginServiceClient.GetSshPublicKeyAsync.

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

ImportSshPublicKeySettings

public CallSettings ImportSshPublicKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsLoginServiceClient.ImportSshPublicKey and OsLoginServiceClient.ImportSshPublicKeyAsync.

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

UpdateSshPublicKeySettings

public CallSettings UpdateSshPublicKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to OsLoginServiceClient.UpdateSshPublicKey and OsLoginServiceClient.UpdateSshPublicKeyAsync.

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

Methods

Clone()

public OsLoginServiceSettings Clone()

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

Returns
Type Description
OsLoginServiceSettings

A deep clone of this OsLoginServiceSettings object.

GetDefault()

public static OsLoginServiceSettings GetDefault()

Get a new instance of the default OsLoginServiceSettings.

Returns
Type Description
OsLoginServiceSettings

A new instance of the default OsLoginServiceSettings.