public sealed class UpdateSchemaRequest : IMessage<UpdateSchemaRequest>, IEquatable<UpdateSchemaRequest>, IDeepCloneable<UpdateSchemaRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class UpdateSchemaRequest.
Request message for
[SchemaService.UpdateSchema][google.cloud.discoveryengine.v1.SchemaService.UpdateSchema]
method.
If set to true, and the [Schema][google.cloud.discoveryengine.v1.Schema] is
not found, a new [Schema][google.cloud.discoveryengine.v1.Schema] is
created. In this situation, update_mask is ignored.
[[["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\u003eUpdateSchemaRequest\u003c/code\u003e class is used to update a schema within the Discovery Engine v1 API, and it is the request message type for the \u003ccode\u003eSchemaService.UpdateSchema\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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e has two constructors: a default constructor and one that takes another \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e instance as a parameter for creating a new instance based off another.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties \u003ccode\u003eAllowMissing\u003c/code\u003e, which creates a new schema if it doesn't exist, and \u003ccode\u003eSchema\u003c/code\u003e, which holds the schema data to be updated.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e class are available with version \u003ccode\u003e1.6.0\u003c/code\u003e being the latest.\u003c/p\u003e\n"]]],[],null,[]]