<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/spanner/admin/instance/v1/spanner_instance_admin.proto

namespace Google\Cloud\Spanner\Admin\Instance\V1\Instance;

/**
 * Indicates the current state of the instance.
 *
 * Protobuf type <code>google.spanner.admin.instance.v1.Instance.State</code>
 */
class State
{
    /**
     * Not specified.
     *
     * Generated from protobuf enum <code>STATE_UNSPECIFIED = 0;</code>
     */
    const STATE_UNSPECIFIED = 0;
    /**
     * The instance is still being created. Resources may not be
     * available yet, and operations such as database creation may not
     * work.
     *
     * Generated from protobuf enum <code>CREATING = 1;</code>
     */
    const CREATING = 1;
    /**
     * The instance is fully created and ready to do work such as
     * creating databases.
     *
     * Generated from protobuf enum <code>READY = 2;</code>
     */
    const READY = 2;
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(State::class, \Google\Cloud\Spanner\Admin\Instance\V1\Instance_State::class);

