Interface AudioRecordingConfigOrBuilder (0.1.0)

public interface AudioRecordingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsBucket()

public abstract String getGcsBucket()

Optional. The Cloud 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
String

The gcsBucket.

getGcsBucketBytes()

public abstract ByteString getGcsBucketBytes()

Optional. The Cloud 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
ByteString

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
String

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
ByteString

The bytes for gcsPathPrefix.