Class: Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb
Overview
Configuration for Cloud Storage bucket sources.
Defined Under Namespace
Modules: BucketObjectType
Instance Attribute Summary collapse
-
#bucket_object_type ⇒ ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource::BucketObjectType
Optional.
-
#bucket_uri ⇒ ::String
Required.
-
#custom_metadata_keys ⇒ ::Array<::String>
Optional.
-
#metadata_bucket_uri ⇒ ::String
Optional.
Instance Attribute Details
#bucket_object_type ⇒ ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource::BucketObjectType
Returns Optional. Specifies the type of the objects in bucket_uri
.
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 390 class GcsSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module BucketObjectType # The object type is unspecified and will default to `TRANSCRIPT`. BUCKET_OBJECT_TYPE_UNSPECIFIED = 0 # The object is a transcript. TRANSCRIPT = 1 # The object is an audio file. AUDIO = 2 end end |
#bucket_uri ⇒ ::String
Returns Required. The Cloud Storage bucket containing source objects.
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 390 class GcsSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module BucketObjectType # The object type is unspecified and will default to `TRANSCRIPT`. BUCKET_OBJECT_TYPE_UNSPECIFIED = 0 # The object is a transcript. TRANSCRIPT = 1 # The object is an audio file. AUDIO = 2 end end |
#custom_metadata_keys ⇒ ::Array<::String>
Returns 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.
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 390 class GcsSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module BucketObjectType # The object type is unspecified and will default to `TRANSCRIPT`. BUCKET_OBJECT_TYPE_UNSPECIFIED = 0 # The object is a transcript. TRANSCRIPT = 1 # The object is an audio file. AUDIO = 2 end end |
#metadata_bucket_uri ⇒ ::String
Returns 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
.
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 390 class GcsSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module BucketObjectType # The object type is unspecified and will default to `TRANSCRIPT`. BUCKET_OBJECT_TYPE_UNSPECIFIED = 0 # The object is a transcript. TRANSCRIPT = 1 # The object is an audio file. AUDIO = 2 end end |