- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
List dependencies based on the provided filter and pagination parameters.
HTTP request
GET https://apihub.googleapis.com/v1/{parent=projects/*/locations/*}/dependencies
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent which owns this collection of dependency resources. Format: |
Query parameters
Parameters | |
---|---|
filter |
Optional. An expression that filters the list of Dependencies. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. Allowed comparison operator is The following fields in the
Expressions are combined with either For example, |
pageSize |
Optional. The maximum number of dependency resources to return. The service may return fewer than this value. If unspecified, at most 50 dependencies 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 provided to |
Request body
The request body must be empty.
Response body
The dependencies.list
method's response.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"dependencies": [
{
object ( |
Fields | |
---|---|
dependencies[] |
The dependency 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.dependencies.list
For more information, see the IAM documentation.