def start
      resolve_parameters

      version_info = version_info @service, @version
      env_variables = version_info["envVariables"] || {}
      beta_settings = version_info["betaSettings"] || {}
      cloud_sql_instances = beta_settings["cloud_sql_instances"] || []
      image = version_info["deployment"]["container"]["image"]

      config = build_config command, image, env_variables, cloud_sql_instances
      file = ::Tempfile.new ["cloudbuild_", ".json"]
      begin
        ::JSON.dump config, file
        file.flush
        Util::Gcloud.execute [
            "builds", "submit",
            "--no-source",
            "--config=#{file.path}",
            "--timeout=#{@timeout}"]
      ensure
        file.close!
      end
    end
def start
      resolve_parameters

      version_info = version_info @service, @version
      env_variables = version_info["envVariables"] || {}
      beta_settings = version_info["betaSettings"] || {}
      cloud_sql_instances = beta_settings["cloud_sql_instances"] || []
      image = version_info["deployment"]["container"]["image"]

      config = build_config command, image, env_variables, cloud_sql_instances
      file = ::Tempfile.new ["cloudbuild_", ".json"]
      begin
        ::JSON.dump config, file
        file.flush
        Util::Gcloud.execute [
            "builds", "submit",
            "--no-source",
            "--config=#{file.path}",
            "--timeout=#{@timeout}"]
      ensure
        file.close!
      end
    end
Executes the command synchronously. Streams the logs back to standard out
 and does not return until the command has completed or timed out.