Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
docs(samples): add example tags to generated samples (#76)
Browse files Browse the repository at this point in the history
* docs(samples): add example tags to generated samples

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: googleapis/googleapis-gen@eb888bc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Nov 12, 2021
1 parent e61a26d commit c755b80
Show file tree
Hide file tree
Showing 31 changed files with 690 additions and 726 deletions.
2 changes: 1 addition & 1 deletion linkinator.config.json
Expand Up @@ -6,5 +6,5 @@
"img.shields.io"
],
"silent": true,
"concurrency": 10
"concurrency": 5
}
Expand Up @@ -31,7 +31,7 @@ function main(issueModel) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function calculateIssueModelStats() {
async function callCalculateIssueModelStats() {
// Construct request
const request = {
issueModel,
Expand All @@ -44,7 +44,7 @@ function main(issueModel) {
console.log(response);
}

calculateIssueModelStats();
callCalculateIssueModelStats();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async]
}

Expand Down
Expand Up @@ -36,7 +36,7 @@ function main(location) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function calculateStats() {
async function callCalculateStats() {
// Construct request
const request = {
location,
Expand All @@ -47,7 +47,7 @@ function main(location) {
console.log(response);
}

calculateStats();
callCalculateStats();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async]
}

Expand Down
Expand Up @@ -26,7 +26,7 @@ function main(parent, analysis) {
/**
* Required. The analysis to create.
*/
// const analysis = ''
// const analysis = {}

// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
Expand All @@ -35,7 +35,7 @@ function main(parent, analysis) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function createAnalysis() {
async function callCreateAnalysis() {
// Construct request
const request = {
parent,
Expand All @@ -50,7 +50,7 @@ function main(parent, analysis) {
console.log(response);
}

createAnalysis();
callCreateAnalysis();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async]
}

Expand Down
Expand Up @@ -26,7 +26,7 @@ function main(parent, conversation) {
/**
* Required. The conversation resource to create.
*/
// const conversation = ''
// const conversation = {}
/**
* 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
Expand All @@ -43,7 +43,7 @@ function main(parent, conversation) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function createConversation() {
async function callCreateConversation() {
// Construct request
const request = {
parent,
Expand All @@ -57,7 +57,7 @@ function main(parent, conversation) {
console.log(response);
}

createConversation();
callCreateConversation();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async]
}

Expand Down
Expand Up @@ -26,7 +26,7 @@ function main(parent, issueModel) {
/**
* Required. The issue model to create.
*/
// const issueModel = ''
// const issueModel = {}

// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
Expand All @@ -35,7 +35,7 @@ function main(parent, issueModel) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function createIssueModel() {
async function callCreateIssueModel() {
// Construct request
const request = {
parent,
Expand All @@ -50,7 +50,7 @@ function main(parent, issueModel) {
console.log(response);
}

createIssueModel();
callCreateIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async]
}

Expand Down
Expand Up @@ -29,7 +29,7 @@ function main(parent, phraseMatcher) {
/**
* Required. The phrase matcher resource to create.
*/
// const phraseMatcher = ''
// const phraseMatcher = {}

// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
Expand All @@ -38,7 +38,7 @@ function main(parent, phraseMatcher) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function createPhraseMatcher() {
async function callCreatePhraseMatcher() {
// Construct request
const request = {
parent,
Expand All @@ -52,7 +52,7 @@ function main(parent, phraseMatcher) {
console.log(response);
}

createPhraseMatcher();
callCreatePhraseMatcher();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async]
}

Expand Down
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function deleteAnalysis() {
async function callDeleteAnalysis() {
// Construct request
const request = {
name,
Expand All @@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}

deleteAnalysis();
callDeleteAnalysis();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async]
}

Expand Down
Expand Up @@ -37,7 +37,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function deleteConversation() {
async function callDeleteConversation() {
// Construct request
const request = {
name,
Expand All @@ -50,7 +50,7 @@ function main(name) {
console.log(response);
}

deleteConversation();
callDeleteConversation();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async]
}

Expand Down
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function deleteIssueModel() {
async function callDeleteIssueModel() {
// Construct request
const request = {
name,
Expand All @@ -45,7 +45,7 @@ function main(name) {
console.log(response);
}

deleteIssueModel();
callDeleteIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async]
}

Expand Down
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function deletePhraseMatcher() {
async function callDeletePhraseMatcher() {
// Construct request
const request = {
name,
Expand All @@ -44,7 +44,7 @@ function main(name) {
console.log(response);
}

deletePhraseMatcher();
callDeletePhraseMatcher();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async]
}

Expand Down
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function deployIssueModel() {
async function callDeployIssueModel() {
// Construct request
const request = {
name,
Expand All @@ -45,7 +45,7 @@ function main(name) {
console.log(response);
}

deployIssueModel();
callDeployIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async]
}

Expand Down
Expand Up @@ -22,7 +22,7 @@ function main(parent) {
/**
* Specified if sink is a BigQuery table.
*/
// const bigQueryDestination = ''
// const bigQueryDestination = {}
/**
* Required. The parent resource to export data from.
*/
Expand All @@ -46,7 +46,7 @@ function main(parent) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function exportInsightsData() {
async function callExportInsightsData() {
// Construct request
const request = {
parent,
Expand All @@ -60,7 +60,7 @@ function main(parent) {
console.log(response);
}

exportInsightsData();
callExportInsightsData();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async]
}

Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/contact_center_insights.get_analysis.js
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function getAnalysis() {
async function callGetAnalysis() {
// Construct request
const request = {
name,
Expand All @@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}

getAnalysis();
callGetAnalysis();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async]
}

Expand Down
Expand Up @@ -26,7 +26,7 @@ function main(name) {
/**
* The level of details of the conversation. Default is `FULL`.
*/
// const view = ''
// const view = {}

// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} =
Expand All @@ -35,7 +35,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function getConversation() {
async function callGetConversation() {
// Construct request
const request = {
name,
Expand All @@ -46,7 +46,7 @@ function main(name) {
console.log(response);
}

getConversation();
callGetConversation();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async]
}

Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/contact_center_insights.get_issue.js
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function getIssue() {
async function callGetIssue() {
// Construct request
const request = {
name,
Expand All @@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}

getIssue();
callGetIssue();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async]
}

Expand Down
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function getIssueModel() {
async function callGetIssueModel() {
// Construct request
const request = {
name,
Expand All @@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}

getIssueModel();
callGetIssueModel();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async]
}

Expand Down
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function getPhraseMatcher() {
async function callGetPhraseMatcher() {
// Construct request
const request = {
name,
Expand All @@ -44,7 +44,7 @@ function main(name) {
console.log(response);
}

getPhraseMatcher();
callGetPhraseMatcher();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async]
}

Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/contact_center_insights.get_settings.js
Expand Up @@ -31,7 +31,7 @@ function main(name) {
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();

async function getSettings() {
async function callGetSettings() {
// Construct request
const request = {
name,
Expand All @@ -42,7 +42,7 @@ function main(name) {
console.log(response);
}

getSettings();
callGetSettings();
// [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async]
}

Expand Down

0 comments on commit c755b80

Please sign in to comment.