API hub v1 API - Class HostProjectRegistration (1.0.0-beta01)

public sealed class HostProjectRegistration : IMessage<HostProjectRegistration>, IEquatable<HostProjectRegistration>, IDeepCloneable<HostProjectRegistration>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API 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.

Inheritance

object > HostProjectRegistration

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

HostProjectRegistration()

public HostProjectRegistration()

HostProjectRegistration(HostProjectRegistration)

public HostProjectRegistration(HostProjectRegistration other)
Parameter
Name Description
other HostProjectRegistration

Properties

CreateTime

public Timestamp CreateTime { get; set; }

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

Property Value
Type Description
Timestamp

GcpProject

public string GcpProject { get; set; }

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.

Property Value
Type Description
string

GcpProjectAsProjectName

public ProjectName GcpProjectAsProjectName { get; set; }

ProjectName-typed view over the GcpProject resource name property.

Property Value
Type Description
ProjectName

HostProjectRegistrationName

public HostProjectRegistrationName HostProjectRegistrationName { get; set; }

HostProjectRegistrationName-typed view over the Name resource name property.

Property Value
Type Description
HostProjectRegistrationName

Name

public string Name { get; set; }

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

Property Value
Type Description
string