From ca53b7c42dbcc7173c00e16a1aefda6ea0ab2691 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Fri, 11 Nov 2022 02:34:24 -0800 Subject: [PATCH] build: add release-please config, fix owlbot-config --- .release-please-manifest.json | 1 + .../{.github => }/.OwlBot.yaml | 6 +- .../.mocharc.js | 2 +- .../.prettierrc.js | 2 +- .../.repo-metadata.json | 4 +- .../README.md | 59 +- .../package.json | 13 +- .../samples/README.md | 562 ++++++++++++++++-- .../src/index.ts | 2 +- release-please-config.json | 3 +- 10 files changed, 567 insertions(+), 87 deletions(-) rename packages/google-cloud-contactcenterinsights/{.github => }/.OwlBot.yaml (78%) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c38b0a70276..655e79aab99 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -13,6 +13,7 @@ "packages/google-cloud-bigquery-datatransfer": "3.1.5", "packages/google-cloud-bigquery-reservation": "2.0.4", "packages/google-cloud-certificatemanager": "0.6.2", + "packages/google-cloud-contactcenterinsights": "2.1.2", "packages/google-cloud-contentwarehouse": "0.1.2", "packages/google-cloud-dataplex": "2.2.2", "packages/google-cloud-dataproc": "4.1.1", diff --git a/packages/google-cloud-contactcenterinsights/.github/.OwlBot.yaml b/packages/google-cloud-contactcenterinsights/.OwlBot.yaml similarity index 78% rename from packages/google-cloud-contactcenterinsights/.github/.OwlBot.yaml rename to packages/google-cloud-contactcenterinsights/.OwlBot.yaml index e531977864a..770d5b8c7ab 100644 --- a/packages/google-cloud-contactcenterinsights/.github/.OwlBot.yaml +++ b/packages/google-cloud-contactcenterinsights/.OwlBot.yaml @@ -11,12 +11,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -docker: - image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest deep-remove-regex: - /owl-bot-staging deep-copy-regex: - - source: /google/cloud/contactcenterinsights/(.*)/.*-nodejs/(.*) - dest: /owl-bot-staging/$1/$2 + - source: /google/cloud/contactcenterinsights/(.*)/.*-nodejs + dest: /owl-bot-staging/google-cloud-contactcenterinsights/$1 diff --git a/packages/google-cloud-contactcenterinsights/.mocharc.js b/packages/google-cloud-contactcenterinsights/.mocharc.js index 0b600509bed..cdb7b752160 100644 --- a/packages/google-cloud-contactcenterinsights/.mocharc.js +++ b/packages/google-cloud-contactcenterinsights/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-contactcenterinsights/.prettierrc.js b/packages/google-cloud-contactcenterinsights/.prettierrc.js index d1b95106f4c..d546a4ad546 100644 --- a/packages/google-cloud-contactcenterinsights/.prettierrc.js +++ b/packages/google-cloud-contactcenterinsights/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-contactcenterinsights/.repo-metadata.json b/packages/google-cloud-contactcenterinsights/.repo-metadata.json index b65f689e4c7..5db4eac43e5 100644 --- a/packages/google-cloud-contactcenterinsights/.repo-metadata.json +++ b/packages/google-cloud-contactcenterinsights/.repo-metadata.json @@ -3,10 +3,10 @@ "name_pretty": "Contact Center AI Insights API", "product_documentation": "https://cloud.google.com/solutions/contact-center", "client_documentation": "https://cloud.google.com/nodejs/docs/reference/contact-center-insights/latest", - "issue_tracker": "https://github.com/googleapis/nodejs-contact-center-insights/issues", + "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues", "release_level": "stable", "language": "nodejs", - "repo": "googleapis/nodejs-contact-center-insights", + "repo": "googleapis/google-cloud-node", "distribution_name": "@google-cloud/contact-center-insights", "api_id": "contactcenterinsights.googleapis.com", "default_version": "v1", diff --git a/packages/google-cloud-contactcenterinsights/README.md b/packages/google-cloud-contactcenterinsights/README.md index 6d30c6de1b7..30caa34505f 100644 --- a/packages/google-cloud-contactcenterinsights/README.md +++ b/packages/google-cloud-contactcenterinsights/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [Contact Center AI Insights API: Node.js Client](https://github.com/googleapis/nodejs-contact-center-insights) +# [Contact Center AI Insights API: Node.js Client](https://github.com/googleapis/google-cloud-node) [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) [![npm version](https://img.shields.io/npm/v/@google-cloud/contact-center-insights.svg)](https://www.npmjs.org/package/@google-cloud/contact-center-insights) @@ -14,11 +14,11 @@ contactcenterinsights client for Node.js A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/CHANGELOG.md). +[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-contactcenterinsights/CHANGELOG.md). * [Contact Center AI Insights API Node.js Client API Reference][client-docs] * [Contact Center AI Insights API Documentation][product-docs] -* [github.com/googleapis/nodejs-contact-center-insights](https://github.com/googleapis/nodejs-contact-center-insights) +* [github.com/googleapis/google-cloud-node/packages/google-cloud-contactcenterinsights](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-contactcenterinsights) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -83,21 +83,46 @@ listConversations(); ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/nodejs-contact-center-insights/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. +Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. | Sample | Source Code | Try it | | --------------------------- | --------------------------------- | ------ | -| Create Analysis | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createAnalysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createAnalysis.js,samples/README.md) | -| Create Conversation | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createConversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createConversation.js,samples/README.md) | -| Create Conversation With Ttl | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createConversationWithTtl.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createConversationWithTtl.js,samples/README.md) | -| Create Issue Model | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createIssueModel.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createIssueModel.js,samples/README.md) | -| Create Phrase Matcher All Of | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createPhraseMatcherAllOf.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createPhraseMatcherAllOf.js,samples/README.md) | -| Create Phrase Matcher Any Of | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createPhraseMatcherAnyOf.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createPhraseMatcherAnyOf.js,samples/README.md) | -| Enable Pub Sub Notifications | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/enablePubSubNotifications.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/enablePubSubNotifications.js,samples/README.md) | -| Export To Bigquery | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/exportToBigquery.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/exportToBigquery.js,samples/README.md) | -| Get Operation | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/getOperation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/getOperation.js,samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | -| Set Project Ttl | [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/setProjectTtl.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/setProjectTtl.js,samples/README.md) | +| Contact_center_insights.calculate_issue_model_stats | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js,samples/README.md) | +| Contact_center_insights.calculate_stats | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_stats.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_stats.js,samples/README.md) | +| Contact_center_insights.create_analysis | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_analysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_analysis.js,samples/README.md) | +| Contact_center_insights.create_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_conversation.js,samples/README.md) | +| Contact_center_insights.create_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_issue_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_issue_model.js,samples/README.md) | +| Contact_center_insights.create_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_phrase_matcher.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_phrase_matcher.js,samples/README.md) | +| Contact_center_insights.create_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_view.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_view.js,samples/README.md) | +| Contact_center_insights.delete_analysis | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_analysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_analysis.js,samples/README.md) | +| Contact_center_insights.delete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_conversation.js,samples/README.md) | +| Contact_center_insights.delete_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_issue_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_issue_model.js,samples/README.md) | +| Contact_center_insights.delete_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js,samples/README.md) | +| Contact_center_insights.delete_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_view.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_view.js,samples/README.md) | +| Contact_center_insights.deploy_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.deploy_issue_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.deploy_issue_model.js,samples/README.md) | +| Contact_center_insights.export_insights_data | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.export_insights_data.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.export_insights_data.js,samples/README.md) | +| Contact_center_insights.get_analysis | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_analysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_analysis.js,samples/README.md) | +| Contact_center_insights.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_conversation.js,samples/README.md) | +| Contact_center_insights.get_issue | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue.js,samples/README.md) | +| Contact_center_insights.get_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue_model.js,samples/README.md) | +| Contact_center_insights.get_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_phrase_matcher.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_phrase_matcher.js,samples/README.md) | +| Contact_center_insights.get_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_settings.js,samples/README.md) | +| Contact_center_insights.get_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_view.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_view.js,samples/README.md) | +| Contact_center_insights.list_analyses | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_analyses.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_analyses.js,samples/README.md) | +| Contact_center_insights.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_conversations.js,samples/README.md) | +| Contact_center_insights.list_issue_models | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issue_models.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issue_models.js,samples/README.md) | +| Contact_center_insights.list_issues | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issues.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issues.js,samples/README.md) | +| Contact_center_insights.list_phrase_matchers | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_phrase_matchers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_phrase_matchers.js,samples/README.md) | +| Contact_center_insights.list_views | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_views.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_views.js,samples/README.md) | +| Contact_center_insights.undeploy_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.undeploy_issue_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.undeploy_issue_model.js,samples/README.md) | +| Contact_center_insights.update_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_conversation.js,samples/README.md) | +| Contact_center_insights.update_issue | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue.js,samples/README.md) | +| Contact_center_insights.update_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue_model.js,samples/README.md) | +| Contact_center_insights.update_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_phrase_matcher.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_phrase_matcher.js,samples/README.md) | +| Contact_center_insights.update_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_settings.js,samples/README.md) | +| Contact_center_insights.update_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_view.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_view.js,samples/README.md) | +| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md) | +| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.js,samples/README.md) | @@ -147,7 +172,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages] ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). Please note that this `README.md`, the `samples/README.md`, and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) @@ -159,7 +184,7 @@ to its templates in Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) [client-docs]: https://cloud.google.com/nodejs/docs/reference/contact-center-insights/latest [product-docs]: https://cloud.google.com/solutions/contact-center diff --git a/packages/google-cloud-contactcenterinsights/package.json b/packages/google-cloud-contactcenterinsights/package.json index d4b80c2d1d0..05c1596a0ad 100644 --- a/packages/google-cloud-contactcenterinsights/package.json +++ b/packages/google-cloud-contactcenterinsights/package.json @@ -2,7 +2,11 @@ "name": "@google-cloud/contact-center-insights", "version": "2.1.2", "description": "contactcenterinsights client for Node.js", - "repository": "googleapis/nodejs-contact-center-insights", + "repository": { + "type": "git", + "directory": "packages/google-cloud-contactcenterinsights", + "url": "https://github.com/googleapis/google-cloud-node.git" + }, "license": "Apache-2.0", "author": "Google LLC", "main": "build/src/index.js", @@ -33,9 +37,9 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile-protos && npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "npm run compile && c8 mocha build/system-test", "test": "c8 mocha build/test", - "samples-test": "cd samples/ && npm link ../ && npm test", + "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" }, "dependencies": { @@ -62,5 +66,6 @@ }, "engines": { "node": ">=12.0.0" - } + }, + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-contactcenterinsights" } diff --git a/packages/google-cloud-contactcenterinsights/samples/README.md b/packages/google-cloud-contactcenterinsights/samples/README.md index b755fcfbe12..8e94f078118 100644 --- a/packages/google-cloud-contactcenterinsights/samples/README.md +++ b/packages/google-cloud-contactcenterinsights/samples/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [Contact Center AI Insights API: Node.js Samples](https://github.com/googleapis/nodejs-contact-center-insights) +# [Contact Center AI Insights API: Node.js Samples](https://github.com/googleapis/google-cloud-node) [![Open in Cloud Shell][shell_img]][shell_link] @@ -12,22 +12,47 @@ * [Before you begin](#before-you-begin) * [Samples](#samples) - * [Create Analysis](#create-analysis) - * [Create Conversation](#create-conversation) - * [Create Conversation With Ttl](#create-conversation-with-ttl) - * [Create Issue Model](#create-issue-model) - * [Create Phrase Matcher All Of](#create-phrase-matcher-all-of) - * [Create Phrase Matcher Any Of](#create-phrase-matcher-any-of) - * [Enable Pub Sub Notifications](#enable-pub-sub-notifications) - * [Export To Bigquery](#export-to-bigquery) - * [Get Operation](#get-operation) + * [Contact_center_insights.calculate_issue_model_stats](#contact_center_insights.calculate_issue_model_stats) + * [Contact_center_insights.calculate_stats](#contact_center_insights.calculate_stats) + * [Contact_center_insights.create_analysis](#contact_center_insights.create_analysis) + * [Contact_center_insights.create_conversation](#contact_center_insights.create_conversation) + * [Contact_center_insights.create_issue_model](#contact_center_insights.create_issue_model) + * [Contact_center_insights.create_phrase_matcher](#contact_center_insights.create_phrase_matcher) + * [Contact_center_insights.create_view](#contact_center_insights.create_view) + * [Contact_center_insights.delete_analysis](#contact_center_insights.delete_analysis) + * [Contact_center_insights.delete_conversation](#contact_center_insights.delete_conversation) + * [Contact_center_insights.delete_issue_model](#contact_center_insights.delete_issue_model) + * [Contact_center_insights.delete_phrase_matcher](#contact_center_insights.delete_phrase_matcher) + * [Contact_center_insights.delete_view](#contact_center_insights.delete_view) + * [Contact_center_insights.deploy_issue_model](#contact_center_insights.deploy_issue_model) + * [Contact_center_insights.export_insights_data](#contact_center_insights.export_insights_data) + * [Contact_center_insights.get_analysis](#contact_center_insights.get_analysis) + * [Contact_center_insights.get_conversation](#contact_center_insights.get_conversation) + * [Contact_center_insights.get_issue](#contact_center_insights.get_issue) + * [Contact_center_insights.get_issue_model](#contact_center_insights.get_issue_model) + * [Contact_center_insights.get_phrase_matcher](#contact_center_insights.get_phrase_matcher) + * [Contact_center_insights.get_settings](#contact_center_insights.get_settings) + * [Contact_center_insights.get_view](#contact_center_insights.get_view) + * [Contact_center_insights.list_analyses](#contact_center_insights.list_analyses) + * [Contact_center_insights.list_conversations](#contact_center_insights.list_conversations) + * [Contact_center_insights.list_issue_models](#contact_center_insights.list_issue_models) + * [Contact_center_insights.list_issues](#contact_center_insights.list_issues) + * [Contact_center_insights.list_phrase_matchers](#contact_center_insights.list_phrase_matchers) + * [Contact_center_insights.list_views](#contact_center_insights.list_views) + * [Contact_center_insights.undeploy_issue_model](#contact_center_insights.undeploy_issue_model) + * [Contact_center_insights.update_conversation](#contact_center_insights.update_conversation) + * [Contact_center_insights.update_issue](#contact_center_insights.update_issue) + * [Contact_center_insights.update_issue_model](#contact_center_insights.update_issue_model) + * [Contact_center_insights.update_phrase_matcher](#contact_center_insights.update_phrase_matcher) + * [Contact_center_insights.update_settings](#contact_center_insights.update_settings) + * [Contact_center_insights.update_view](#contact_center_insights.update_view) + * [Quickstart](#quickstart) * [Quickstart](#quickstart) - * [Set Project Ttl](#set-project-ttl) ## Before you begin Before running the samples, make sure you've followed the steps outlined in -[Using the client library](https://github.com/googleapis/nodejs-contact-center-insights#using-the-client-library). +[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library). `cd samples` @@ -39,16 +64,203 @@ Before running the samples, make sure you've followed the steps outlined in -### Create Analysis +### Contact_center_insights.calculate_issue_model_stats + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js` + + +----- + + + + +### Contact_center_insights.calculate_stats + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_stats.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_stats.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.calculate_stats.js` + + +----- + + + + +### Contact_center_insights.create_analysis + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_analysis.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_analysis.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_analysis.js` + + +----- + + + + +### Contact_center_insights.create_conversation + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_conversation.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_conversation.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_conversation.js` + + +----- + + + + +### Contact_center_insights.create_issue_model + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_issue_model.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_issue_model.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_issue_model.js` + + +----- + + + + +### Contact_center_insights.create_phrase_matcher + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_phrase_matcher.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_phrase_matcher.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_phrase_matcher.js` + + +----- + + + + +### Contact_center_insights.create_view + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_view.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_view.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.create_view.js` + + +----- + + + + +### Contact_center_insights.delete_analysis + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_analysis.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_analysis.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_analysis.js` + + +----- + + + + +### Contact_center_insights.delete_conversation + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_conversation.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_conversation.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_conversation.js` + + +----- + + + + +### Contact_center_insights.delete_issue_model + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_issue_model.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_issue_model.js,samples/README.md) + +__Usage:__ + -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createAnalysis.js). +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_issue_model.js` -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createAnalysis.js,samples/README.md) + +----- + + + + +### Contact_center_insights.delete_phrase_matcher + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js` + + +----- + + + + +### Contact_center_insights.delete_view + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_view.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_view.js,samples/README.md) __Usage:__ -`node samples/createAnalysis.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.delete_view.js` ----- @@ -56,16 +268,16 @@ __Usage:__ -### Create Conversation +### Contact_center_insights.deploy_issue_model -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createConversation.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.deploy_issue_model.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createConversation.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.deploy_issue_model.js,samples/README.md) __Usage:__ -`node samples/createConversation.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.deploy_issue_model.js` ----- @@ -73,16 +285,16 @@ __Usage:__ -### Create Conversation With Ttl +### Contact_center_insights.export_insights_data -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createConversationWithTtl.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.export_insights_data.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createConversationWithTtl.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.export_insights_data.js,samples/README.md) __Usage:__ -`node samples/createConversationWithTtl.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.export_insights_data.js` ----- @@ -90,16 +302,16 @@ __Usage:__ -### Create Issue Model +### Contact_center_insights.get_analysis -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createIssueModel.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_analysis.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createIssueModel.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_analysis.js,samples/README.md) __Usage:__ -`node samples/createIssueModel.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_analysis.js` ----- @@ -107,16 +319,16 @@ __Usage:__ -### Create Phrase Matcher All Of +### Contact_center_insights.get_conversation -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createPhraseMatcherAllOf.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_conversation.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createPhraseMatcherAllOf.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_conversation.js,samples/README.md) __Usage:__ -`node samples/createPhraseMatcherAllOf.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_conversation.js` ----- @@ -124,16 +336,16 @@ __Usage:__ -### Create Phrase Matcher Any Of +### Contact_center_insights.get_issue -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createPhraseMatcherAnyOf.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/createPhraseMatcherAnyOf.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue.js,samples/README.md) __Usage:__ -`node samples/createPhraseMatcherAnyOf.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue.js` ----- @@ -141,16 +353,16 @@ __Usage:__ -### Enable Pub Sub Notifications +### Contact_center_insights.get_issue_model -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/enablePubSubNotifications.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue_model.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/enablePubSubNotifications.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue_model.js,samples/README.md) __Usage:__ -`node samples/enablePubSubNotifications.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_issue_model.js` ----- @@ -158,16 +370,16 @@ __Usage:__ -### Export To Bigquery +### Contact_center_insights.get_phrase_matcher -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/exportToBigquery.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_phrase_matcher.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/exportToBigquery.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_phrase_matcher.js,samples/README.md) __Usage:__ -`node samples/exportToBigquery.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_phrase_matcher.js` ----- @@ -175,16 +387,254 @@ __Usage:__ -### Get Operation +### Contact_center_insights.get_settings -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/getOperation.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_settings.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/getOperation.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_settings.js,samples/README.md) __Usage:__ -`node samples/getOperation.js` +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_settings.js` + + +----- + + + + +### Contact_center_insights.get_view + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_view.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_view.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.get_view.js` + + +----- + + + + +### Contact_center_insights.list_analyses + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_analyses.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_analyses.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_analyses.js` + + +----- + + + + +### Contact_center_insights.list_conversations + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_conversations.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_conversations.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_conversations.js` + + +----- + + + + +### Contact_center_insights.list_issue_models + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issue_models.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issue_models.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issue_models.js` + + +----- + + + + +### Contact_center_insights.list_issues + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issues.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issues.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_issues.js` + + +----- + + + + +### Contact_center_insights.list_phrase_matchers + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_phrase_matchers.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_phrase_matchers.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_phrase_matchers.js` + + +----- + + + + +### Contact_center_insights.list_views + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_views.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_views.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.list_views.js` + + +----- + + + + +### Contact_center_insights.undeploy_issue_model + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.undeploy_issue_model.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.undeploy_issue_model.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.undeploy_issue_model.js` + + +----- + + + + +### Contact_center_insights.update_conversation + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_conversation.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_conversation.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_conversation.js` + + +----- + + + + +### Contact_center_insights.update_issue + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue.js` + + +----- + + + + +### Contact_center_insights.update_issue_model + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue_model.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue_model.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_issue_model.js` + + +----- + + + + +### Contact_center_insights.update_phrase_matcher + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_phrase_matcher.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_phrase_matcher.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_phrase_matcher.js` + + +----- + + + + +### Contact_center_insights.update_settings + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_settings.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_settings.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_settings.js` + + +----- + + + + +### Contact_center_insights.update_view + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_view.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_view.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/contact_center_insights.update_view.js` ----- @@ -194,14 +644,14 @@ __Usage:__ ### Quickstart -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/quickstart.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md) __Usage:__ -`node samples/quickstart.js` +`node /workspace/google-cloud-node/samples/quickstart.js` ----- @@ -209,16 +659,16 @@ __Usage:__ -### Set Project Ttl +### Quickstart -View the [source code](https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/setProjectTtl.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/setProjectTtl.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.js,samples/README.md) __Usage:__ -`node samples/setProjectTtl.js` +`node /workspace/google-cloud-node/samples/test/quickstart.js` @@ -226,5 +676,5 @@ __Usage:__ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png -[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-contact-center-insights&page=editor&open_in_editor=samples/README.md +[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=samples/README.md [product-docs]: https://cloud.google.com/solutions/contact-center diff --git a/packages/google-cloud-contactcenterinsights/src/index.ts b/packages/google-cloud-contactcenterinsights/src/index.ts index c4f73b23d27..f76ba9cb2b7 100644 --- a/packages/google-cloud-contactcenterinsights/src/index.ts +++ b/packages/google-cloud-contactcenterinsights/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/release-please-config.json b/release-please-config.json index ca8fb90627b..591272dd2ce 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -14,6 +14,7 @@ "packages/google-cloud-bigquery-datatransfer": {}, "packages/google-cloud-bigquery-reservation": {}, "packages/google-cloud-certificatemanager": {}, + "packages/google-cloud-contactcenterinsights": {}, "packages/google-cloud-contentwarehouse": {}, "packages/google-cloud-dataplex": {}, "packages/google-cloud-dataproc": {}, @@ -49,4 +50,4 @@ } ], "release-type": "node" -} \ No newline at end of file +}