Vertex AI v1beta1 API - Class CreateSessionRequest (1.0.0-beta73)

public sealed class CreateSessionRequest : IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, IDeepCloneable<CreateSessionRequest>, IBufferMessage, IMessage

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

Request message for [SessionService.CreateSession][google.cloud.aiplatform.v1beta1.SessionService.CreateSession].

Inheritance

object > CreateSessionRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

CreateSessionRequest()

public CreateSessionRequest()

CreateSessionRequest(CreateSessionRequest)

public CreateSessionRequest(CreateSessionRequest other)
Parameter
Name Description
other CreateSessionRequest

Properties

Parent

public string Parent { get; set; }

Required. The resource name of the location to create the session in. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

Property Value
Type Description
string

ParentAsReasoningEngineName

public ReasoningEngineName ParentAsReasoningEngineName { get; set; }

ReasoningEngineName-typed view over the Parent resource name property.

Property Value
Type Description
ReasoningEngineName

Session

public Session Session { get; set; }

Required. The session to create.

Property Value
Type Description
Session

SessionId

public string SessionId { get; set; }

Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID.

This value may be up to 63 characters, and valid characters are [a-z0-9-]. The first character must be a letter, and the last character must be a letter or number.

Property Value
Type Description
string