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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ gcs_source |
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 |
IngestConversationsRequest\TranscriptObjectConfig
Configuration for when |
↳ parent |
string
Required. The parent resource for new conversations. |
↳ conversation_config |
IngestConversationsRequest\ConversationConfig
Configuration that applies to all conversations. |
↳ redaction_config |
RedactionConfig
Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings. |
↳ speech_config |
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 |
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 |
IngestConversationsRequest\GcsSource
|
Returns | |
---|---|
Type | Description |
$this |
getTranscriptObjectConfig
Configuration for when source
contains conversation transcripts.
Returns | |
---|---|
Type | Description |
IngestConversationsRequest\TranscriptObjectConfig|null |
hasTranscriptObjectConfig
setTranscriptObjectConfig
Configuration for when source
contains conversation transcripts.
Parameter | |
---|---|
Name | Description |
var |
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 |
IngestConversationsRequest\ConversationConfig|null |
hasConversationConfig
clearConversationConfig
setConversationConfig
Configuration that applies to all conversations.
Parameter | |
---|---|
Name | Description |
var |
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 |
RedactionConfig|null |
hasRedactionConfig
clearRedactionConfig
setRedactionConfig
Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.
Parameter | |
---|---|
Name | Description |
var |
RedactionConfig
|
Returns | |
---|---|
Type | Description |
$this |
getSpeechConfig
Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.
Returns | |
---|---|
Type | Description |
SpeechConfig|null |
hasSpeechConfig
clearSpeechConfig
setSpeechConfig
Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.
Parameter | |
---|---|
Name | Description |
var |
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 ContactCenterInsightsClient::locationName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest |