Class ConferenceError

ConferenceError

회의 부가기능에서 오류가 발생했습니다. 사용 예:

var conferenceError = ConferenceDataService.newConferenceError()
    .setConferenceErrorType(ConferenceErrorType.PERMANENT);
인증 예시:
var state = ScriptApp.newStateToken()
    .withMethod('myLoginCallbackFunction');
    .withTimeout(3600)
    .createToken();

var authenticationUrl = 'https://script.google.com/a/google.com/d/'
    + ScriptApp.getScriptId()
    + '/usercallback?state='
    + state;

var conferenceError = ConferenceDataService.newConferenceError()
    .setConferenceErrorType(ConferenceDataService.ConferenceErrorType.AUTHENTICATION)
    .setAuthenticationUrl(authenticationUrl);

방법

메서드반환 유형간략한 설명
setAuthenticationUrl(authenticationUrl)ConferenceError오류 유형이 AUTHENTICATION이면 부가기능에서 사용자가 로그인할 수 있도록 부가기능을 다시 호출하는 URL을 제공해야 합니다.
setConferenceErrorType(conferenceErrorType)ConferenceErrorConferenceError의 오류 유형을 설정합니다.

자세한 문서

setAuthenticationUrl(authenticationUrl)

오류 유형이 AUTHENTICATION이면 부가기능에서 사용자가 로그인할 수 있도록 부가기능을 다시 호출하는 URL을 제공해야 합니다. 이 필드의 최대 길이는 1,800자(영문 기준)입니다.

매개변수

이름유형설명
authenticationUrlString설정할 인증 URL입니다.

리턴

ConferenceError: 체이닝용 이 객체입니다.

생성 값

Error - 제공된 URL이 유효한 http/https URL이 아니거나 너무 긴 경우


setConferenceErrorType(conferenceErrorType)

ConferenceError의 오류 유형을 설정합니다.

매개변수

이름유형설명
conferenceErrorTypeConferenceErrorType설정할 오류 유형입니다.

리턴

ConferenceError: 체이닝용 이 객체입니다.