Vertex AI v1beta1 API - Class SessionServiceSettings (1.0.0-beta24)

public sealed class SessionServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Vertex AI v1beta1 API class SessionServiceSettings.

Settings for SessionServiceClient instances.

Inheritance

object > ServiceSettingsBase > SessionServiceSettings

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

SessionServiceSettings()

public SessionServiceSettings()

Constructs a new SessionServiceSettings object with default settings.

Properties

AppendEventSettings

public CallSettings AppendEventSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionServiceClient.AppendEvent and SessionServiceClient.AppendEventAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

CreateSessionOperationsSettings

public OperationsSettings CreateSessionOperationsSettings { get; set; }

Long Running Operation settings for calls to SessionServiceClient.CreateSession and SessionServiceClient.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 SessionServiceClient.CreateSession and SessionServiceClient.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 SessionServiceClient.DeleteSession and SessionServiceClient.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 SessionServiceClient.DeleteSession and SessionServiceClient.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 SessionServiceClient.GetSession and SessionServiceClient.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

ListEventsSettings

public CallSettings ListEventsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionServiceClient.ListEvents and SessionServiceClient.ListEventsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListSessionsSettings

public CallSettings ListSessionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionServiceClient.ListSessions and SessionServiceClient.ListSessionsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

UpdateSessionSettings

public CallSettings UpdateSessionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SessionServiceClient.UpdateSession and SessionServiceClient.UpdateSessionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public SessionServiceSettings Clone()

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

Returns
Type Description
SessionServiceSettings

A deep clone of this SessionServiceSettings object.

GetDefault()

public static SessionServiceSettings GetDefault()

Get a new instance of the default SessionServiceSettings.

Returns
Type Description
SessionServiceSettings

A new instance of the default SessionServiceSettings.