- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
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 |
Required. Parent value for ListArtifactsRequest
|
Query parameters
| Parameters | |
|---|---|
pageSize |
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 |
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 ( |
| Fields | |
|---|---|
artifacts[] |
Output only. List of artifacts. |
nextPageToken |
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[] |
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.