Google Apps Script API
    Preparing search index...

    Builder to create a getAuthType() response for your script project.

    function getAuthType() {
      var cc = DataStudioApp.createCommunityConnector();
      var authTypes = cc.AuthType;
    
      return cc.newGetAuthTypeResponse()
        .setAuthType(authTypes.USER_PASS)
        .setHelpUrl("https://www.example.org/connector-auth-help")
        .build();
    }
    
    interface GetAuthTypeResponse {
        build(): GetAuthTypeResponse;
        printJson(): string;
        setAuthType(authType: AuthType): GetAuthTypeResponse;
        setHelpUrl(helpUrl: string): GetAuthTypeResponse;
    }
    Index

    Methods