def spanner scope: nil, timeout: nil, client_config: nil
      Google::Cloud.spanner @project, @keyfile, scope: scope,
                                                timeout: (timeout || @timeout),
                                                client_config: client_config
    end
def spanner scope: nil, timeout: nil, client_config: nil
      Google::Cloud.spanner @project, @keyfile, scope: scope,
                                                timeout: (timeout || @timeout),
                                                client_config: client_config
    end
Creates a new object for connecting to the Spanner service.
 Each call creates a new connection.

 For more information on connecting to Google Cloud see the
 {file:AUTHENTICATION.md Authentication Guide}.

 @param [String, Array<String>] scope The OAuth 2.0 scopes controlling the
   set of resources and operations that the connection can access. See
   [Using OAuth 2.0 to Access Google
   APIs](https://developers.google.com/identity/protocols/OAuth2).

   The default scopes are:

   * `https://www.googleapis.com/auth/spanner`
   * `https://www.googleapis.com/auth/spanner.data`
 @param [Integer] timeout Default timeout to use in requests. Optional.
 @param [Hash] client_config A hash of values to override the default
   behavior of the API client. Optional.

 @return [Google::Cloud::Spanner::Project]

 @example
   require "google/cloud"

   gcloud = Google::Cloud.new
   spanner = gcloud.spanner

 @example The default scope can be overridden with the `scope` option:
   require "google/cloud"

   gcloud  = Google::Cloud.new
   platform_scope = "https://www.googleapis.com/auth/cloud-platform"
   spanner = gcloud.spanner scope: platform_scope