Google Cloud Dataproc v1 API - Class SessionControllerSettings (5.16.0)

public sealed class SessionControllerSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Dataproc v1 API class SessionControllerSettings.

Settings for SessionControllerClient instances.

Inheritance

object > ServiceSettingsBase > SessionControllerSettings

Namespace

Google.Cloud.Dataproc.V1

Assembly

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
Remarks

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
Remarks
  • 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
Remarks

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
Remarks
  • 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
Remarks
  • 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
Remarks
  • 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
Remarks

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
Remarks
  • 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.