The purchase gives Google new momentum in its efforts to compete in the cloud-computing business by offering more security for its services.