Reference documentation and code samples for the Google Cloud Api Hub V1 Client class 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.
Generated from protobuf message google.cloud.apihub.v1.HostProjectRegistration
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the host project registration. Format: "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
↳ gcp_project
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.
↳ create_time
getName
Identifier. The name of the host project registration.
Format: "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
string
setName
Identifier. The name of the host project registration.
Format: "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
var
string
$this
getGcpProject
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.
string
setGcpProject
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.
var
string
$this
getCreateTime
Output only. The time at which the host project registration was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which the host project registration was created.
$this

