public sealed class DeleteSampleQueryRequest : IMessage<DeleteSampleQueryRequest>, IEquatable<DeleteSampleQueryRequest>, IDeepCloneable<DeleteSampleQueryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class DeleteSampleQueryRequest.
Request message for
[SampleQueryService.DeleteSampleQuery][google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery]
method.
Required. Full resource name of
[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery], such as
projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}.
If the caller does not have permission to delete the
[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery], regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery] to
delete does not exist, a NOT_FOUND error is returned.
[[["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 documentation provides details for the \u003ccode\u003eDeleteSampleQueryRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteSampleQueryRequest\u003c/code\u003e is the request message used for the \u003ccode\u003eSampleQueryService.DeleteSampleQuery\u003c/code\u003e method, which is used to delete a specific sample query.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which support serialization, equality comparisons, deep cloning, and message buffering.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two properties: \u003ccode\u003eName\u003c/code\u003e, which specifies the full resource name of the sample query to delete, and \u003ccode\u003eSampleQueryName\u003c/code\u003e, which is a typed view over the \u003ccode\u003eName\u003c/code\u003e property, providing easier manipulation of the resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteSampleQueryRequest\u003c/code\u003e has two constructors, one default and one that takes another \u003ccode\u003eDeleteSampleQueryRequest\u003c/code\u003e object as a parameter, for cloning.\u003c/p\u003e\n"]]],[],null,[]]