Reference documentation and code samples for the Cloud Spanner V1 Client class ExpireBehavior.
Allows users to change behavior when a free instance expires.
Protobuf type google.spanner.admin.instance.v1.FreeInstanceMetadata.ExpireBehavior
Namespace
Google \ Cloud \ Spanner \ Admin \ Instance \ V1 \ FreeInstanceMetadataMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
EXPIRE_BEHAVIOR_UNSPECIFIED
Value: 0
Not specified.
Generated from protobuf enum EXPIRE_BEHAVIOR_UNSPECIFIED = 0;
FREE_TO_PROVISIONED
Value: 1
When the free instance expires, upgrade the instance to a provisioned instance.
Generated from protobuf enum FREE_TO_PROVISIONED = 1;
REMOVE_AFTER_GRACE_PERIOD
Value: 2
When the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
Generated from protobuf enum REMOVE_AFTER_GRACE_PERIOD = 2;