Method: subscriptions.reactivate
Mengaktifkan kembali langganan Google Workspace yang ditangguhkan.Metode ini mereset kolom State
langganan Anda ke ACTIVE
. Sebelum menggunakan metode ini, Anda harus memperbaiki error yang menangguhkan langganan. Untuk mempelajari cara menggunakan metode ini, lihat Mengaktifkan kembali langganan Google Workspace.
Permintaan HTTP
POST https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}:reactivate
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama resource langganan. Format: subscriptions/{subscription}
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Operation
.
- Kolom
metadata
berisi array kosong. - Kolom
response
berisi instance Subscription
yang diperbarui.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.messages.reactions
https://www.googleapis.com/auth/chat.messages.reactions.readonly
https://www.googleapis.com/auth/chat.memberships
https://www.googleapis.com/auth/chat.memberships.readonly
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.readonly
Untuk informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-05-03 UTC.
[null,null,["Terakhir diperbarui pada 2024-05-03 UTC."],[[["This method reactivates a suspended Google Workspace subscription by resetting its state to `ACTIVE` after addressing the suspension cause."],["It requires an HTTP `POST` request to a specific URL with the subscription name as a path parameter and an empty request body."],["A successful response includes an `Operation` object containing the updated `Subscription` details in the `response` field."],["Authorization is necessary, utilizing one of the specified OAuth scopes related to Google Chat or Google Meet functionalities, as detailed in the Authorization guide."]]],["This API method reactivates a suspended Google Workspace subscription, setting its `State` to `ACTIVE`. It utilizes a `POST` request to a specific URL, defined by gRPC Transcoding syntax, with a required `name` path parameter indicating the subscription's resource name. The request body must be empty. A successful response returns an `Operation` instance containing an updated `Subscription`, and it requires one of several OAuth scopes for authorization.\n"]]