public sealed class CreateSchemaRequest : IMessage<CreateSchemaRequest>, IEquatable<CreateSchemaRequest>, IDeepCloneable<CreateSchemaRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class CreateSchemaRequest.
Request message for
[SchemaService.CreateSchema][google.cloud.discoveryengine.v1.SchemaService.CreateSchema]
method.
Required. The parent data store resource name, in the format of
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.
Required. The ID to use for the
[Schema][google.cloud.discoveryengine.v1.Schema], which becomes the final
component of the
[Schema.name][google.cloud.discoveryengine.v1.Schema.name].
This field should conform to
RFC-1034 standard with a length
limit of 63 characters.
[[["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 latest version of the \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e class is 1.6.0, and there are several previous versions available, ranging from 1.5.0 down to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateSchemaRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eSchemaService.CreateSchema\u003c/code\u003e method within the Discovery Engine v1 API, allowing users to create new schemas.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e (the data store's resource name), \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e (a DataStoreName-typed view of Parent), \u003ccode\u003eSchema\u003c/code\u003e (the schema to be created), and \u003ccode\u003eSchemaId\u003c/code\u003e (the unique ID for the new schema).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e: one default constructor, and another that clones a schema request.\u003c/p\u003e\n"]]],[],null,[]]