3.6.0 (latest) 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google AutoML v1 API class CreateModelRequest.

Request message for \[AutoMl.CreateModel\]\[google.cloud.automl.v1.AutoMl.CreateModel\].

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AutoML.V1/latest/Google.Cloud.AutoML.V1.CreateModelRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AutoML.V1/latest/Google.Cloud.AutoML.V1.CreateModelRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AutoML.V1/latest/Google.Cloud.AutoML.V1.CreateModelRequest.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.AutoML.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AutoML.V1/latest/Google.Cloud.AutoML.V1.md.txt)

## Assembly

Google.Cloud.AutoML.V1.dll

## Constructors

### CreateModelRequest()

    public CreateModelRequest()

### CreateModelRequest(CreateModelRequest)

    public CreateModelRequest(CreateModelRequest other)

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

## Properties

### Model

    public Model Model { get; set; }

Required. The model to create.

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

### Parent

    public string Parent { get; set; }

Required. Resource name of the parent project where the model is being created.

| **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.AutoML.V1/latest/Google.Cloud.AutoML.V1.CreateModelRequest.md.txt#Google_Cloud_AutoML_V1_CreateModelRequest_Parent) resource name property.

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