Method: projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.list

Get a list of push notifications configured for a task.

HTTP request

GET https://discoveryengine.googleapis.com/{tenant=projects/*/locations/*/collections/*/engines/*/assistants/*/agents/*}/{parent=tasks/*}/pushNotificationConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
tenant

string

Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.

parent

string

The parent task resource. Format: tasks/{taskId}

Query parameters

Parameters
pageSize

integer

For AIP-158 these fields are present. Usually not used/needed. The maximum number of configurations to return. If unspecified, all configs will be returned.

pageToken

string

A page token received from a previous ListTaskPushNotificationConfigRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListTaskPushNotificationConfigRequest must match the call that provided the page token.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "configs": [
    {
      object (TaskPushNotificationConfig)
    }
  ],
  "nextPageToken": string
}
Fields
configs[]

object (TaskPushNotificationConfig)

The list of push notification configurations.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.