GcsSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for Cloud Storage bucket sources.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
bucket_uri |
str
Required. The Cloud Storage bucket containing source objects. |
bucket_object_type |
google.cloud.contact_center_insights_v1.types.IngestConversationsRequest.GcsSource.BucketObjectType
Optional. Specifies the type of the objects in bucket_uri .
|
metadata_bucket_uri |
str
Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. gs://bucket/audio/conversation1.mp3 and
gs://bucket/metadata/conversation1.json .
This field is a member of oneof _ _metadata_bucket_uri .
|
custom_metadata_keys |
MutableSequence[str]
Optional. Custom keys to extract as conversation labels from metadata files in metadata_bucket_uri . Keys not included
in this field will be ignored. Note that there is a limit of
100 labels per conversation.
|
Classes
BucketObjectType
BucketObjectType(value)