- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
List deployment resources in the API hub.
HTTP request
GET https://apihub.googleapis.com/v1/{parent=projects/*/locations/*}/deployments
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of deployment resources. Format: |
Query parameters
Parameters | |
---|---|
filter |
Optional. An expression that filters the list of Deployments. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: The following fields in the
Expressions are combined with either Here are a few examples:
|
pageSize |
Optional. The maximum number of deployment resources to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters (except pageSize) provided to |
Request body
The request body must be empty.
Response body
The deployments.list
method's response.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"deployments": [
{
object ( |
Fields | |
---|---|
deployments[] |
The deployment resources present in the API hub. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the parent
resource:
apihub.deployments.list
For more information, see the IAM documentation.