public sealed class SessionControllerSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Dataproc v1 API class SessionControllerSettings.
Settings for SessionControllerClient instances.
Namespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
SessionControllerSettings()
public SessionControllerSettings()
Constructs a new SessionControllerSettings object with default settings.
Properties
CreateSessionOperationsSettings
public OperationsSettings CreateSessionOperationsSettings { get; set; }
Long Running Operation settings for calls to SessionControllerClient.CreateSession
and
SessionControllerClient.CreateSessionAsync
.
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.
CreateSessionSettings
public CallSettings CreateSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionControllerClient.CreateSession
and SessionControllerClient.CreateSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
DeleteSessionOperationsSettings
public OperationsSettings DeleteSessionOperationsSettings { get; set; }
Long Running Operation settings for calls to SessionControllerClient.DeleteSession
and
SessionControllerClient.DeleteSessionAsync
.
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.
DeleteSessionSettings
public CallSettings DeleteSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionControllerClient.DeleteSession
and SessionControllerClient.DeleteSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
GetSessionSettings
public CallSettings GetSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionControllerClient.GetSession
and SessionControllerClient.GetSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
IAMPolicySettings
public IAMPolicySettings IAMPolicySettings { get; set; }
The settings to use for the IAMPolicyClient associated with the client.
Property Value | |
---|---|
Type | Description |
IAMPolicySettings |
ListSessionsSettings
public CallSettings ListSessionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionControllerClient.ListSessions
and SessionControllerClient.ListSessionsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
TerminateSessionOperationsSettings
public OperationsSettings TerminateSessionOperationsSettings { get; set; }
Long Running Operation settings for calls to SessionControllerClient.TerminateSession
and
SessionControllerClient.TerminateSessionAsync
.
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.
TerminateSessionSettings
public CallSettings TerminateSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionControllerClient.TerminateSession
and SessionControllerClient.TerminateSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
public SessionControllerSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
SessionControllerSettings |
A deep clone of this SessionControllerSettings object. |
GetDefault()
public static SessionControllerSettings GetDefault()
Get a new instance of the default SessionControllerSettings.
Returns | |
---|---|
Type | Description |
SessionControllerSettings |
A new instance of the default SessionControllerSettings. |