# Interface AudioRecordingConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface AudioRecordingConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getGcsBucket()

    public abstract String getGcsBucket()

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`.

`string gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The gcsBucket. |

### getGcsBucketBytes()

    public abstract ByteString getGcsBucketBytes()

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`.

`string gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for gcsBucket. |

### getGcsPathPrefix()

    public abstract String getGcsPathPrefix()

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.

`string gcs_path_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The gcsPathPrefix. |

### getGcsPathPrefixBytes()

    public abstract ByteString getGcsPathPrefixBytes()

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.

`string gcs_path_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for gcsPathPrefix. |