Method: projects.locations.artifacts.list

Lists Artifacts under a given project and location.

HTTP request

GET https://servicehealth.googleapis.com/v1beta/{parent=projects/*/locations/*}/artifacts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent value for ListArtifactsRequest projects/{projectId}/locations/{locationId}.

projectId - Project ID of the project that contains the artifact.
location - The location to get the service health artifacts from. Set this field to global.

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of events to return. The service may return fewer events than this value. If unspecified, server will pick an appropriate default.

pageToken

string

Optional. A token identifying a page of results the server should return. Provide Page token returned by a previous `artifacts.list` call to retrieve the next page of results. When paginating, all other parameters provided to `artifacts.list` must match the call that provided the page token.

Request body

The request body must be empty.

Response body

Message for response to listing Artifacts.

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

JSON representation
{
  "artifacts": [
    {
      object (Artifact)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
artifacts[]

object (Artifact)

Output only. List of artifacts.

nextPageToken

string

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as pageToken in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.

unreachable[]

string

Output only. Unordered list. Locations that could not be reached.

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:

  • servicehealth.artifacts.list

For more information, see the IAM documentation.