Google Cloud Contact Center Insights V1 Client - Class IngestConversationsRequest (1.7.1)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class IngestConversationsRequest.

The request to ingest conversations.

Generated from protobuf message google.cloud.contactcenterinsights.v1.IngestConversationsRequest

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_source 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.

↳ transcript_object_config Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\TranscriptObjectConfig

Configuration for when source contains conversation transcripts.

↳ parent string

Required. The parent resource for new conversations.

↳ conversation_config Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\ConversationConfig

Configuration that applies to all conversations.

↳ redaction_config Google\Cloud\ContactCenterInsights\V1\RedactionConfig

Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

↳ speech_config Google\Cloud\ContactCenterInsights\V1\SpeechConfig

Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

getGcsSource

A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\GcsSource|null

hasGcsSource

setGcsSource

A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\GcsSource
Returns
TypeDescription
$this

getTranscriptObjectConfig

Configuration for when source contains conversation transcripts.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\TranscriptObjectConfig|null

hasTranscriptObjectConfig

setTranscriptObjectConfig

Configuration for when source contains conversation transcripts.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\TranscriptObjectConfig
Returns
TypeDescription
$this

getParent

Required. The parent resource for new conversations.

Returns
TypeDescription
string

setParent

Required. The parent resource for new conversations.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConversationConfig

Configuration that applies to all conversations.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\ConversationConfig|null

hasConversationConfig

clearConversationConfig

setConversationConfig

Configuration that applies to all conversations.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\ConversationConfig
Returns
TypeDescription
$this

getRedactionConfig

Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\RedactionConfig|null

hasRedactionConfig

clearRedactionConfig

setRedactionConfig

Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\RedactionConfig
Returns
TypeDescription
$this

getSpeechConfig

Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\SpeechConfig|null

hasSpeechConfig

clearSpeechConfig

setSpeechConfig

Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\SpeechConfig
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string

getObjectConfig

Returns
TypeDescription
string

static::build

Parameter
NameDescription
parent string

Required. The parent resource for new conversations. Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest