Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource.



5993
5994
5995
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5993

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bucket_object_typeString

Optional. Specifies the type of the objects in bucket_uri. Corresponds to the JSON property bucketObjectType

Returns:

  • (String)


5969
5970
5971
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5969

def bucket_object_type
  @bucket_object_type
end

#bucket_uriString

Required. The Cloud Storage bucket containing source objects. Corresponds to the JSON property bucketUri

Returns:

  • (String)


5974
5975
5976
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5974

def bucket_uri
  @bucket_uri
end

#custom_metadata_keysArray<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

Returns:

  • (Array<String>)


5981
5982
5983
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5981

def 
  @custom_metadata_keys
end

#metadata_bucket_uriString

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. Corresponds to the JSON property metadataBucketUri

Returns:

  • (String)


5991
5992
5993
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5991

def 
  @metadata_bucket_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5998
5999
6000
6001
6002
6003
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5998

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