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\u003eThis document provides reference documentation for the \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.3.0, with links to other versions of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e class is used as a request message for the \u003ccode\u003eSchemaService.UpdateSchema\u003c/code\u003e method and implements several 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\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and has two constructors, \u003ccode\u003eUpdateSchemaRequest()\u003c/code\u003e and \u003ccode\u003eUpdateSchemaRequest(UpdateSchemaRequest other)\u003c/code\u003e, along with two properties: \u003ccode\u003eAllowMissing\u003c/code\u003e (a boolean) and \u003ccode\u003eSchema\u003c/code\u003e (of type \u003ccode\u003eSchema\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllowMissing\u003c/code\u003e property, if set to true, will result in a new schema creation if the designated schema is not found, and in this case the \u003ccode\u003eupdate_mask\u003c/code\u003e is ignored.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchema\u003c/code\u003e property is a required field that represents the \u003ccode\u003eSchema\u003c/code\u003e to update.\u003c/p\u003e\n"]]],[],null,[]]