Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Configuration for Cloud Storage bucket sources.
Instance Attribute Summary collapse
-
#bucket_object_type ⇒ String
Optional.
-
#bucket_uri ⇒ String
Required.
-
#custom_metadata_keys ⇒ Array<String>
Optional.
-
#metadata_bucket_uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
constructor
A new instance of GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
Returns a new instance of GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource.
2352 2353 2354 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_object_type ⇒ String
Optional. Specifies the type of the objects in bucket_uri.
Corresponds to the JSON property bucketObjectType
2330 2331 2332 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2330 def bucket_object_type @bucket_object_type end |
#bucket_uri ⇒ String
Required. The Cloud Storage bucket containing source objects.
Corresponds to the JSON property bucketUri
2335 2336 2337 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2335 def bucket_uri @bucket_uri end |
#custom_metadata_keys ⇒ 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.
Corresponds to the JSON property customMetadataKeys
2342 2343 2344 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2342 def @custom_metadata_keys end |
#metadata_bucket_uri ⇒ String
Optional. The Cloud Storage path to the source object metadata. Note that: [1]
metadata files are expected to be in JSON format [2] metadata and source
objects must be in separate buckets [3] a source object's metadata object must
share the same name to be properly ingested
Corresponds to the JSON property metadataBucketUri
2350 2351 2352 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2350 def @metadata_bucket_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2357 2358 2359 2360 2361 2362 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2357 def update!(**args) @bucket_object_type = args[:bucket_object_type] if args.key?(:bucket_object_type) @bucket_uri = args[:bucket_uri] if args.key?(:bucket_uri) @custom_metadata_keys = args[:custom_metadata_keys] if args.key?(:custom_metadata_keys) @metadata_bucket_uri = args[:metadata_bucket_uri] if args.key?(:metadata_bucket_uri) end |