Class CreateIndexRequest (2.2.0)

public sealed class CreateIndexRequest : IMessage<CreateIndexRequest>, IEquatable<CreateIndexRequest>, IDeepCloneable<CreateIndexRequest>, IBufferMessage, IMessage

The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].

Inheritance

Object > CreateIndexRequest

Namespace

Google.Cloud.Firestore.Admin.V1

Assembly

Google.Cloud.Firestore.Admin.V1.dll

Constructors

CreateIndexRequest()

public CreateIndexRequest()

CreateIndexRequest(CreateIndexRequest)

public CreateIndexRequest(CreateIndexRequest other)
Parameter
NameDescription
otherCreateIndexRequest

Properties

Index

public Index Index { get; set; }

Required. The composite index to create.

Property Value
TypeDescription
Index

Parent

public string Parent { get; set; }

Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}

Property Value
TypeDescription
String

ParentAsCollectionGroupName

public CollectionGroupName ParentAsCollectionGroupName { get; set; }

CollectionGroupName-typed view over the Parent resource name property.

Property Value
TypeDescription
CollectionGroupName