Cloud Firestore V1 Client - Class DeleteProtectionState (1.43.1)

Reference documentation and code samples for the Cloud Firestore V1 Client class DeleteProtectionState.

The delete protection state of the database.

Protobuf type google.firestore.admin.v1.Database.DeleteProtectionState

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ Database

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DELETE_PROTECTION_STATE_UNSPECIFIED

Value: 0

The default value. Delete protection type is not specified

Generated from protobuf enum DELETE_PROTECTION_STATE_UNSPECIFIED = 0;

DELETE_PROTECTION_DISABLED

Value: 1

Delete protection is disabled

Generated from protobuf enum DELETE_PROTECTION_DISABLED = 1;

DELETE_PROTECTION_ENABLED

Value: 2

Delete protection is enabled

Generated from protobuf enum DELETE_PROTECTION_ENABLED = 2;