# Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.1 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.22.0 0.21.1 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.2 0.7.2 0.6.0 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/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 100 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 100 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 100 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` and `gs://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` and `gs://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` and `gs://bucket/metadata/conversation1.json`.