func (s *CloudSQL) InstanceDetails(ctx context.Context, projectID string, instance string) (*sql.DatabaseInstance, error) {
	return s.InstanceDetailsResponse, nil
}
InstanceDetails gets detail from a instance in a project.
package stubs
import (
	"context"
	sql "google.golang.org/api/sqladmin/v1beta4"
)
type CloudSQL struct {
	SavedInstanceUpdated    *sql.DatabaseInstance
	InstanceDetailsResponse *sql.DatabaseInstance
	UpdatedUser             *sql.User
}
func (s *CloudSQL) WaitSQL(project string, op *sql.Operation) []error {
	return []error{}
}
func (s *CloudSQL) PatchInstance(ctx context.Context, projectID, instance string, databaseInstance *sql.DatabaseInstance) (*sql.Operation, error) {
	s.SavedInstanceUpdated = databaseInstance
	return &sql.Operation{}, nil
}
func (s *CloudSQL) UpdateUser(ctx context.Context, projectID, instance, host, name string, user *sql.User) (*sql.Operation, error) {
	s.UpdatedUser = user
	return &sql.Operation{}, nil
}