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].
Implements
IMessageCreateSessionRequest, IEquatableCreateSessionRequest, IDeepCloneableCreateSessionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
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}
or
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
ParentAsReasoningEngineName
public ReasoningEngineName ParentAsReasoningEngineName { get; set; }
ReasoningEngineName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ReasoningEngineName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
Session
public Session Session { get; set; }
Required. The session to create.
Property Value | |
---|---|
Type | Description |
Session |