Firestore Admin v1 API - Class CreateDatabaseRequest (3.8.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
Name Description
other CreateDatabaseRequest

Properties

Database

public Database Database { get; set; }

Required. The Database to create.

Property Value
Type Description
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.

This value should be 4-63 characters. Valid characters are /[a-z][0-9]-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/.

"(default)" database id is also valid.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName