Google Cloud Contact Center Insights V1 Client - Class IngestConversationsRequest (2.1.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
Name Description
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.

↳ sample_size int

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.

getGcsSource

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

Returns
Type Description
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
Name Description
var Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\GcsSource
Returns
Type Description
$this

getTranscriptObjectConfig

Configuration for when source contains conversation transcripts.

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\TranscriptObjectConfig|null

hasTranscriptObjectConfig

setTranscriptObjectConfig

Configuration for when source contains conversation transcripts.

Parameter
Name Description
var Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\TranscriptObjectConfig
Returns
Type Description
$this

getParent

Required. The parent resource for new conversations.

Returns
Type Description
string

setParent

Required. The parent resource for new conversations.

Parameter
Name Description
var string
Returns
Type Description
$this

getConversationConfig

Configuration that applies to all conversations.

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\ConversationConfig|null

hasConversationConfig

clearConversationConfig

setConversationConfig

Configuration that applies to all conversations.

Parameter
Name Description
var Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest\ConversationConfig
Returns
Type Description
$this

getRedactionConfig

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

Returns
Type Description
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
Name Description
var Google\Cloud\ContactCenterInsights\V1\RedactionConfig
Returns
Type Description
$this

getSpeechConfig

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

Returns
Type Description
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
Name Description
var Google\Cloud\ContactCenterInsights\V1\SpeechConfig
Returns
Type Description
$this

getSampleSize

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
Type Description
int

hasSampleSize

clearSampleSize

setSampleSize

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.

Parameter
Name Description
var int
Returns
Type Description
$this

getSource

Returns
Type Description
string

getObjectConfig

Returns
Type Description
string

static::build

Parameter
Name Description
parent string

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

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest