01README
Google Cloud contactcenterinsights infrastructure models
02Models
@swamp/gcp/contactcenterinsights/analysisrulesv2026.04.23.1analysisrules.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| active? | boolean | If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft. |
| analysisPercentage? | number | Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage & upload percentage will be replaced by defining filters on the conversation. |
| annotatorSelector? | object | Selector of all available annotators and phrase matchers to run. |
| conversationFilter? | string | Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details. |
| displayName? | string | Display Name of the analysis rule. |
| name? | string | Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule} |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a analysisRules
fn get(identifier: string)
Get a analysisRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the analysisRules |
fn update()
Update analysisRules attributes
fn delete(identifier: string)
Delete the analysisRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the analysisRules |
fn sync()
Sync analysisRules state from GCP
Resources
state(infinite)— The CCAI Insights project wide analysis rule. This rule will be applied to al...
@swamp/gcp/contactcenterinsights/assessmentrulesv2026.04.23.1assessmentrules.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| active? | boolean | If true, apply this rule to conversations. Otherwise, this rule is inactive. |
| displayName? | string | Display Name of the assessment rule. |
| name? | string | Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule} |
| sampleRule? | object | Message for sampling conversations. |
| scheduleInfo? | object | Message for schedule info. |
| assessmentRuleId? | string | Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a assessmentRules
fn get(identifier: string)
Get a assessmentRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assessmentRules |
fn update()
Update assessmentRules attributes
fn delete(identifier: string)
Delete the assessmentRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assessmentRules |
fn sync()
Sync assessmentRules state from GCP
Resources
state(infinite)— The CCAI Insights project wide assessment rule. This assessment rule will be ...
@swamp/gcp/contactcenterinsights/authorizedviewsetsv2026.04.23.1authorizedviewsets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | Display Name. Limit 64 characters. |
| name? | string | Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} |
| authorizedViewSetId? | string | Optional. A unique ID for the new AuthorizedViewSet. This ID will become the final component of the AuthorizedViewSet's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See https://google.aip.dev/122#resource-id-segments |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a authorizedViewSets
fn get(identifier: string)
Get a authorizedViewSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authorizedViewSets |
fn update()
Update authorizedViewSets attributes
fn delete(identifier: string)
Delete the authorizedViewSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authorizedViewSets |
fn sync()
Sync authorizedViewSets state from GCP
Resources
state(infinite)— An AuthorizedViewSet contains a set of AuthorizedView resources.
@swamp/gcp/contactcenterinsights/authorizedviewsets-authorizedviewsv2026.04.23.1authorizedviewsets_authorizedviews.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| conversationFilter? | string | A filter to reduce conversation results to a specific subset. The AuthorizedView's assigned permission (read/write) could be applied to the subset of conversations. If conversation_filter is empty, there is no restriction on the conversations that the AuthorizedView can access. Having *authorizedViews.get* access to the AuthorizedView means having the same read/write access to the Conversations (as well as metadata/annotations linked to the conversation) that this AuthorizedView has. |
| displayName? | string | Display Name. Limit 64 characters. |
| name? | string | Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} |
| authorizedViewId? | string | Optional. A unique ID for the new AuthorizedView. This ID will become the final component of the AuthorizedView's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See https://google.aip.dev/122#resource-id-segments |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a authorizedViews
fn get(identifier: string)
Get a authorizedViews
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authorizedViews |
fn update()
Update authorizedViews attributes
fn delete(identifier: string)
Delete the authorizedViews
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authorizedViews |
fn sync()
Sync authorizedViews state from GCP
fn generative_insights(chart?: any, comparisonFilter?: any, filter?: any, naturalLanguageQuery?: any, revisionId?: any, sessionId?: any, sqlComparisonKey?: any, sqlQuery?: any, userProvidedChartSpec?: any)
generative insights
| Argument | Type | Description |
|---|---|---|
| chart? | any | |
| comparisonFilter? | any | |
| filter? | any | |
| naturalLanguageQuery? | any | |
| revisionId? | any | |
| sessionId? | any | |
| sqlComparisonKey? | any | |
| sqlQuery? | any | |
| userProvidedChartSpec? | any |
fn query_metrics(dimensions?: any, filter?: any, measureMask?: any, timeGranularity?: any)
query metrics
| Argument | Type | Description |
|---|---|---|
| dimensions? | any | |
| filter? | any | |
| measureMask? | any | |
| timeGranularity? | any |
fn query_performance_overview(agentPerformanceSource?: any, comparisonQueryInterval?: any, filter?: any, queryInterval?: any)
query performance overview
| Argument | Type | Description |
|---|---|---|
| agentPerformanceSource? | any | |
| comparisonQueryInterval? | any | |
| filter? | any | |
| queryInterval? | any |
fn search()
search
Resources
state(infinite)— An AuthorizedView represents a view of accessible Insights resources (for exa...
@swamp/gcp/contactcenterinsights/authorizedviewsets-authorizedviews-conversationsv2026.04.23.1authorizedviewsets_authorizedviews_conversations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a conversations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversations |
fn delete(identifier: string)
Delete the conversations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversations |
fn sync()
Sync conversations state from GCP
fn calculate_stats()
calculate stats
fn generate_signed_audio()
generate signed audio
Resources
state(infinite)— The conversation resource.
@swamp/gcp/contactcenterinsights/authorizedviewsets-authorizedviews-conversations-assessmentsv2026.04.23.1authorizedviewsets_authorizedviews_conversations_assessments.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| agentInfo? | object | Information about an agent involved in the conversation. |
| name? | string | Identifier. The resource name of the assessment. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment} |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a assessments
fn get(identifier: string)
Get a assessments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assessments |
fn delete(identifier: string)
Delete the assessments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assessments |
fn sync()
Sync assessments state from GCP
fn appeal()
appeal
fn finalize()
finalize
fn publish()
publish
Resources
state(infinite)— The assessment resource.
@swamp/gcp/contactcenterinsights/authorizedviewsets-authorizedviews-conversations-assessments-notesv2026.04.23.1authorizedviewsets_authorizedviews_conversations_assessments_notes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| assessmentNote? | object | A note about the entire parent assessment. |
| content? | string | The note content. |
| conversationTurnNote? | object | A note about a conversation turn. |
| name? | string | Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} |
| noteCreator? | object | Information about a user. |
| qaQuestionNote? | object | A note about a QA question. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a notes
fn get(identifier: string)
Get a notes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the notes |
fn update()
Update notes attributes
fn delete(identifier: string)
Delete the notes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the notes |
fn sync()
Sync notes state from GCP
Resources
state(infinite)— The conversation assessment note resource.
@swamp/gcp/contactcenterinsights/authorizedviewsets-authorizedviews-conversations-feedbacklabelsv2026.04.23.1authorizedviewsets_authorizedviews_conversations_feedbacklabels.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| label? | string | String label used for Topic Modeling. |
| labeledResource? | string | Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}` |
| name? | string | Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} |
| qaAnswerLabel? | object | Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. |
| feedbackLabelId? | string | Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a feedbackLabels
fn get(identifier: string)
Get a feedbackLabels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackLabels |
fn update()
Update feedbackLabels attributes
fn delete(identifier: string)
Delete the feedbackLabels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackLabels |
fn sync()
Sync feedbackLabels state from GCP
Resources
state(infinite)— Represents a conversation, resource, and label provided by the user. Can take...
@swamp/gcp/contactcenterinsights/autolabelingrulesv2026.04.23.1autolabelingrules.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| active? | boolean | Whether the rule is active. |
| conditions? | array | Conditions to apply for auto-labeling the label_key. Representing sequential block of if.. else if.. else statements. The value of the first matching condition will be used. |
| description? | string | The description of the rule. |
| displayName? | string | The user-provided display name of the rule. |
| labelKey? | string | The label key. This is also the {auto_labeling_rule} in the resource name. Only settable if label_key_type is LABEL_KEY_TYPE_CUSTOM. |
| labelKeyType? | enum | The type of the label key. |
| name? | string | Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule} |
| autoLabelingRuleId? | string | Required. The ID to use for the auto labeling rule, which will become the final component of the auto labeling rule's resource name. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a autoLabelingRules
fn get(identifier: string)
Get a autoLabelingRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the autoLabelingRules |
fn update()
Update autoLabelingRules attributes
fn delete(identifier: string)
Delete the autoLabelingRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the autoLabelingRules |
fn sync()
Sync autoLabelingRules state from GCP
fn test(autoLabelingRule?: any, conversation?: any)
test
| Argument | Type | Description |
|---|---|---|
| autoLabelingRule? | any | |
| conversation? | any |
Resources
state(infinite)— Rule for auto-labeling conversations.
@swamp/gcp/contactcenterinsights/conversationsv2026.04.23.1conversations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| agentId? | string | An opaque, user-specified string representing the human agent who handled the conversation. |
| callMetadata? | object | Call-specific metadata. |
| correlationInfo? | object | Info for correlating across conversations. |
| dataSource? | object | The conversation source, which is a combination of transcript and audio. |
| expireTime? | string | The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
| labels? | record | A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry. |
| languageCode? | string | A user-specified language code for the conversation. |
| latestAnalysis? | object | The analysis resource. |
| latestSummary? | object | Conversation summarization suggestion data. |
| medium? | enum | Immutable. The conversation medium. |
| metadataJson? | string | Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats. |
| name? | string | Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| obfuscatedUserId? | string | Obfuscated user ID which the customer sent to us. |
| qualityMetadata? | object | Conversation metadata related to quality management. |
| startTime? | string | The time at which the conversation started. |
| transcript? | object | A message representing the transcript of a conversation. |
| ttl? | string | Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. |
| conversationId? | string | A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-` |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a conversations
fn get(identifier: string)
Get a conversations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversations |
fn update()
Update conversations attributes
fn delete(identifier: string)
Delete the conversations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversations |
fn sync()
Sync conversations state from GCP
fn bulk_analyze(analysisPercentage?: any, annotatorSelector?: any, filter?: any, parent?: any, relabel?: any)
bulk analyze
| Argument | Type | Description |
|---|---|---|
| analysisPercentage? | any | |
| annotatorSelector? | any | |
| filter? | any | |
| parent? | any | |
| relabel? | any |
fn bulk_delete(filter?: any, force?: any, maxDeleteCount?: any, parent?: any)
bulk delete
| Argument | Type | Description |
|---|---|---|
| filter? | any | |
| force? | any | |
| maxDeleteCount? | any | |
| parent? | any |
fn calculate_stats()
calculate stats
fn generate_signed_audio()
generate signed audio
fn ingest(conversationConfig?: any, gcsSource?: any, parent?: any, redactionConfig?: any, sampleSize?: any, speechConfig?: any, transcriptObjectConfig?: any)
ingest
| Argument | Type | Description |
|---|---|---|
| conversationConfig? | any | |
| gcsSource? | any | |
| parent? | any | |
| redactionConfig? | any | |
| sampleSize? | any | |
| speechConfig? | any | |
| transcriptObjectConfig? | any |
fn sample(destinationDataset?: any, parent?: any, sampleRule?: any)
sample
| Argument | Type | Description |
|---|---|---|
| destinationDataset? | any | |
| parent? | any | |
| sampleRule? | any |
fn upload(conversation?: any, conversationId?: any, parent?: any, redactionConfig?: any, speechConfig?: any)
upload
| Argument | Type | Description |
|---|---|---|
| conversation? | any | |
| conversationId? | any | |
| parent? | any | |
| redactionConfig? | any | |
| speechConfig? | any |
Resources
state(infinite)— The conversation resource.
@swamp/gcp/contactcenterinsights/conversations-analysesv2026.04.23.1conversations_analyses.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| analysisResult? | object | The result of an analysis. |
| annotatorSelector? | object | Selector of all available annotators and phrase matchers to run. |
| name? | string | Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a analyses
fn get(identifier: string)
Get a analyses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the analyses |
fn delete(identifier: string)
Delete the analyses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the analyses |
fn sync()
Sync analyses state from GCP
Resources
state(infinite)— The analysis resource.
@swamp/gcp/contactcenterinsights/conversations-assessmentsv2026.04.23.1conversations_assessments.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| agentInfo? | object | Information about an agent involved in the conversation. |
| name? | string | Identifier. The resource name of the assessment. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment} |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a assessments
fn get(identifier: string)
Get a assessments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assessments |
fn delete(identifier: string)
Delete the assessments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assessments |
fn sync()
Sync assessments state from GCP
fn appeal()
appeal
fn finalize()
finalize
fn publish()
publish
Resources
state(infinite)— The assessment resource.
@swamp/gcp/contactcenterinsights/conversations-assessments-notesv2026.04.23.1conversations_assessments_notes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| assessmentNote? | object | A note about the entire parent assessment. |
| content? | string | The note content. |
| conversationTurnNote? | object | A note about a conversation turn. |
| name? | string | Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} |
| noteCreator? | object | Information about a user. |
| qaQuestionNote? | object | A note about a QA question. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a notes
fn get(identifier: string)
Get a notes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the notes |
fn update()
Update notes attributes
fn delete(identifier: string)
Delete the notes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the notes |
fn sync()
Sync notes state from GCP
Resources
state(infinite)— The conversation assessment note resource.
@swamp/gcp/contactcenterinsights/conversations-feedbacklabelsv2026.04.23.1conversations_feedbacklabels.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| label? | string | String label used for Topic Modeling. |
| labeledResource? | string | Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}` |
| name? | string | Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} |
| qaAnswerLabel? | object | Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. |
| feedbackLabelId? | string | Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a feedbackLabels
fn get(identifier: string)
Get a feedbackLabels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackLabels |
fn update()
Update feedbackLabels attributes
fn delete(identifier: string)
Delete the feedbackLabels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackLabels |
fn sync()
Sync feedbackLabels state from GCP
Resources
state(infinite)— Represents a conversation, resource, and label provided by the user. Can take...
@swamp/gcp/contactcenterinsights/dashboardsv2026.04.23.1dashboards.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| dateRangeConfig? | object | Date range configuration for dashboard charts. |
| description? | string | Dashboard description |
| displayName? | string | User provided display name of the dashboard. |
| filter? | string | Filter applied to all charts in the dashboard. Should support scope later. |
| name? | string | Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard} |
| rootContainer? | object | Configurable dashboard's container. Container can contain multiple widgets. |
| dashboardId? | string | Optional. A unique ID for the new Dashboard. This ID will become the final component of the Dashboard's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a dashboards
fn get(identifier: string)
Get a dashboards
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dashboards |
fn update()
Update dashboards attributes
fn delete(identifier: string)
Delete the dashboards
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dashboards |
fn sync()
Sync dashboards state from GCP
Resources
state(infinite)— Configurable dashboard
@swamp/gcp/contactcenterinsights/dashboards-chartsv2026.04.23.1dashboards_charts.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| action? | object | The action to be taken when the chart is clicked. |
| chartVisualizationType? | enum | Chart visualization type. |
| dataSource? | object | The request data for visualizing the dataset in the chart. |
| dateRangeConfig? | object | Date range configuration for dashboard charts. |
| description? | string | Chart description |
| displayName? | string | User provided display name of the chart. |
| filter? | string | Filter applied to all charts in the container. Should support scope later. |
| height? | number | The height of the chart in grid units. |
| name? | string | Identifier. Chart resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} |
| width? | number | The width of the chart in grid units. |
| chartId? | string | Optional. A unique ID for the new Chart. This ID will become the final component of the Chart's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a charts
fn get(identifier: string)
Get a charts
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the charts |
fn update()
Update charts attributes
fn delete(identifier: string)
Delete the charts
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the charts |
fn sync()
Sync charts state from GCP
Resources
state(infinite)— Configurable dashboard's widget that displays data as a chart.
@swamp/gcp/contactcenterinsights/datasetsv2026.04.23.1datasets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Dataset description. |
| displayName? | string | Display name for the dataaset |
| name? | string | Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} |
| ttl? | string | Optional. Option TTL for the dataset. |
| type? | enum | Dataset usage type. |
| datasetId? | string | Optional. The ID to use for the dataset. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a datasets
fn get(identifier: string)
Get a datasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the datasets |
fn update()
Update datasets attributes
fn delete(identifier: string)
Delete the datasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the datasets |
fn sync()
Sync datasets state from GCP
fn bulk_delete_feedback_labels(filter?: any, parent?: any)
bulk delete feedback labels
| Argument | Type | Description |
|---|---|---|
| filter? | any | |
| parent? | any |
fn bulk_download_feedback_labels(conversationFilter?: any, feedbackLabelType?: any, filter?: any, gcsDestination?: any, maxDownloadCount?: any, parent?: any, sheetsDestination?: any, templateQaScorecardId?: any)
bulk download feedback labels
| Argument | Type | Description |
|---|---|---|
| conversationFilter? | any | |
| feedbackLabelType? | any | |
| filter? | any | |
| gcsDestination? | any | |
| maxDownloadCount? | any | |
| parent? | any | |
| sheetsDestination? | any | |
| templateQaScorecardId? | any |
fn bulk_upload_feedback_labels(gcsSource?: any, sheetsSource?: any, validateOnly?: any)
bulk upload feedback labels
| Argument | Type | Description |
|---|---|---|
| gcsSource? | any | |
| sheetsSource? | any | |
| validateOnly? | any |
fn list_all_feedback_labels()
list all feedback labels
Resources
state(infinite)— Dataset resource represents a collection of conversations that may be bounded...
@swamp/gcp/contactcenterinsights/datasets-conversationsv2026.04.23.1datasets_conversations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a conversations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversations |
fn delete(identifier: string)
Delete the conversations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversations |
fn sync()
Sync conversations state from GCP
fn bulk_delete(filter?: any, force?: any, maxDeleteCount?: any, parent?: any)
bulk delete
| Argument | Type | Description |
|---|---|---|
| filter? | any | |
| force? | any | |
| maxDeleteCount? | any | |
| parent? | any |
fn calculate_stats(filter?: any)
calculate stats
| Argument | Type | Description |
|---|---|---|
| filter? | any |
fn generate_signed_audio()
generate signed audio
fn ingest(conversationConfig?: any, gcsSource?: any, parent?: any, redactionConfig?: any, sampleSize?: any, speechConfig?: any, transcriptObjectConfig?: any)
ingest
| Argument | Type | Description |
|---|---|---|
| conversationConfig? | any | |
| gcsSource? | any | |
| parent? | any | |
| redactionConfig? | any | |
| sampleSize? | any | |
| speechConfig? | any | |
| transcriptObjectConfig? | any |
fn sample(destinationDataset?: any, parent?: any, sampleRule?: any)
sample
| Argument | Type | Description |
|---|---|---|
| destinationDataset? | any | |
| parent? | any | |
| sampleRule? | any |
Resources
state(infinite)— The conversation resource.
@swamp/gcp/contactcenterinsights/datasets-conversations-feedbacklabelsv2026.04.23.1datasets_conversations_feedbacklabels.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| label? | string | String label used for Topic Modeling. |
| labeledResource? | string | Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}` |
| name? | string | Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} |
| qaAnswerLabel? | object | Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. |
| feedbackLabelId? | string | Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a feedbackLabels
fn get(identifier: string)
Get a feedbackLabels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackLabels |
fn update()
Update feedbackLabels attributes
fn delete(identifier: string)
Delete the feedbackLabels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackLabels |
fn sync()
Sync feedbackLabels state from GCP
Resources
state(infinite)— Represents a conversation, resource, and label provided by the user. Can take...
@swamp/gcp/contactcenterinsights/diagnosticsv2026.04.23.1diagnostics.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a diagnostics
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the diagnostics |
fn delete(identifier: string)
Delete the diagnostics
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the diagnostics |
fn sync()
Sync diagnostics state from GCP
Resources
state(infinite)— The diagnostic resource.
@swamp/gcp/contactcenterinsights/issuemodelsv2026.04.23.1issuemodels.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | The representative name for the issue model. |
| inputDataConfig? | object | Configs for the input data used to create the issue model. |
| languageCode? | string | Language of the model. |
| modelType? | enum | Type of the model. |
| name? | string | Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model} |
| trainingStats? | object | Aggregated statistics about an issue model. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a issueModels
fn get(identifier: string)
Get a issueModels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the issueModels |
fn update()
Update issueModels attributes
fn delete(identifier: string)
Delete the issueModels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the issueModels |
fn sync()
Sync issueModels state from GCP
fn calculate_issue_model_stats()
calculate issue model stats
fn deploy(name?: any)
deploy
| Argument | Type | Description |
|---|---|---|
| name? | any |
fn export(gcsDestination?: any, name?: any)
export
| Argument | Type | Description |
|---|---|---|
| gcsDestination? | any | |
| name? | any |
fn import(createNewModel?: any, gcsSource?: any, parent?: any)
import
| Argument | Type | Description |
|---|---|---|
| createNewModel? | any | |
| gcsSource? | any | |
| parent? | any |
fn undeploy(name?: any)
undeploy
| Argument | Type | Description |
|---|---|---|
| name? | any |
Resources
state(infinite)— The issue model resource.
@swamp/gcp/contactcenterinsights/issuemodels-issuesv2026.04.23.1issuemodels_issues.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayDescription? | string | Representative description of the issue. |
| displayName? | string | The representative name for the issue. |
| name? | string | Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a issues
fn get(identifier: string)
Get a issues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the issues |
fn update()
Update issues attributes
fn delete(identifier: string)
Delete the issues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the issues |
fn sync()
Sync issues state from GCP
Resources
state(infinite)— The issue resource.
@swamp/gcp/contactcenterinsights/phrasematchersv2026.04.23.1phrasematchers.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| active? | boolean | Applies the phrase matcher only when it is active. |
| displayName? | string | The human-readable name of the phrase matcher. |
| name? | string | The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} |
| phraseMatchRuleGroups? | array | A list of phase match rule groups that are included in this matcher. |
| roleMatch? | enum | The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript. |
| type? | enum | Required. The type of this phrase matcher. |
| versionTag? | string | The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a phraseMatchers
fn get(identifier: string)
Get a phraseMatchers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the phraseMatchers |
fn update()
Update phraseMatchers attributes
fn delete(identifier: string)
Delete the phraseMatchers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the phraseMatchers |
fn sync()
Sync phraseMatchers state from GCP
Resources
state(infinite)— The phrase matcher resource.
@swamp/gcp/contactcenterinsights/qaquestiontagsv2026.04.23.1qaquestiontags.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | Required. A user-specified display name for the tag. |
| name? | string | Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource. |
| qaQuestionIds? | array | Optional. The list of Scorecard Question IDs that the tag applies to. Each QaQuestionId is represented as a full resource name containing the Question ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard Questions, we treat this field as optional. |
| qaQuestionTagId? | string | Optional. A unique ID for the new QaQuestionTag. This ID will become the final component of the QaQuestionTag's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a qaQuestionTags
fn get(identifier: string)
Get a qaQuestionTags
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the qaQuestionTags |
fn update()
Update qaQuestionTags attributes
fn delete(identifier: string)
Delete the qaQuestionTags
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the qaQuestionTags |
fn sync()
Sync qaQuestionTags state from GCP
Resources
state(infinite)— A tag is a resource which aims to categorize a set of questions across multip...
@swamp/gcp/contactcenterinsights/qascorecardsv2026.04.23.1qascorecards.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | A text description explaining the intent of the scorecard. |
| displayName? | string | The user-specified display name of the scorecard. |
| isDefault? | boolean | Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector. |
| name? | string | Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} |
| qaScorecardId? | string | Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a qaScorecards
fn get(identifier: string)
Get a qaScorecards
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the qaScorecards |
fn update()
Update qaScorecards attributes
fn delete(identifier: string)
Delete the qaScorecards
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the qaScorecards |
fn sync()
Sync qaScorecards state from GCP
Resources
state(infinite)— A QaScorecard represents a collection of questions to be scored during analysis.
@swamp/gcp/contactcenterinsights/qascorecards-revisionsv2026.04.23.1qascorecards_revisions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | Identifier. The name of the scorecard revision. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision} |
| snapshot? | object | A QaScorecard represents a collection of questions to be scored during analysis. |
| qaScorecardRevisionId? | string | Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create(waitForReady?: boolean)
Create a revisions
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn delete(identifier: string)
Delete the revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn sync()
Sync revisions state from GCP
fn deploy()
deploy
fn tune_qa_scorecard_revision(filter?: any, validateOnly?: any)
tune qa scorecard revision
| Argument | Type | Description |
|---|---|---|
| filter? | any | |
| validateOnly? | any |
fn undeploy()
undeploy
Resources
state(infinite)— A revision of a QaScorecard. Modifying published scorecard fields would inval...
@swamp/gcp/contactcenterinsights/qascorecards-revisions-qaquestionsv2026.04.23.1qascorecards_revisions_qaquestions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| abbreviation? | string | Short, descriptive string, used in the UI where it\ |
| answerChoices? | array | A list of valid answers to the question, which the LLM must choose from. |
| answerInstructions? | string | Instructions describing how to determine the answer. |
| metrics? | object | A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. |
| name? | string | Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} |
| order? | number | Defines the order of the question within its parent scorecard revision. |
| predefinedQuestionConfig? | object | Configuration for a predefined question. This field will only be set if the Question Type is predefined. |
| qaQuestionDataOptions? | object | Options for configuring the data used to generate the QA question. |
| questionBody? | string | Question text. E.g., "Did the agent greet the customer?" |
| questionType? | enum | The type of question. |
| tags? | array | Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question. |
| tuningMetadata? | object | Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. |
| qaQuestionId? | string | Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a qaQuestions
fn get(identifier: string)
Get a qaQuestions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the qaQuestions |
fn update()
Update qaQuestions attributes
fn delete(identifier: string)
Delete the qaQuestions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the qaQuestions |
fn sync()
Sync qaQuestions state from GCP
Resources
state(infinite)— A single question to be scored by the Insights QA feature.
@swamp/gcp/contactcenterinsights/viewsv2026.04.23.1views.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | The human-readable display name of the view. |
| name? | string | Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view} |
| value? | string | A filter to reduce conversation results to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a views
fn get(identifier: string)
Get a views
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the views |
fn update()
Update views attributes
fn delete(identifier: string)
Delete the views
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the views |
fn sync()
Sync views state from GCP
Resources
state(infinite)— The View resource.
03Previous Versions
2026.04.15.1Apr 15, 2026
- Added: diagnostics
- Updated: authorizedviewsets_authorizedviews_conversations, conversations, datasets_conversations
Added 1 models
2026.04.04.1Apr 4, 2026
- Updated: authorizedviewsets_authorizedviews_conversations, conversations, conversations_analyses, dashboards, dashboards_charts, datasets_conversations, phrasematchers
2026.04.03.3Apr 3, 2026
- Updated: analysisrules, assessmentrules, authorizedviewsets, authorizedviewsets_authorizedviews, authorizedviewsets_authorizedviews_conversations, authorizedviewsets_authorizedviews_conversations_assessments, authorizedviewsets_authorizedviews_conversations_assessments_notes, authorizedviewsets_authorizedviews_conversations_feedbacklabels, autolabelingrules, conversations, conversations_analyses, conversations_assessments, conversations_assessments_notes, conversations_feedbacklabels, dashboards, dashboards_charts, datasets, datasets_conversations, datasets_conversations_feedbacklabels, issuemodels, issuemodels_issues, phrasematchers, qaquestiontags, qascorecards, qascorecards_revisions, qascorecards_revisions_qaquestions, views
2026.04.03.1Apr 3, 2026
- Updated: analysisrules, assessmentrules, authorizedviewsets, authorizedviewsets_authorizedviews, authorizedviewsets_authorizedviews_conversations, authorizedviewsets_authorizedviews_conversations_assessments, authorizedviewsets_authorizedviews_conversations_assessments_notes, authorizedviewsets_authorizedviews_conversations_feedbacklabels, autolabelingrules, conversations, conversations_analyses, conversations_assessments, conversations_assessments_notes, conversations_feedbacklabels, dashboards, dashboards_charts, datasets, datasets_conversations, datasets_conversations_feedbacklabels, issuemodels, issuemodels_issues, phrasematchers, qaquestiontags, qascorecards, qascorecards_revisions, qascorecards_revisions_qaquestions, views
2026.04.02.2Apr 2, 2026
- Updated: authorizedviewsets_authorizedviews_conversations, authorizedviewsets_authorizedviews_conversations_assessments, conversations, conversations_assessments, dashboards, dashboards_charts, datasets_conversations
2026.03.27.1Mar 27, 2026
- Added: analysisrules, assessmentrules, authorizedviewsets, authorizedviewsets_authorizedviews, authorizedviewsets_authorizedviews_conversations, authorizedviewsets_authorizedviews_conversations_assessments, authorizedviewsets_authorizedviews_conversations_assessments_notes, authorizedviewsets_authorizedviews_conversations_feedbacklabels, autolabelingrules, conversations, conversations_analyses, conversations_assessments, conversations_assessments_notes, conversations_feedbacklabels, dashboards, dashboards_charts, datasets, datasets_conversations, datasets_conversations_feedbacklabels, issuemodels, issuemodels_issues, phrasematchers, qaquestiontags, qascorecards, qascorecards_revisions, qascorecards_revisions_qaquestions, views
04Stats
A
100 / 100
Downloads
0
Archive size
145.3 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels