Google Cloud OS Login v1 API - Class OsLoginServiceSettings (3.1.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

GoogleGoogle.CloudGoogle.Cloud.OsLoginV1

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
OsLoginServiceSettings

A deep clone of this OsLoginServiceSettings object.

GetDefault()

public static OsLoginServiceSettings GetDefault()

Get a new instance of the default OsLoginServiceSettings.

Returns
TypeDescription
OsLoginServiceSettings

A new instance of the default OsLoginServiceSettings.