set(key, value) {
    goog.net.cookies.set(
        key, value, this.maxAge_, this.path_, this.domain_, this.secure_);
  }
Set a value for a key.

@param {string} key The key to set.
@param {string} value The string to save.
@override