1.3.0 (latest) 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the API hub v1 API class CreateHostProjectRegistrationRequest.

The
\[CreateHostProjectRegistration\]\[google.cloud.apihub.v1.HostProjectRegistrationService.CreateHostProjectRegistration\]
method's request.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateHostProjectRegistrationRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateHostProjectRegistrationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.CreateHostProjectRegistrationRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateHostProjectRegistrationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.CreateHostProjectRegistrationRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateHostProjectRegistrationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.CreateHostProjectRegistrationRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ApiHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.md.txt)

## Assembly

Google.Cloud.ApiHub.V1.dll

## Constructors

### CreateHostProjectRegistrationRequest()

    public CreateHostProjectRegistrationRequest()

### CreateHostProjectRegistrationRequest(CreateHostProjectRegistrationRequest)

    public CreateHostProjectRegistrationRequest(CreateHostProjectRegistrationRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CreateHostProjectRegistrationRequest` |

## Properties

### HostProjectRegistration

    public HostProjectRegistration HostProjectRegistration { get; set; }

Required. The host project registration to register.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HostProjectRegistration` |   |

### HostProjectRegistrationId

    public string HostProjectRegistrationId { get; set; }

Required. The ID to use for the Host Project Registration, which will
become the final component of the host project registration's resource
name. The ID must be the same as the Google cloud project specified in the
host_project_registration.gcp_project field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Parent

    public string Parent { get; set; }

Required. The parent resource for the host project.
Format: `projects/{project}/locations/{location}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.CreateHostProjectRegistrationRequest.md.txt#Google_Cloud_ApiHub_V1_CreateHostProjectRegistrationRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |