Reference documentation and code samples for the Cloud Spanner V1 Client class FreeInstanceMetadata.
Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes.
Generated from protobuf message google.spanner.admin.instance.v1.FreeInstanceMetadata
Namespace
Google \ Cloud \ Spanner \ Admin \ Instance \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ expire_time |
Google\Protobuf\Timestamp
Output only. Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance. |
↳ upgrade_time |
Google\Protobuf\Timestamp
Output only. If present, the timestamp at which the free instance was upgraded to a provisioned instance. |
↳ expire_behavior |
int
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is |
getExpireTime
Output only. Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasExpireTime
clearExpireTime
setExpireTime
Output only. Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpgradeTime
Output only. If present, the timestamp at which the free instance was upgraded to a provisioned instance.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpgradeTime
clearUpgradeTime
setUpgradeTime
Output only. If present, the timestamp at which the free instance was upgraded to a provisioned instance.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getExpireBehavior
Specifies the expiration behavior of a free instance. The default of
ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD
. This can be modified during
or after creation, and before expiration.
Returns | |
---|---|
Type | Description |
int |
setExpireBehavior
Specifies the expiration behavior of a free instance. The default of
ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD
. This can be modified during
or after creation, and before expiration.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |