1.1.0 (latest) 1.0.0

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

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

Configuration for how the audio interactions should be recorded.

## Inheritance

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

## Implements

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

### AudioRecordingConfig()

    public AudioRecordingConfig()

### AudioRecordingConfig(AudioRecordingConfig)

    public AudioRecordingConfig(AudioRecordingConfig other)

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

## Properties

### GcsBucket

    public string GcsBucket { get; set; }

Optional. The [Cloud Storage](https://cloud.google.com/storage) bucket to
store the session audio recordings. The URI must start with "gs://".

Please choose a bucket location that meets your data residency
requirements.

Note: If the Cloud Storage bucket is in a different project from the app,
you should grant `storage.objects.create` permission to the CES service
agent `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.

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

### GcsPathPrefix

    public string GcsPathPrefix { get; set; }

Optional. The Cloud Storage path prefix for audio recordings.

This prefix can include the following placeholders, which will be
dynamically substituted at serving time:

- $project: project ID
- $location: app location
- $app: app ID
- $date: session date in YYYY-MM-DD format
- $session: session ID

If the path prefix is not specified, the default prefix
`$project/$location/$app/$date/$session/` will be used.

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