정지된 Google Workspace 구독을 재활성화합니다.
이 메서드는 정기 결제의 State 필드를 ACTIVE로 재설정합니다. 이 메서드를 사용하기 전에 정기 결제를 정지시킨 오류를 수정해야 합니다. 이 메서드는 현재 일시중지 상태가 아닌 구독을 무시하거나 거부합니다. 이 방법을 사용하는 방법을 알아보려면 Google Workspace 구독 재활성화를 참고하세요.
채팅 타겟 리소스의 구독의 경우 다음과 같이 구독을 재활성화할 수 있습니다.
chat.app로 시작하는 승인 범위를 지정하고 일회성 관리자 승인을 받아 앱이 구성원인 스페이스 이벤트를 구독하는 Chat 앱 자세한 내용은 관리자 승인을 통해 Chat 앱으로 승인하기를 참고하세요.개발자 프리뷰:
chat.app.all로 시작하는 승인 범위를 지정하고 일회성 관리자 승인을 받아 Google Workspace 조직의 모든 이벤트를 구독하는 Chat 앱 자세한 내용은 Workspace 조직의 모든 Google Chat 이벤트 구독하기 를 참고하세요.이름에
app가 포함되지 않은 승인 범위를 지정하여 사용자를 추가합니다. 자세한 내용은 Chat 사용자로 승인을 참고하세요.
HTTP 요청
POST https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}:reactivate
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
| 매개변수 | |
|---|---|
name |
필수 항목입니다. 정기 결제의 리소스 이름입니다. 형식: |
요청 본문
요청 본문은 비어 있어야 합니다.
응답 본문
성공한 경우 응답 본문에 Operation의 인스턴스가 포함됩니다.
metadata필드에 빈 배열이 포함되어 있습니다.response필드에는 업데이트된Subscription인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/chat.spaceshttps://www.googleapis.com/auth/chat.spaces.readonlyhttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messages.reactions.readonlyhttps://www.googleapis.com/auth/chat.membershipshttps://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.membershipshttps://www.googleapis.com/auth/chat.app.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.all.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.messages.readonlyhttps://www.googleapis.com/auth/chat.app.all.messages.readonlyhttps://www.googleapis.com/auth/chat.app.spaceshttps://www.googleapis.com/auth/chat.app.spaces.readonlyhttps://www.googleapis.com/auth/chat.app.all.spaces.readonlyhttps://www.googleapis.com/auth/chat.app.all.users.readstate.readonlyhttps://www.googleapis.com/auth/meetings.space.createdhttps://www.googleapis.com/auth/meetings.space.readonlyhttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.metadatahttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/drive.readonly
자세한 내용은 승인 가이드를 참고하세요.