constructor(opt_maxAge, opt_path, opt_domain, opt_secure) {
    super();
    /** @const @private {number} The cookie max age in seconds. */
    this.maxAge_ = typeof opt_maxAge !== 'undefined' && opt_maxAge !== null ?
        opt_maxAge :
        -1;
    /** @const @private {?string} The cookie path. */
    this.path_ = opt_path || null;
    /** @const @private {?string} The cookie domain policy. */
    this.domain_ = opt_domain || null;
    /** @const @private {boolean} The cookie secure policy. */
    this.secure_ = !!opt_secure;
  }
@param {?number=} opt_maxAge  The max age in seconds (from now). Use -1 to
    set a session cookie. If not provided, the default is -1
    (i.e. set a session cookie).
@param {?string=} opt_path  The path of the cookie. If not present then
    this uses the full request path.
@param {?string=} opt_domain  The domain of the cookie, or null to not
    specify a domain attribute (browser will use the full request host
name). If not provided, the default is null (i.e. let browser use full
request host name).
@param {boolean=} opt_secure Whether the cookie should only be sent over
    a secure channel.