public sealed class CloudShellServiceSettings : ServiceSettingsBase
Settings for CloudShellServiceClient instances.
Namespace
Google.Cloud.Shell.V1Assembly
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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
RemovePublicKeyOperationsSettings
public OperationsSettings RemovePublicKeyOperationsSettings { get; set; }
Long Running Operation settings for calls to CloudShellServiceClient.RemovePublicKey
and
CloudShellServiceClient.RemovePublicKeyAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CloudShellServiceSettings | A deep clone of this CloudShellServiceSettings object. |
GetDefault()
public static CloudShellServiceSettings GetDefault()
Get a new instance of the default CloudShellServiceSettings.
Returns | |
---|---|
Type | Description |
CloudShellServiceSettings | A new instance of the default CloudShellServiceSettings. |