docs: function getDeployments(auth, projectId) {
      return new Promise((resolve, reject) => {
          const script = google.script('v1');
          script.projects.deployments.list({
              auth,
              scriptId: projectId,
          }, (error, deployments) => {
              if (error) {
                  triageGoogleError(error, 'getDeployments').then((triaged) => {
                      reject(triaged);
                  }).catch((notTriaged) => {
                      reject(notTriaged);
                  });
              } else {
                  resolve(deployments.data);
              }
              return;
          });
      });
  }