1.0.0-beta09 (latest) 1.0.0-beta08

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class TestPersonaVoiceRequest.

Request message for
\[EvaluationService.TestPersonaVoice\]\[google.cloud.ces.v1beta.EvaluationService.TestPersonaVoice\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Ces.V1Beta.dll

## Constructors

### TestPersonaVoiceRequest()

    public TestPersonaVoiceRequest()

### TestPersonaVoiceRequest(TestPersonaVoiceRequest)

    public TestPersonaVoiceRequest(TestPersonaVoiceRequest other)

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

## Properties

### App

    public string App { get; set; }

Required. the resource name of the app to test the persona voice for.
Format:
`projects/{project}/locations/{location}/apps/{app}`

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

### AppAsAppName

    public AppName AppAsAppName { get; set; }

[AppName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.AppName)-typed view over the [App](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.TestPersonaVoiceRequest#Google_Cloud_Ces_V1Beta_TestPersonaVoiceRequest_App) resource name property.

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

### PersonaId

    public string PersonaId { get; set; }

Required. The persona ID to test the voice for. Also accepts "default".

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

### Text

    public string Text { get; set; }

Required. The text to test the voice for.

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