1.1.0 (latest) 1.0.0

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class CreateExampleRequest.

Request message for
\[AgentService.CreateExample\]\[google.cloud.ces.v1.AgentService.CreateExample\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### CreateExampleRequest()

    public CreateExampleRequest()

### CreateExampleRequest(CreateExampleRequest)

    public CreateExampleRequest(CreateExampleRequest other)

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

## Properties

### Example

    public Example Example { get; set; }

Required. The example to create.

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

### ExampleId

    public string ExampleId { get; set; }

Optional. The ID to use for the example, which will become the final
component of the example's resource name. If not provided, a unique ID will
be automatically assigned for the example.

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

### Parent

    public string Parent { get; set; }

Required. The resource name of the app to create an example in.

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

### ParentAsAppName

    public AppName ParentAsAppName { get; set; }

[AppName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AppName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.CreateExampleRequest.md.txt#Google_Cloud_Ces_V1_CreateExampleRequest_Parent) resource name property.

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