Discovery Engine v1 API - Class CreateSessionRequest (1.2.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class CreateSessionRequest.

Request for CreateSession method.

Inheritance

object > CreateSessionRequest

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

CreateSessionRequest()

public CreateSessionRequest()

CreateSessionRequest(CreateSessionRequest)

public CreateSessionRequest(CreateSessionRequest other)
Parameter
Name Description
other CreateSessionRequest

Properties

Parent

public string Parent { get; set; }

Required. Full resource name of parent data store. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}

Property Value
Type Description
string

ParentAsDataStoreName

public DataStoreName ParentAsDataStoreName { get; set; }

DataStoreName-typed view over the Parent resource name property.

Property Value
Type Description
DataStoreName

Session

public Session Session { get; set; }

Required. The session to create.

Property Value
Type Description
Session