Method: sampleProjects.list

  • This page details how to list all sample projects supported by the gactions CLI.

  • The HTTP request method is GET to the specified actions.googleapis.com URL.

  • Optional query parameters include pageSize for the maximum number of results and pageToken for retrieving subsequent pages.

  • The request body must be empty.

  • The response body contains a list of sampleProjects, each including name, hostedUrl, and description, and optionally a nextPageToken.

Lists all the sample projects supported by the gactions CLI.

HTTP request

GET https://actions.googleapis.com/v2/sampleProjects

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of sample projects to return. The service may return fewer than this value. If unspecified, at most 1000 sample projects will be returned. Values above 1000 will be coerced to 1000.

pageToken

string

Optional. A page token, received from a previous 'sampleProjects.list' call. Provide this to retrieve the subsequent page.

Request body

The request body must be empty.

Response body

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

RPC response for sampleProjects.list.

JSON representation
{
  "sampleProjects": [
    {
      object (SampleProject)
    }
  ],
  "nextPageToken": string
}
Fields
sampleProjects[]

object (SampleProject)

The list of sample projects supported.

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.

SampleProject

Definition of sample project resource.

JSON representation
{
  "name": string,
  "hostedUrl": string,
  "description": string
}
Fields
name

string

The name of the sample project. Format: sampleProjects/{sample_project}

hostedUrl

string

The URL to the zip file where the sample is hosted.

description

string

The description of the sample project.