Google Cloud Contact Center Insights V1 Client - Class Settings (1.8.0)

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

The settings resource.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which the settings was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time at which the settings were last updated.

↳ language_code string

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

↳ conversation_ttl Google\Protobuf\Duration

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

↳ pubsub_notification_settings array|Google\Protobuf\Internal\MapField

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * "all-triggers": Notify each time any of the supported triggers occurs. * "create-analysis": Notify each time an analysis is created. * "create-conversation": Notify each time a conversation is created. * "export-insights-data": Notify each time an export is complete. * "update-conversation": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

↳ analysis_config Google\Cloud\ContactCenterInsights\V1\Settings\AnalysisConfig

Default analysis settings.

↳ redaction_config Google\Cloud\ContactCenterInsights\V1\RedactionConfig

Default DLP redaction resources to be applied while ingesting conversations.

↳ speech_config Google\Cloud\ContactCenterInsights\V1\SpeechConfig

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

getName

Immutable. The resource name of the settings resource.

Format: projects/{project}/locations/{location}/settings

Returns
TypeDescription
string

setName

Immutable. The resource name of the settings resource.

Format: projects/{project}/locations/{location}/settings

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time at which the settings was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which the settings was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time at which the settings were last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time at which the settings were last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLanguageCode

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

Returns
TypeDescription
string

setLanguageCode

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConversationTtl

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations.

Conversations with no expire time persist until they are deleted.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasConversationTtl

clearConversationTtl

setConversationTtl

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations.

Conversations with no expire time persist until they are deleted.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getPubsubNotificationSettings

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
Returns
TypeDescription
Google\Protobuf\Internal\MapField

setPubsubNotificationSettings

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getAnalysisConfig

Default analysis settings.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\Settings\AnalysisConfig|null

hasAnalysisConfig

clearAnalysisConfig

setAnalysisConfig

Default analysis settings.

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

getRedactionConfig

Default DLP redaction resources to be applied while ingesting conversations.

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

hasRedactionConfig

clearRedactionConfig

setRedactionConfig

Default DLP redaction resources to be applied while ingesting conversations.

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

getSpeechConfig

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

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

hasSpeechConfig

clearSpeechConfig

setSpeechConfig

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

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