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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class is part of the Google Cloud Discovery Engine v1 API, with version 1.6.0 being the latest release, and it serves as a request object for the \u003ccode\u003eCreateSession\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which provides capabilities for message handling, equality comparisons, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties \u003ccode\u003eParent\u003c/code\u003e, a string representing the full resource name of the parent data store, and \u003ccode\u003eSession\u003c/code\u003e, which is a required \u003ccode\u003eSession\u003c/code\u003e object to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, a default constructor \u003ccode\u003eCreateSessionRequest()\u003c/code\u003e and a copy constructor \u003ccode\u003eCreateSessionRequest(CreateSessionRequest other)\u003c/code\u003e that allows for creating a new instance from an existing \u003ccode\u003eCreateSessionRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e property provides a \u003ccode\u003eDataStoreName\u003c/code\u003e-typed view over the \u003ccode\u003eParent\u003c/code\u003e resource name property, for the purpose of working with the resource name in an object oriented way.\u003c/p\u003e\n"]]],[],null,[]]