Method: projects.locations.hostProjectRegistrations.get

Get a host project registration.

HTTP request

GET https://apihub.googleapis.com/v1/{name=projects/*/locations/*/hostProjectRegistrations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Host project registration resource name. projects/{project}/locations/{location}/hostProjectRegistrations/{hostProjectRegistration_id}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of HostProjectRegistration.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.hostProjectRegistrations.get

For more information, see the IAM documentation.