- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists host project registrations.
HTTP request
GET https://apihub.googleapis.com/v1/{parent=projects/*/locations/*}/hostProjectRegistrations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of host projects. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of host project registrations to return. The service may return fewer than this value. If unspecified, at most 50 host project registrations 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 |
filter |
Optional. An expression that filters the list of HostProjectRegistrations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. All standard operators as documented at https://google.aip.dev/160 are supported. The following fields in the
|
orderBy |
Optional. Hint for how to order the results. |
Request body
The request body must be empty.
Response body
The hostProjectRegistrations.list
method's response.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"hostProjectRegistrations": [
{
object ( |
Fields | |
---|---|
hostProjectRegistrations[] |
The list of host project registrations. |
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.runTimeProjectAttachments.list
For more information, see the IAM documentation.