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 \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e class is part of the Google Cloud Discovery Engine v1 API, used for requesting the creation of a schema via the \u003ccode\u003eSchemaService.CreateSchema\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<CreateSchemaRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CreateSchemaRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt features properties such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e, \u003ccode\u003eSchema\u003c/code\u003e, and \u003ccode\u003eSchemaId\u003c/code\u003e, which are required to define the data store location and details for the new schema.\u003c/p\u003e\n"],["\u003cp\u003eThe class is available in various versions of the API, with version 1.6.0 being the latest and versions ranging from 1.0.0-beta06 to 1.6.0 being documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e class provides constructors to initialize a new instance, either as empty, or a copy from an existing \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]