REST Resource: projects.locations.hostProjectRegistrations

Resource: HostProjectRegistration

Host project registration refers to the registration of a Google cloud project with Api Hub as a host project. This is the project where Api Hub is provisioned. It acts as the consumer project for the Api Hub instance provisioned. Multiple runtime projects can be attached to the host project and these attachments define the scope of Api Hub.

JSON representation
{
  "name": string,
  "gcpProject": string,
  "createTime": string
}
Fields
name

string

Identifier. The name of the host project registration. Format: "projects/{project}/locations/{location}/hostProjectRegistrations/{hostProjectRegistration}".

gcpProject

string

Required. Immutable. Google cloud project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number.

createTime

string (Timestamp format)

Output only. The time at which the host project registration was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

create

Create a host project registration.

get

Get a host project registration.

list

Lists host project registrations.