Cloud Shell v1 API - Class CloudShellServiceSettings (2.2.0)

public sealed class CloudShellServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Shell v1 API class CloudShellServiceSettings.

Settings for CloudShellServiceClient instances.

Inheritance

Object > ServiceSettingsBase > CloudShellServiceSettings

Namespace

Google.Cloud.Shell.V1

Assembly

Google.Cloud.Shell.V1.dll

Constructors

CloudShellServiceSettings()

public CloudShellServiceSettings()

Constructs a new CloudShellServiceSettings object with default settings.

Properties

AddPublicKeyOperationsSettings

public OperationsSettings AddPublicKeyOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudShellServiceClient.AddPublicKey and CloudShellServiceClient.AddPublicKeyAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

AddPublicKeySettings

public CallSettings AddPublicKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudShellServiceClient.AddPublicKey and CloudShellServiceClient.AddPublicKeyAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

AuthorizeEnvironmentOperationsSettings

public OperationsSettings AuthorizeEnvironmentOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudShellServiceClient.AuthorizeEnvironment and CloudShellServiceClient.AuthorizeEnvironmentAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

AuthorizeEnvironmentSettings

public CallSettings AuthorizeEnvironmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudShellServiceClient.AuthorizeEnvironment and CloudShellServiceClient.AuthorizeEnvironmentAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetEnvironmentSettings

public CallSettings GetEnvironmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudShellServiceClient.GetEnvironment and CloudShellServiceClient.GetEnvironmentAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 60 seconds.

RemovePublicKeyOperationsSettings

public OperationsSettings RemovePublicKeyOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudShellServiceClient.RemovePublicKey and CloudShellServiceClient.RemovePublicKeyAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

RemovePublicKeySettings

public CallSettings RemovePublicKeySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudShellServiceClient.RemovePublicKey and CloudShellServiceClient.RemovePublicKeyAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

StartEnvironmentOperationsSettings

public OperationsSettings StartEnvironmentOperationsSettings { get; set; }

Long Running Operation settings for calls to CloudShellServiceClient.StartEnvironment and CloudShellServiceClient.StartEnvironmentAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

StartEnvironmentSettings

public CallSettings StartEnvironmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudShellServiceClient.StartEnvironment and CloudShellServiceClient.StartEnvironmentAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

Methods

Clone()

public CloudShellServiceSettings Clone()

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

Returns
TypeDescription
CloudShellServiceSettings

A deep clone of this CloudShellServiceSettings object.

GetDefault()

public static CloudShellServiceSettings GetDefault()

Get a new instance of the default CloudShellServiceSettings.

Returns
TypeDescription
CloudShellServiceSettings

A new instance of the default CloudShellServiceSettings.