เปิดใช้งานการสมัครใช้บริการ Google Workspace ที่ถูกระงับอีกครั้ง
เมธอดนี้จะรีเซ็ตฟิลด์ State ของการสมัครใช้บริการเป็น ACTIVE คุณต้องแก้ไขข้อผิดพลาดที่ทำให้การสมัครใช้บริการถูกระงับก่อนที่จะใช้เมธอดนี้ เมธอดนี้จะละเว้นหรือปฏิเสธการสมัครใช้บริการที่ไม่ได้อยู่ในสถานะถูกระงับในปัจจุบัน ดูวิธีใช้เมธอดนี้ได้ที่ เปิดใช้งานการสมัครใช้บริการ Google Workspace อีกครั้ง
สำหรับการสมัครใช้บริการในทรัพยากรเป้าหมายของ Chat คุณสามารถเปิดใช้งานการสมัครใช้บริการอีกครั้งได้ดังนี้
แอป Chat โดยระบุขอบเขตการให้สิทธิ์ที่ขึ้นต้นด้วย
chat.appและรับการอนุมัติจากผู้ดูแลระบบแบบครั้งเดียว ดูข้อมูลเพิ่มเติมได้ที่ ให้สิทธิ์ในฐานะแอป Chat ด้วยการอนุมัติจากผู้ดูแลระบบผู้ใช้โดยระบุขอบเขตการให้สิทธิ์ที่ไม่มี
appในชื่อ ดูข้อมูลเพิ่มเติมได้ที่ ให้สิทธิ์ในฐานะผู้ใช้ Chat
คำขอ HTTP
POST https://workspaceevents.googleapis.com/v1/{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.messages.readonlyhttps://www.googleapis.com/auth/chat.app.spaceshttps://www.googleapis.com/auth/chat.app.spaces.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
ดูข้อมูลเพิ่มเติมได้ที่คู่มือการให้สิทธิ์