Method: projects.builds.list

Lists previously requested builds.

Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.

HTTP request

GET https://cloudbuild.googleapis.com/v1/projects/{projectId}/builds

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

Required. ID of the project.

Query parameters

Parameters
pageSize

number

Number of results to return in the list.

pageToken

string

Token to provide to skip to a particular spot in the list.

filter

string

The raw filter text to constrain the results.

Request body

The request body must be empty.

Response body

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

Response including listed builds.

JSON representation
{
  "builds": [
    {
      object (Build)
    }
  ],
  "nextPageToken": string
}
Fields
builds[]

object (Build)

Builds will be sorted by createTime, descending.

nextPageToken

string

Token to receive the next page of results.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...

Cloud Build Documentation