Class AuthorizationAction
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
승인작업
클릭 시 사용자를 AuthorizationUrl로 전송하는 승인 작업입니다.
CardService.newAuthorizationAction().setAuthorizationUrl('http://google.com/');
자세한 문서
setAuthorizationUrl(authorizationUrl)
사용자가 승인 메시지에서 이동하는 승인 URL을 설정합니다. 필수 항목입니다.
매개변수
이름 | 유형 | 설명 |
authorizationUrl | String | 설정할 승인 URL입니다. |
리턴
AuthorizationAction
: 연결을 위한 객체입니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[],["The `AuthorizationAction` object directs users to a specified URL when clicked. The core functionality involves using the `setAuthorizationUrl(authorizationUrl)` method to define this URL. This method requires a string parameter, `authorizationUrl`, which is the destination the user will be sent to. This method returns the `AuthorizationAction` object, allowing for method chaining. The `CardService.newAuthorizationAction()` creates the action to use with the `setAuthorizationUrl`.\n"],null,[]]