public sealed class UpdateSampleQueryRequest : IMessage<UpdateSampleQueryRequest>, IEquatable<UpdateSampleQueryRequest>, IDeepCloneable<UpdateSampleQueryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class UpdateSampleQueryRequest.
Request message for
[SampleQueryService.UpdateSampleQuery][google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery]
method.
If the caller does not have permission to update 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
update 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\u003eThe \u003ccode\u003eUpdateSampleQueryRequest\u003c/code\u003e class is part of the Discovery Engine v1beta API, specifically used within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed to facilitate requests for updating sample queries via the \u003ccode\u003eSampleQueryService.UpdateSampleQuery\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling various operations and comparisons.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one default and one that takes another \u003ccode\u003eUpdateSampleQueryRequest\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSampleQueryRequest\u003c/code\u003e class contains properties \u003ccode\u003eSampleQuery\u003c/code\u003e, which specifies the query to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which defines which parts of the query should be changed.\u003c/p\u003e\n"]]],[],null,[]]