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\u003eThis document provides reference information for the \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.3.0, which is part of the namespace \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e class is used to send a request to create a new schema via the \u003ccode\u003eSchemaService.CreateSchema\u003c/code\u003e method and implements several 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\u003eKey properties of the \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e, which specifies the data store resource, \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e, which provides a typed view of the parent, \u003ccode\u003eSchema\u003c/code\u003e for the schema being created, and \u003ccode\u003eSchemaId\u003c/code\u003e, which is used to set the ID of the schema.\u003c/p\u003e\n"],["\u003cp\u003eThe document also details the constructors for creating a new \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e instance, including a default constructor and one that takes another \u003ccode\u003eCreateSchemaRequest\u003c/code\u003e as a parameter, and it shows it inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 1.6.0, and prior versions such as 1.5.0, 1.4.0, 1.2.0, 1.1.0, and 1.0.0-beta06 are also documented.\u003c/p\u003e\n"]]],[],null,[]]