public sealed class CreateIndexRequest : IMessage<CreateIndexRequest>, IEquatable<CreateIndexRequest>, IDeepCloneable<CreateIndexRequest>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class CreateIndexRequest.
Message for creating an Index.
Implements
IMessageCreateIndexRequest, IEquatableCreateIndexRequest, IDeepCloneableCreateIndexRequest, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
CreateIndexRequest()
public CreateIndexRequest()CreateIndexRequest(CreateIndexRequest)
public CreateIndexRequest(CreateIndexRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateIndexRequest |
Properties
Index
public Index Index { get; set; }Required. The index being created.
| Property Value | |
|---|---|
| Type | Description |
Index |
|
IndexId
public string IndexId { get; set; }Optional. The ID for the index. This will become the final resource name for the index. If the user does not specify this value, it will be generated by system.
This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. Value for the parent. The resource name of the Corpus under which
this index is created. Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsCorpusName
public CorpusName ParentAsCorpusName { get; set; }CorpusName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
CorpusName |
|