# Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest (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.

The request to ingest conversations.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #conversation_config

    def conversation_config() -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::ConversationConfig

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::ConversationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-ConversationConfig)) --- Configuration that applies to all conversations.

### #conversation_config=

    def conversation_config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::ConversationConfig

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::ConversationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-ConversationConfig)) --- Configuration that applies to all conversations.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::ConversationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-ConversationConfig)) --- Configuration that applies to all conversations.

### #gcs_source

    def gcs_source() -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-GcsSource)) --- A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

### #gcs_source=

    def gcs_source=(value) -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-GcsSource)) --- A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-GcsSource)) --- A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource for new conversations.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource for new conversations.
**Returns**

- (::String) --- Required. The parent resource for new conversations.

### #redaction_config

    def redaction_config() -> ::Google::Cloud::ContactCenterInsights::V1::RedactionConfig

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::RedactionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-RedactionConfig)) --- Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

### #redaction_config=

    def redaction_config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::RedactionConfig

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::RedactionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-RedactionConfig)) --- Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::RedactionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-RedactionConfig)) --- Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

### #sample_size

    def sample_size() -> ::Integer

**Returns**

- (::Integer) --- Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.

### #sample_size=

    def sample_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.
**Returns**

- (::Integer) --- Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.

### #speech_config

    def speech_config() -> ::Google::Cloud::ContactCenterInsights::V1::SpeechConfig

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::SpeechConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-SpeechConfig)) --- Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

### #speech_config=

    def speech_config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::SpeechConfig

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::SpeechConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-SpeechConfig)) --- Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::SpeechConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-SpeechConfig)) --- Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

### #transcript_object_config

    def transcript_object_config() -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-TranscriptObjectConfig)) --- Configuration for when `source` contains conversation transcripts.

### #transcript_object_config=

    def transcript_object_config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-TranscriptObjectConfig)) --- Configuration for when `source` contains conversation transcripts.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-IngestConversationsRequest-TranscriptObjectConfig)) --- Configuration for when `source` contains conversation transcripts.