Method: projects.locations.apps.examples.list

Lists examples in the given app.

HTTP request

GET https://ces.googleapis.com/v1beta/{parent=projects/*/locations/*/apps/*}/examples

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the app to list examples from.

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

pageToken

string

Optional. The nextPageToken value returned from a previous list AgentService.ListExamples call.

filter

string

Optional. Filter to be applied when listing the examples. See https://google.aip.dev/160 for more details.

orderBy

string

Optional. Field to sort by. Only "name" and "createTime" is supported. See https://google.aip.dev/132#ordering for more details.

Request body

The request body must be empty.

Response body

Response message for AgentService.ListExamples.

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

JSON representation
{
  "examples": [
    {
      object (Example)
    }
  ],
  "nextPageToken": string
}
Fields
examples[]

object (Example)

The list of examples.

nextPageToken

string

A token that can be sent as ListExamplesRequest.page_token to retrieve the next page. Absence of this field indicates 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.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • ces.examples.list

For more information, see the IAM documentation.