Show / Hide Table of Contents

Class GoogleFirestoreAdminV1RestoreDatabaseRequest

The request message for FirestoreAdmin.RestoreDatabase.

Inheritance
object
GoogleFirestoreAdminV1RestoreDatabaseRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class GoogleFirestoreAdminV1RestoreDatabaseRequest : IDirectResponseSchema

Properties

Backup

Required. Backup to restore from. Must be from the same project as the parent. The restored database will be created in the same location as the source backup. Format is: projects/{project_id}/locations/{location}/backups/{backup}

Declaration
[JsonProperty("backup")]
public virtual string Backup { get; set; }
Property Value
Type Description
string

DatabaseId

Required. The ID to use for the database, which will become the final component of the database's resource name. This database ID must not be associated with an existing database. This value should be 4-63 characters. Valid characters are /a-z-/ 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.

Declaration
[JsonProperty("databaseId")]
public virtual string DatabaseId { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EncryptionConfig

Optional. Encryption configuration for the restored database. If this field is not specified, the restored database will use the same encryption configuration as the backup, namely use_source_encryption.

Declaration
[JsonProperty("encryptionConfig")]
public virtual GoogleFirestoreAdminV1EncryptionConfig EncryptionConfig { get; set; }
Property Value
Type Description
GoogleFirestoreAdminV1EncryptionConfig

Tags

Optional. Immutable. Tags to be bound to the restored database. The tags should be provided in the format of tagKeys/{tag_key_id} -> tagValues/{tag_value_id}.

Declaration
[JsonProperty("tags")]
public virtual IDictionary<string, string> Tags { get; set; }
Property Value
Type Description
IDictionary<string, string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX