Firestore Admin v1 API - Class CreateDatabaseRequest (3.3.0)

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

Reference documentation and code samples for the Firestore Admin v1 API class CreateDatabaseRequest.

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

Inheritance

object > CreateDatabaseRequest

Namespace

Google.Cloud.Firestore.Admin.V1

Assembly

Google.Cloud.Firestore.Admin.V1.dll

Constructors

CreateDatabaseRequest()

public CreateDatabaseRequest()

CreateDatabaseRequest(CreateDatabaseRequest)

public CreateDatabaseRequest(CreateDatabaseRequest other)
Parameter
NameDescription
otherCreateDatabaseRequest

Properties

Database

public Database Database { get; set; }

Required. The Database to create.

Property Value
TypeDescription
Database

DatabaseId

public string DatabaseId { get; set; }

Required. The ID to use for the database, which will become the final component of the database's resource name.

The value must be set to "(default)".

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. A parent name of the form projects/{project_id}

Property Value
TypeDescription
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName