Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata.
Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expire_behavior
def expire_behavior() -> ::Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata::ExpireBehavior
Returns
-
(::Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata::ExpireBehavior) — 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.
#expire_behavior=
def expire_behavior=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata::ExpireBehavior
Parameter
-
value (::Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata::ExpireBehavior) — 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
-
(::Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata::ExpireBehavior) — 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.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::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
def upgrade_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. If present, the timestamp at which the free instance was upgraded to a provisioned instance.