1.0.0-beta25 (latest) 1.0.0-beta24

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

Reference documentation and code samples for the Discovery Engine v1beta API class CreateAssistantRequest.

Request for the
\[AssistantService.CreateAssistant\]\[google.cloud.discoveryengine.v1beta.AssistantService.CreateAssistant\]
method.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateAssistantRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateAssistantRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateAssistantRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### CreateAssistantRequest()

    public CreateAssistantRequest()

### CreateAssistantRequest(CreateAssistantRequest)

    public CreateAssistantRequest(CreateAssistantRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest` |

## Properties

### Assistant

    public Assistant Assistant { get; set; }

Required. The \[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\] to
create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Assistant` |   |

### AssistantId

    public string AssistantId { get; set; }

Required. The ID to use for the
\[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\], which will
become the final component of the
\[Assistant\]\[google.cloud.discoveryengine.v1beta.Assistant\]'s resource name.

This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
with a length limit of 63 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Parent

    public string Parent { get; set; }

Required. The parent resource name.
Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsEngineName

    public EngineName ParentAsEngineName { get; set; }

[EngineName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.EngineName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest#Google_Cloud_DiscoveryEngine_V1Beta_CreateAssistantRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.EngineName` |   |