Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource.
Configuration for Cloud Storage bucket sources.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bucket_object_type
def bucket_object_type() -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource::BucketObjectType
Returns
-
(::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource::BucketObjectType) — Optional. Specifies the type of the objects in
bucket_uri
.
#bucket_object_type=
def bucket_object_type=(value) -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource::BucketObjectType
Parameter
-
value (::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource::BucketObjectType) — Optional. Specifies the type of the objects in
bucket_uri
.
Returns
-
(::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource::BucketObjectType) — Optional. Specifies the type of the objects in
bucket_uri
.
#bucket_uri
def bucket_uri() -> ::String
Returns
- (::String) — Required. The Cloud Storage bucket containing source objects.
#bucket_uri=
def bucket_uri=(value) -> ::String
Parameter
- value (::String) — Required. The Cloud Storage bucket containing source objects.
Returns
- (::String) — Required. The Cloud Storage bucket containing source objects.
#custom_metadata_keys
def custom_metadata_keys() -> ::Array<::String>
Returns
-
(::Array<::String>) — 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 20 labels per conversation.
#custom_metadata_keys=
def custom_metadata_keys=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — 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 20 labels per conversation.
Returns
-
(::Array<::String>) — 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 20 labels per conversation.
#metadata_bucket_uri
def metadata_bucket_uri() -> ::String
Returns
-
(::String) — 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
andgs://bucket/metadata/conversation1.json
.
#metadata_bucket_uri=
def metadata_bucket_uri=(value) -> ::String
Parameter
-
value (::String) — 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
andgs://bucket/metadata/conversation1.json
.
Returns
-
(::String) — 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
andgs://bucket/metadata/conversation1.json
.