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.2.0, and shows it is used for updating schemas.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, allowing for complex usage.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, a parameterless one and another that takes another \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e as an argument for deep copy use cases.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two key properties: \u003ccode\u003eAllowMissing\u003c/code\u003e, a boolean that determines if a new schema should be created if one isn't found, and \u003ccode\u003eSchema\u003c/code\u003e, which represents the schema object to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers various versions of the API, with version 1.6.0 being the latest, showcasing a history of development changes.\u003c/p\u003e\n"]]],[],null,[]]