public sealed class DeleteSessionRequest : IMessage<DeleteSessionRequest>, IEquatable<DeleteSessionRequest>, IDeepCloneable<DeleteSessionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class DeleteSessionRequest.
Required. The resource name of the Session to delete. Format:
projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}
[[["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\u003eThis document provides reference documentation for the \u003ccode\u003eDeleteSessionRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.2.0, and shows it is used for requesting the deletion of a session.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteSessionRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<DeleteSessionRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<DeleteSessionRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default one and another that takes an existing \u003ccode\u003eDeleteSessionRequest\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteSessionRequest\u003c/code\u003e class has two properties: \u003ccode\u003eName\u003c/code\u003e, which is a string representing the resource name of the session to be deleted, and \u003ccode\u003eSessionName\u003c/code\u003e, which is a typed view over the \u003ccode\u003eName\u003c/code\u003e property, both of which are used for identifying the session to delete.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 1.6.0, as shown in the document, and there are previous versions available including 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0 and 1.0.0-beta06.\u003c/p\u003e\n"]]],[],null,[]]