Method: operations.get

  • This API endpoint retrieves the latest state of a long-running operation, allowing clients to poll for results.

  • It uses a GET request with the URL https://workspaceevents.googleapis.com/v1beta/{name=operations/**}, where {name} specifies the operation resource.

  • The request body should be empty and a successful response returns an Operation object detailing the operation's status.

  • Authorization requires one of the listed OAuth scopes related to Google Chat or Google Meet, providing varying levels of access.

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

HTTP request

GET https://workspaceevents.googleapis.com/v1beta/{name=operations/**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the operation resource.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/chat.bot
  • 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/meet.space.created
  • https://www.googleapis.com/auth/meetings.space.created
  • https://www.googleapis.com/auth/meetings.space.readonly
  • https://www.googleapis.com/auth/drive
  • https://www.googleapis.com/auth/drive.file
  • https://www.googleapis.com/auth/drive.metadata
  • https://www.googleapis.com/auth/drive.metadata.readonly
  • https://www.googleapis.com/auth/drive.readonly

For more information, see the Authorization guide.