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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e class is 1.6.0, and previous versions are also available, ranging back to 1.0.0-beta06.\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 in the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSchemaRequest\u003c/code\u003e class contains two properties, \u003ccode\u003eAllowMissing\u003c/code\u003e, which creates a new schema if it is missing, and \u003ccode\u003eSchema\u003c/code\u003e, which represents the schema to be updated.\u003c/p\u003e\n"],["\u003cp\u003eIt is found under the namespace \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class UpdateSchemaRequest (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest) \n\n public sealed class UpdateSchemaRequest : IMessage\u003cUpdateSchemaRequest\u003e, IEquatable\u003cUpdateSchemaRequest\u003e, IDeepCloneable\u003cUpdateSchemaRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class UpdateSchemaRequest.\n\nRequest message for\n\\[SchemaService.UpdateSchema\\]\\[google.cloud.discoveryengine.v1.SchemaService.UpdateSchema\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateSchemaRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateSchemaRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateSchemaRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateSchemaRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateSchemaRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### UpdateSchemaRequest()\n\n public UpdateSchemaRequest()\n\n### UpdateSchemaRequest(UpdateSchemaRequest)\n\n public UpdateSchemaRequest(UpdateSchemaRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nIf set to true, and the \\[Schema\\]\\[google.cloud.discoveryengine.v1.Schema\\] is\nnot found, a new \\[Schema\\]\\[google.cloud.discoveryengine.v1.Schema\\] is\ncreated. In this situation, `update_mask` is ignored.\n\n### Schema\n\n public Schema Schema { get; set; }\n\nRequired. The \\[Schema\\]\\[google.cloud.discoveryengine.v1.Schema\\] to update."]]