function createDestinationWithCertificateStatus(id, name, invalid) {
    const tags = {
      certificateStatus: invalid ?
          print_preview.DestinationCertificateStatus.NO :
          print_preview.DestinationCertificateStatus.UNKNOWN,
    };
    const dest = new print_preview.Destination(
        id, print_preview.DestinationType.GOOGLE,
        print_preview.DestinationOrigin.COOKIES, name, true /* isRecent */,
        print_preview.DestinationConnectionStatus.ONLINE, tags);
    return dest;
  }
/**
   * Creates a destination with a certificate status tag.
   * @param {string} id Printer id
   * @param {string} name Printer display name
   * @param {boolean} invalid Whether printer has an invalid certificate.
   * @return {!print_preview.Destination}
   */
Creates a destination with a certificate status tag.
@param {string} id Printer id
@param {string} name Printer display name
@param {boolean} invalid Whether printer has an invalid certificate.
Creates a destination with a certificate status tag . @param { string } id Printer id @param { string } name Printer display name @param { boolean } invalid Whether printer has an invalid certificate .
function createDestinationWithCertificateStatus(id, name, invalid) {
    const tags = {
      certificateStatus: invalid ?
          print_preview.DestinationCertificateStatus.NO :
          print_preview.DestinationCertificateStatus.UNKNOWN,
    };
    const dest = new print_preview.Destination(
        id, print_preview.DestinationType.GOOGLE,
        print_preview.DestinationOrigin.COOKIES, name, true ,
        print_preview.DestinationConnectionStatus.ONLINE, tags);
    return dest;
  }
function createDestinationWithCertificateStatus ( id , name , invalid ) { const tags = { certificateStatus : invalid ? print_preview . DestinationCertificateStatus . NO : print_preview . DestinationCertificateStatus . UNKNOWN , } ; const dest = new print_preview . Destination ( id , print_preview . DestinationType . GOOGLE , print_preview . DestinationOrigin . COOKIES , name , true , print_preview . DestinationConnectionStatus . ONLINE , tags ) ; return dest ; }
Creates a destination with a certificate status tag.
Creates a destination with a certificate status tag .
/* isRecent */