diff --git a/protos/google/cloud/dialogflow/cx/v3/webhook.proto b/protos/google/cloud/dialogflow/cx/v3/webhook.proto index 9ab52a1e..b2d7f361 100644 --- a/protos/google/cloud/dialogflow/cx/v3/webhook.proto +++ b/protos/google/cloud/dialogflow/cx/v3/webhook.proto @@ -509,6 +509,10 @@ message PageInfo { type: "dialogflow.googleapis.com/Page" }]; + // Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. + // The display name of the current page. + string display_name = 4; + // Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. // Information about the form. FormInfo form_info = 3; diff --git a/protos/protos.d.ts b/protos/protos.d.ts index 05abe2d1..d3b67384 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -23991,6 +23991,9 @@ export namespace google { /** PageInfo currentPage */ currentPage?: (string|null); + /** PageInfo displayName */ + displayName?: (string|null); + /** PageInfo formInfo */ formInfo?: (google.cloud.dialogflow.cx.v3.PageInfo.IFormInfo|null); } @@ -24007,6 +24010,9 @@ export namespace google { /** PageInfo currentPage. */ public currentPage: string; + /** PageInfo displayName. */ + public displayName: string; + /** PageInfo formInfo. */ public formInfo?: (google.cloud.dialogflow.cx.v3.PageInfo.IFormInfo|null); diff --git a/protos/protos.js b/protos/protos.js index 5bc84be4..879b77fa 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -56454,6 +56454,7 @@ * @memberof google.cloud.dialogflow.cx.v3 * @interface IPageInfo * @property {string|null} [currentPage] PageInfo currentPage + * @property {string|null} [displayName] PageInfo displayName * @property {google.cloud.dialogflow.cx.v3.PageInfo.IFormInfo|null} [formInfo] PageInfo formInfo */ @@ -56480,6 +56481,14 @@ */ PageInfo.prototype.currentPage = ""; + /** + * PageInfo displayName. + * @member {string} displayName + * @memberof google.cloud.dialogflow.cx.v3.PageInfo + * @instance + */ + PageInfo.prototype.displayName = ""; + /** * PageInfo formInfo. * @member {google.cloud.dialogflow.cx.v3.PageInfo.IFormInfo|null|undefined} formInfo @@ -56516,6 +56525,8 @@ writer.uint32(/* id 1, wireType 2 =*/10).string(message.currentPage); if (message.formInfo != null && Object.hasOwnProperty.call(message, "formInfo")) $root.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.encode(message.formInfo, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.displayName); return writer; }; @@ -56553,6 +56564,9 @@ case 1: message.currentPage = reader.string(); break; + case 4: + message.displayName = reader.string(); + break; case 3: message.formInfo = $root.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.decode(reader, reader.uint32()); break; @@ -56594,6 +56608,9 @@ if (message.currentPage != null && message.hasOwnProperty("currentPage")) if (!$util.isString(message.currentPage)) return "currentPage: string expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; if (message.formInfo != null && message.hasOwnProperty("formInfo")) { var error = $root.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.verify(message.formInfo); if (error) @@ -56616,6 +56633,8 @@ var message = new $root.google.cloud.dialogflow.cx.v3.PageInfo(); if (object.currentPage != null) message.currentPage = String(object.currentPage); + if (object.displayName != null) + message.displayName = String(object.displayName); if (object.formInfo != null) { if (typeof object.formInfo !== "object") throw TypeError(".google.cloud.dialogflow.cx.v3.PageInfo.formInfo: object expected"); @@ -56640,11 +56659,14 @@ if (options.defaults) { object.currentPage = ""; object.formInfo = null; + object.displayName = ""; } if (message.currentPage != null && message.hasOwnProperty("currentPage")) object.currentPage = message.currentPage; if (message.formInfo != null && message.hasOwnProperty("formInfo")) object.formInfo = $root.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.toObject(message.formInfo, options); + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; return object; }; diff --git a/protos/protos.json b/protos/protos.json index f0887911..3b85aa2e 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -6467,6 +6467,10 @@ "(google.api.resource_reference).type": "dialogflow.googleapis.com/Page" } }, + "displayName": { + "type": "string", + "id": 4 + }, "formInfo": { "type": "FormInfo", "id": 3 diff --git a/samples/generated/v3/agents.create_agent.js b/samples/generated/v3/agents.create_agent.js index 545a57fd..a63b6ea0 100644 --- a/samples/generated/v3/agents.create_agent.js +++ b/samples/generated/v3/agents.create_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, agent) { diff --git a/samples/generated/v3/agents.delete_agent.js b/samples/generated/v3/agents.delete_agent.js index 2688ec6f..6fc13dc8 100644 --- a/samples/generated/v3/agents.delete_agent.js +++ b/samples/generated/v3/agents.delete_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/agents.export_agent.js b/samples/generated/v3/agents.export_agent.js index be421d6d..387a804e 100644 --- a/samples/generated/v3/agents.export_agent.js +++ b/samples/generated/v3/agents.export_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/agents.get_agent.js b/samples/generated/v3/agents.get_agent.js index a4544883..02d69de9 100644 --- a/samples/generated/v3/agents.get_agent.js +++ b/samples/generated/v3/agents.get_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/agents.get_agent_validation_result.js b/samples/generated/v3/agents.get_agent_validation_result.js index 26ef5aba..dec552b2 100644 --- a/samples/generated/v3/agents.get_agent_validation_result.js +++ b/samples/generated/v3/agents.get_agent_validation_result.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/agents.list_agents.js b/samples/generated/v3/agents.list_agents.js index 2af9bbcf..1c93af0e 100644 --- a/samples/generated/v3/agents.list_agents.js +++ b/samples/generated/v3/agents.list_agents.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listAgentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/agents.restore_agent.js b/samples/generated/v3/agents.restore_agent.js index 3c98e878..7d7950e6 100644 --- a/samples/generated/v3/agents.restore_agent.js +++ b/samples/generated/v3/agents.restore_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/agents.update_agent.js b/samples/generated/v3/agents.update_agent.js index 9a058d08..074a488b 100644 --- a/samples/generated/v3/agents.update_agent.js +++ b/samples/generated/v3/agents.update_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(agent) { diff --git a/samples/generated/v3/agents.validate_agent.js b/samples/generated/v3/agents.validate_agent.js index d0d27c3a..4c743777 100644 --- a/samples/generated/v3/agents.validate_agent.js +++ b/samples/generated/v3/agents.validate_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/changelogs.get_changelog.js b/samples/generated/v3/changelogs.get_changelog.js index e1b5f55a..0abe19e0 100644 --- a/samples/generated/v3/changelogs.get_changelog.js +++ b/samples/generated/v3/changelogs.get_changelog.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/changelogs.list_changelogs.js b/samples/generated/v3/changelogs.list_changelogs.js index 85ee28ed..5c040914 100644 --- a/samples/generated/v3/changelogs.list_changelogs.js +++ b/samples/generated/v3/changelogs.list_changelogs.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -72,7 +73,7 @@ function main(parent) { // Run request const iterable = await cxClient.listChangelogsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/deployments.get_deployment.js b/samples/generated/v3/deployments.get_deployment.js index 61cbcbef..7988514c 100644 --- a/samples/generated/v3/deployments.get_deployment.js +++ b/samples/generated/v3/deployments.get_deployment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/deployments.list_deployments.js b/samples/generated/v3/deployments.list_deployments.js index af9f4beb..8ba40c1d 100644 --- a/samples/generated/v3/deployments.list_deployments.js +++ b/samples/generated/v3/deployments.list_deployments.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listDeploymentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/entity_types.create_entity_type.js b/samples/generated/v3/entity_types.create_entity_type.js index 126d6faf..0fddb324 100644 --- a/samples/generated/v3/entity_types.create_entity_type.js +++ b/samples/generated/v3/entity_types.create_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, entityType) { diff --git a/samples/generated/v3/entity_types.delete_entity_type.js b/samples/generated/v3/entity_types.delete_entity_type.js index 6fda83ac..027d7a3c 100644 --- a/samples/generated/v3/entity_types.delete_entity_type.js +++ b/samples/generated/v3/entity_types.delete_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/entity_types.get_entity_type.js b/samples/generated/v3/entity_types.get_entity_type.js index 4ce3491d..532ceadb 100644 --- a/samples/generated/v3/entity_types.get_entity_type.js +++ b/samples/generated/v3/entity_types.get_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/entity_types.list_entity_types.js b/samples/generated/v3/entity_types.list_entity_types.js index 60eb7220..4fd6a7dc 100644 --- a/samples/generated/v3/entity_types.list_entity_types.js +++ b/samples/generated/v3/entity_types.list_entity_types.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -62,7 +63,7 @@ function main(parent) { // Run request const iterable = await cxClient.listEntityTypesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/entity_types.update_entity_type.js b/samples/generated/v3/entity_types.update_entity_type.js index fd8fc84e..7d818d0b 100644 --- a/samples/generated/v3/entity_types.update_entity_type.js +++ b/samples/generated/v3/entity_types.update_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(entityType) { diff --git a/samples/generated/v3/environments.create_environment.js b/samples/generated/v3/environments.create_environment.js index a3194137..141dc0d0 100644 --- a/samples/generated/v3/environments.create_environment.js +++ b/samples/generated/v3/environments.create_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, environment) { diff --git a/samples/generated/v3/environments.delete_environment.js b/samples/generated/v3/environments.delete_environment.js index d76bf742..a53cd582 100644 --- a/samples/generated/v3/environments.delete_environment.js +++ b/samples/generated/v3/environments.delete_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/environments.deploy_flow.js b/samples/generated/v3/environments.deploy_flow.js index 7cfaa01c..22ed9d63 100644 --- a/samples/generated/v3/environments.deploy_flow.js +++ b/samples/generated/v3/environments.deploy_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(environment, flowVersion) { diff --git a/samples/generated/v3/environments.get_environment.js b/samples/generated/v3/environments.get_environment.js index e92636c5..24ce45a1 100644 --- a/samples/generated/v3/environments.get_environment.js +++ b/samples/generated/v3/environments.get_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/environments.list_continuous_test_results.js b/samples/generated/v3/environments.list_continuous_test_results.js index 0c237062..883826ba 100644 --- a/samples/generated/v3/environments.list_continuous_test_results.js +++ b/samples/generated/v3/environments.list_continuous_test_results.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listContinuousTestResultsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/environments.list_environments.js b/samples/generated/v3/environments.list_environments.js index 2bc29f77..e2845e85 100644 --- a/samples/generated/v3/environments.list_environments.js +++ b/samples/generated/v3/environments.list_environments.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listEnvironmentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/environments.lookup_environment_history.js b/samples/generated/v3/environments.lookup_environment_history.js index 619d3fcb..e39ac86f 100644 --- a/samples/generated/v3/environments.lookup_environment_history.js +++ b/samples/generated/v3/environments.lookup_environment_history.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -50,7 +51,7 @@ function main(name) { // Run request const iterable = await cxClient.lookupEnvironmentHistoryAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/environments.run_continuous_test.js b/samples/generated/v3/environments.run_continuous_test.js index 54c782be..7710c7d9 100644 --- a/samples/generated/v3/environments.run_continuous_test.js +++ b/samples/generated/v3/environments.run_continuous_test.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(environment) { diff --git a/samples/generated/v3/environments.update_environment.js b/samples/generated/v3/environments.update_environment.js index 45121a99..faa1938f 100644 --- a/samples/generated/v3/environments.update_environment.js +++ b/samples/generated/v3/environments.update_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(environment, updateMask) { diff --git a/samples/generated/v3/experiments.create_experiment.js b/samples/generated/v3/experiments.create_experiment.js index a4949925..1220f1bf 100644 --- a/samples/generated/v3/experiments.create_experiment.js +++ b/samples/generated/v3/experiments.create_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, experiment) { diff --git a/samples/generated/v3/experiments.delete_experiment.js b/samples/generated/v3/experiments.delete_experiment.js index 385232ad..9c320fce 100644 --- a/samples/generated/v3/experiments.delete_experiment.js +++ b/samples/generated/v3/experiments.delete_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/experiments.get_experiment.js b/samples/generated/v3/experiments.get_experiment.js index d16564ac..a30e8af9 100644 --- a/samples/generated/v3/experiments.get_experiment.js +++ b/samples/generated/v3/experiments.get_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/experiments.list_experiments.js b/samples/generated/v3/experiments.list_experiments.js index 7ea1d4ca..d95368f4 100644 --- a/samples/generated/v3/experiments.list_experiments.js +++ b/samples/generated/v3/experiments.list_experiments.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listExperimentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/experiments.start_experiment.js b/samples/generated/v3/experiments.start_experiment.js index a1eb0f7f..d5deb747 100644 --- a/samples/generated/v3/experiments.start_experiment.js +++ b/samples/generated/v3/experiments.start_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/experiments.stop_experiment.js b/samples/generated/v3/experiments.stop_experiment.js index fc345863..44e1aa30 100644 --- a/samples/generated/v3/experiments.stop_experiment.js +++ b/samples/generated/v3/experiments.stop_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/experiments.update_experiment.js b/samples/generated/v3/experiments.update_experiment.js index 3e2abc95..f790ac2f 100644 --- a/samples/generated/v3/experiments.update_experiment.js +++ b/samples/generated/v3/experiments.update_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(experiment, updateMask) { diff --git a/samples/generated/v3/flows.create_flow.js b/samples/generated/v3/flows.create_flow.js index e6ce161c..1cc37320 100644 --- a/samples/generated/v3/flows.create_flow.js +++ b/samples/generated/v3/flows.create_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, flow) { diff --git a/samples/generated/v3/flows.delete_flow.js b/samples/generated/v3/flows.delete_flow.js index dd37f1a7..4b5103c1 100644 --- a/samples/generated/v3/flows.delete_flow.js +++ b/samples/generated/v3/flows.delete_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/flows.export_flow.js b/samples/generated/v3/flows.export_flow.js index 1a7626e8..19f2c62a 100644 --- a/samples/generated/v3/flows.export_flow.js +++ b/samples/generated/v3/flows.export_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/flows.get_flow.js b/samples/generated/v3/flows.get_flow.js index 08c896bf..ea30d978 100644 --- a/samples/generated/v3/flows.get_flow.js +++ b/samples/generated/v3/flows.get_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/flows.get_flow_validation_result.js b/samples/generated/v3/flows.get_flow_validation_result.js index f25747ff..1dd9237d 100644 --- a/samples/generated/v3/flows.get_flow_validation_result.js +++ b/samples/generated/v3/flows.get_flow_validation_result.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/flows.import_flow.js b/samples/generated/v3/flows.import_flow.js index cf4fcfcb..1ca457cb 100644 --- a/samples/generated/v3/flows.import_flow.js +++ b/samples/generated/v3/flows.import_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { diff --git a/samples/generated/v3/flows.list_flows.js b/samples/generated/v3/flows.list_flows.js index cde2d5d1..15411cb9 100644 --- a/samples/generated/v3/flows.list_flows.js +++ b/samples/generated/v3/flows.list_flows.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -63,7 +64,7 @@ function main(parent) { // Run request const iterable = await cxClient.listFlowsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/flows.train_flow.js b/samples/generated/v3/flows.train_flow.js index b3ad2378..b23da842 100644 --- a/samples/generated/v3/flows.train_flow.js +++ b/samples/generated/v3/flows.train_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/flows.update_flow.js b/samples/generated/v3/flows.update_flow.js index e65e1128..d1a5e93f 100644 --- a/samples/generated/v3/flows.update_flow.js +++ b/samples/generated/v3/flows.update_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(flow) { diff --git a/samples/generated/v3/flows.validate_flow.js b/samples/generated/v3/flows.validate_flow.js index a0c493f5..29860572 100644 --- a/samples/generated/v3/flows.validate_flow.js +++ b/samples/generated/v3/flows.validate_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/intents.create_intent.js b/samples/generated/v3/intents.create_intent.js index 672bb864..9d53060d 100644 --- a/samples/generated/v3/intents.create_intent.js +++ b/samples/generated/v3/intents.create_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, intent) { diff --git a/samples/generated/v3/intents.delete_intent.js b/samples/generated/v3/intents.delete_intent.js index 6dace4b8..b1ba3da3 100644 --- a/samples/generated/v3/intents.delete_intent.js +++ b/samples/generated/v3/intents.delete_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/intents.get_intent.js b/samples/generated/v3/intents.get_intent.js index 79d38a5d..6e4f028c 100644 --- a/samples/generated/v3/intents.get_intent.js +++ b/samples/generated/v3/intents.get_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/intents.list_intents.js b/samples/generated/v3/intents.list_intents.js index 9e1a108a..9aff2d72 100644 --- a/samples/generated/v3/intents.list_intents.js +++ b/samples/generated/v3/intents.list_intents.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -64,7 +65,7 @@ function main(parent) { // Run request const iterable = await cxClient.listIntentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/intents.update_intent.js b/samples/generated/v3/intents.update_intent.js index 01056638..2d2b004f 100644 --- a/samples/generated/v3/intents.update_intent.js +++ b/samples/generated/v3/intents.update_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(intent) { diff --git a/samples/generated/v3/pages.create_page.js b/samples/generated/v3/pages.create_page.js index 8aab43f5..9a3f79a2 100644 --- a/samples/generated/v3/pages.create_page.js +++ b/samples/generated/v3/pages.create_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, page) { diff --git a/samples/generated/v3/pages.delete_page.js b/samples/generated/v3/pages.delete_page.js index 1ecc78da..33adf9aa 100644 --- a/samples/generated/v3/pages.delete_page.js +++ b/samples/generated/v3/pages.delete_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/pages.get_page.js b/samples/generated/v3/pages.get_page.js index a9ad608f..731fb05b 100644 --- a/samples/generated/v3/pages.get_page.js +++ b/samples/generated/v3/pages.get_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/pages.list_pages.js b/samples/generated/v3/pages.list_pages.js index dd66ec81..7fc93c96 100644 --- a/samples/generated/v3/pages.list_pages.js +++ b/samples/generated/v3/pages.list_pages.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -72,7 +73,7 @@ function main(parent) { // Run request const iterable = await cxClient.listPagesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/pages.update_page.js b/samples/generated/v3/pages.update_page.js index ddb5bdf5..8c555a6c 100644 --- a/samples/generated/v3/pages.update_page.js +++ b/samples/generated/v3/pages.update_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(page) { diff --git a/samples/generated/v3/security_settings_service.create_security_settings.js b/samples/generated/v3/security_settings_service.create_security_settings.js index 1b6fe035..64c9fb21 100644 --- a/samples/generated/v3/security_settings_service.create_security_settings.js +++ b/samples/generated/v3/security_settings_service.create_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, securitySettings) { @@ -30,8 +31,7 @@ function main(parent, securitySettings) { // const securitySettings = {} // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3/security_settings_service.delete_security_settings.js b/samples/generated/v3/security_settings_service.delete_security_settings.js index 40b3fbc8..07f6def5 100644 --- a/samples/generated/v3/security_settings_service.delete_security_settings.js +++ b/samples/generated/v3/security_settings_service.delete_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -27,8 +28,7 @@ function main(name) { // const name = 'abc123' // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3/security_settings_service.get_security_settings.js b/samples/generated/v3/security_settings_service.get_security_settings.js index 2e6d6e70..c0e6a622 100644 --- a/samples/generated/v3/security_settings_service.get_security_settings.js +++ b/samples/generated/v3/security_settings_service.get_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -27,8 +28,7 @@ function main(name) { // const name = 'abc123' // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3/security_settings_service.list_security_settings.js b/samples/generated/v3/security_settings_service.list_security_settings.js index 57d41204..3fb37531 100644 --- a/samples/generated/v3/security_settings_service.list_security_settings.js +++ b/samples/generated/v3/security_settings_service.list_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -35,8 +36,7 @@ function main(parent) { // const pageToken = 'abc123' // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); @@ -50,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listSecuritySettingsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/security_settings_service.update_security_settings.js b/samples/generated/v3/security_settings_service.update_security_settings.js index dfb08e17..16bee604 100644 --- a/samples/generated/v3/security_settings_service.update_security_settings.js +++ b/samples/generated/v3/security_settings_service.update_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(securitySettings, updateMask) { @@ -31,8 +32,7 @@ function main(securitySettings, updateMask) { // const updateMask = {} // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3/session_entity_types.create_session_entity_type.js b/samples/generated/v3/session_entity_types.create_session_entity_type.js index 0592405e..c2dd08a9 100644 --- a/samples/generated/v3/session_entity_types.create_session_entity_type.js +++ b/samples/generated/v3/session_entity_types.create_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, sessionEntityType) { diff --git a/samples/generated/v3/session_entity_types.delete_session_entity_type.js b/samples/generated/v3/session_entity_types.delete_session_entity_type.js index f32bca32..284ffdf4 100644 --- a/samples/generated/v3/session_entity_types.delete_session_entity_type.js +++ b/samples/generated/v3/session_entity_types.delete_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/session_entity_types.get_session_entity_type.js b/samples/generated/v3/session_entity_types.get_session_entity_type.js index 0586a1d7..eeda232d 100644 --- a/samples/generated/v3/session_entity_types.get_session_entity_type.js +++ b/samples/generated/v3/session_entity_types.get_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/session_entity_types.list_session_entity_types.js b/samples/generated/v3/session_entity_types.list_session_entity_types.js index 2376ad19..87792b95 100644 --- a/samples/generated/v3/session_entity_types.list_session_entity_types.js +++ b/samples/generated/v3/session_entity_types.list_session_entity_types.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -53,7 +54,7 @@ function main(parent) { // Run request const iterable = await cxClient.listSessionEntityTypesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/session_entity_types.update_session_entity_type.js b/samples/generated/v3/session_entity_types.update_session_entity_type.js index 1157f2a7..42d831b0 100644 --- a/samples/generated/v3/session_entity_types.update_session_entity_type.js +++ b/samples/generated/v3/session_entity_types.update_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(sessionEntityType) { diff --git a/samples/generated/v3/sessions.detect_intent.js b/samples/generated/v3/sessions.detect_intent.js index 7b0f4a8c..713baa2e 100644 --- a/samples/generated/v3/sessions.detect_intent.js +++ b/samples/generated/v3/sessions.detect_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(session, queryInput) { diff --git a/samples/generated/v3/sessions.fulfill_intent.js b/samples/generated/v3/sessions.fulfill_intent.js index bb1d3806..0a90eb8f 100644 --- a/samples/generated/v3/sessions.fulfill_intent.js +++ b/samples/generated/v3/sessions.fulfill_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main() { @@ -41,7 +42,8 @@ function main() { async function callFulfillIntent() { // Construct request - const request = {}; + const request = { + }; // Run request const response = await cxClient.fulfillIntent(request); diff --git a/samples/generated/v3/sessions.match_intent.js b/samples/generated/v3/sessions.match_intent.js index 94a6394a..710454df 100644 --- a/samples/generated/v3/sessions.match_intent.js +++ b/samples/generated/v3/sessions.match_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(session, queryInput) { diff --git a/samples/generated/v3/sessions.streaming_detect_intent.js b/samples/generated/v3/sessions.streaming_detect_intent.js index 5a286b3c..b7832b6d 100644 --- a/samples/generated/v3/sessions.streaming_detect_intent.js +++ b/samples/generated/v3/sessions.streaming_detect_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(queryInput) { @@ -71,17 +72,11 @@ function main(queryInput) { // Run request const stream = await cxClient.streamingDetectIntent(); - stream.on('data', response => { - console.log(response); - }); - stream.on('error', err => { - throw err; - }); - stream.on('end', () => { - /* API call completed */ - }); + stream.on('data', (response) => { console.log(response) }); + stream.on('error', (err) => { throw(err) }); + stream.on('end', () => { /* API call completed */ }); stream.write(request); - stream.end(); + stream.end(); } callStreamingDetectIntent(); diff --git a/samples/generated/v3/test_cases.batch_delete_test_cases.js b/samples/generated/v3/test_cases.batch_delete_test_cases.js index 020e0eea..f65ef082 100644 --- a/samples/generated/v3/test_cases.batch_delete_test_cases.js +++ b/samples/generated/v3/test_cases.batch_delete_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, names) { diff --git a/samples/generated/v3/test_cases.batch_run_test_cases.js b/samples/generated/v3/test_cases.batch_run_test_cases.js index 04cef677..a5f0a7e0 100644 --- a/samples/generated/v3/test_cases.batch_run_test_cases.js +++ b/samples/generated/v3/test_cases.batch_run_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, testCases) { diff --git a/samples/generated/v3/test_cases.calculate_coverage.js b/samples/generated/v3/test_cases.calculate_coverage.js index 89a122d1..61f84262 100644 --- a/samples/generated/v3/test_cases.calculate_coverage.js +++ b/samples/generated/v3/test_cases.calculate_coverage.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(agent, type) { diff --git a/samples/generated/v3/test_cases.create_test_case.js b/samples/generated/v3/test_cases.create_test_case.js index b5077124..0fe5d41e 100644 --- a/samples/generated/v3/test_cases.create_test_case.js +++ b/samples/generated/v3/test_cases.create_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, testCase) { diff --git a/samples/generated/v3/test_cases.export_test_cases.js b/samples/generated/v3/test_cases.export_test_cases.js index 161c81ff..3bb711df 100644 --- a/samples/generated/v3/test_cases.export_test_cases.js +++ b/samples/generated/v3/test_cases.export_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { diff --git a/samples/generated/v3/test_cases.get_test_case.js b/samples/generated/v3/test_cases.get_test_case.js index 3f24df37..6f8082b4 100644 --- a/samples/generated/v3/test_cases.get_test_case.js +++ b/samples/generated/v3/test_cases.get_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/test_cases.get_test_case_result.js b/samples/generated/v3/test_cases.get_test_case_result.js index a13c3163..45aea179 100644 --- a/samples/generated/v3/test_cases.get_test_case_result.js +++ b/samples/generated/v3/test_cases.get_test_case_result.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/test_cases.import_test_cases.js b/samples/generated/v3/test_cases.import_test_cases.js index 0bc12bcf..044c7512 100644 --- a/samples/generated/v3/test_cases.import_test_cases.js +++ b/samples/generated/v3/test_cases.import_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { diff --git a/samples/generated/v3/test_cases.list_test_case_results.js b/samples/generated/v3/test_cases.list_test_case_results.js index aed28364..d5c78e9f 100644 --- a/samples/generated/v3/test_cases.list_test_case_results.js +++ b/samples/generated/v3/test_cases.list_test_case_results.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -41,7 +42,7 @@ function main(parent) { * The expression is case insensitive. Only 'AND' is supported for logical * operators. The supported syntax is listed below in detail: * AND ... - * AND latest + * AND latest * The supported fields and operators are: * field operator * `environment` `=`, `IN` (Use value `draft` for draft environment) @@ -73,7 +74,7 @@ function main(parent) { // Run request const iterable = await cxClient.listTestCaseResultsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/test_cases.list_test_cases.js b/samples/generated/v3/test_cases.list_test_cases.js index 4b4ea660..b87d1da2 100644 --- a/samples/generated/v3/test_cases.list_test_cases.js +++ b/samples/generated/v3/test_cases.list_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -54,7 +55,7 @@ function main(parent) { // Run request const iterable = await cxClient.listTestCasesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/test_cases.run_test_case.js b/samples/generated/v3/test_cases.run_test_case.js index 7c7108db..512facac 100644 --- a/samples/generated/v3/test_cases.run_test_case.js +++ b/samples/generated/v3/test_cases.run_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/test_cases.update_test_case.js b/samples/generated/v3/test_cases.update_test_case.js index 58cf756b..2c893e01 100644 --- a/samples/generated/v3/test_cases.update_test_case.js +++ b/samples/generated/v3/test_cases.update_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(testCase, updateMask) { diff --git a/samples/generated/v3/transition_route_groups.create_transition_route_group.js b/samples/generated/v3/transition_route_groups.create_transition_route_group.js index 27610bd7..edc58da9 100644 --- a/samples/generated/v3/transition_route_groups.create_transition_route_group.js +++ b/samples/generated/v3/transition_route_groups.create_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, transitionRouteGroup) { @@ -43,8 +44,7 @@ function main(parent, transitionRouteGroup) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3/transition_route_groups.delete_transition_route_group.js b/samples/generated/v3/transition_route_groups.delete_transition_route_group.js index 5d9087a4..c93b2f67 100644 --- a/samples/generated/v3/transition_route_groups.delete_transition_route_group.js +++ b/samples/generated/v3/transition_route_groups.delete_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -36,8 +37,7 @@ function main(name) { // const force = true // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3/transition_route_groups.get_transition_route_group.js b/samples/generated/v3/transition_route_groups.get_transition_route_group.js index 74e6c9fe..246990fa 100644 --- a/samples/generated/v3/transition_route_groups.get_transition_route_group.js +++ b/samples/generated/v3/transition_route_groups.get_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -40,8 +41,7 @@ function main(name) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3/transition_route_groups.list_transition_route_groups.js b/samples/generated/v3/transition_route_groups.list_transition_route_groups.js index 38937de5..f2670791 100644 --- a/samples/generated/v3/transition_route_groups.list_transition_route_groups.js +++ b/samples/generated/v3/transition_route_groups.list_transition_route_groups.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,8 +50,7 @@ function main(parent) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); @@ -64,7 +64,7 @@ function main(parent) { // Run request const iterable = await cxClient.listTransitionRouteGroupsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/transition_route_groups.update_transition_route_group.js b/samples/generated/v3/transition_route_groups.update_transition_route_group.js index 561eed18..bc30f174 100644 --- a/samples/generated/v3/transition_route_groups.update_transition_route_group.js +++ b/samples/generated/v3/transition_route_groups.update_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(transitionRouteGroup) { @@ -41,8 +42,7 @@ function main(transitionRouteGroup) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3/versions.compare_versions.js b/samples/generated/v3/versions.compare_versions.js index 6f90f48a..782bd794 100644 --- a/samples/generated/v3/versions.compare_versions.js +++ b/samples/generated/v3/versions.compare_versions.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(baseVersion, targetVersion) { diff --git a/samples/generated/v3/versions.create_version.js b/samples/generated/v3/versions.create_version.js index 6e4b03fd..077f1545 100644 --- a/samples/generated/v3/versions.create_version.js +++ b/samples/generated/v3/versions.create_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, version) { diff --git a/samples/generated/v3/versions.delete_version.js b/samples/generated/v3/versions.delete_version.js index 04e22508..b5ee50f6 100644 --- a/samples/generated/v3/versions.delete_version.js +++ b/samples/generated/v3/versions.delete_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/versions.get_version.js b/samples/generated/v3/versions.get_version.js index 2afa6cfb..f9352799 100644 --- a/samples/generated/v3/versions.get_version.js +++ b/samples/generated/v3/versions.get_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/versions.list_versions.js b/samples/generated/v3/versions.list_versions.js index 54553d10..613ae556 100644 --- a/samples/generated/v3/versions.list_versions.js +++ b/samples/generated/v3/versions.list_versions.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listVersionsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/versions.load_version.js b/samples/generated/v3/versions.load_version.js index 6f0e434d..097e37ea 100644 --- a/samples/generated/v3/versions.load_version.js +++ b/samples/generated/v3/versions.load_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/versions.update_version.js b/samples/generated/v3/versions.update_version.js index f891f78e..0fb045c8 100644 --- a/samples/generated/v3/versions.update_version.js +++ b/samples/generated/v3/versions.update_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(version, updateMask) { diff --git a/samples/generated/v3/webhooks.create_webhook.js b/samples/generated/v3/webhooks.create_webhook.js index e10f7bd0..d1fc06ca 100644 --- a/samples/generated/v3/webhooks.create_webhook.js +++ b/samples/generated/v3/webhooks.create_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, webhook) { diff --git a/samples/generated/v3/webhooks.delete_webhook.js b/samples/generated/v3/webhooks.delete_webhook.js index 8a20ce89..e1dc0980 100644 --- a/samples/generated/v3/webhooks.delete_webhook.js +++ b/samples/generated/v3/webhooks.delete_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -31,7 +32,7 @@ function main(name) { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. Webhook google.cloud.dialogflow.cx.v3.Fulfillment.webhook + * as any references to the webhook (i.e. Webhook google.cloud.dialogflow.cx.v3.Fulfillment.webhook * and tag google.cloud.dialogflow.cx.v3.Fulfillment.tag in fulfillments that point to this webhook * will be removed). */ diff --git a/samples/generated/v3/webhooks.get_webhook.js b/samples/generated/v3/webhooks.get_webhook.js index 798e37ba..cc02b4fd 100644 --- a/samples/generated/v3/webhooks.get_webhook.js +++ b/samples/generated/v3/webhooks.get_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3/webhooks.list_webhooks.js b/samples/generated/v3/webhooks.list_webhooks.js index 09e2a6b5..ccc02188 100644 --- a/samples/generated/v3/webhooks.list_webhooks.js +++ b/samples/generated/v3/webhooks.list_webhooks.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listWebhooksAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3/webhooks.update_webhook.js b/samples/generated/v3/webhooks.update_webhook.js index f19eee0d..0e02ce4c 100644 --- a/samples/generated/v3/webhooks.update_webhook.js +++ b/samples/generated/v3/webhooks.update_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(webhook) { diff --git a/samples/generated/v3beta1/agents.create_agent.js b/samples/generated/v3beta1/agents.create_agent.js index 1f23edd2..01f2b985 100644 --- a/samples/generated/v3beta1/agents.create_agent.js +++ b/samples/generated/v3beta1/agents.create_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, agent) { diff --git a/samples/generated/v3beta1/agents.delete_agent.js b/samples/generated/v3beta1/agents.delete_agent.js index 868c57a0..f9f5bade 100644 --- a/samples/generated/v3beta1/agents.delete_agent.js +++ b/samples/generated/v3beta1/agents.delete_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/agents.export_agent.js b/samples/generated/v3beta1/agents.export_agent.js index a1979ea9..08fe9710 100644 --- a/samples/generated/v3beta1/agents.export_agent.js +++ b/samples/generated/v3beta1/agents.export_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/agents.get_agent.js b/samples/generated/v3beta1/agents.get_agent.js index e6a9fcad..6b0173d6 100644 --- a/samples/generated/v3beta1/agents.get_agent.js +++ b/samples/generated/v3beta1/agents.get_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/agents.get_agent_validation_result.js b/samples/generated/v3beta1/agents.get_agent_validation_result.js index bc252a69..f700ac71 100644 --- a/samples/generated/v3beta1/agents.get_agent_validation_result.js +++ b/samples/generated/v3beta1/agents.get_agent_validation_result.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/agents.list_agents.js b/samples/generated/v3beta1/agents.list_agents.js index a7ea4e7c..1474f6fa 100644 --- a/samples/generated/v3beta1/agents.list_agents.js +++ b/samples/generated/v3beta1/agents.list_agents.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listAgentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/agents.restore_agent.js b/samples/generated/v3beta1/agents.restore_agent.js index 0034b72f..06bb16b4 100644 --- a/samples/generated/v3beta1/agents.restore_agent.js +++ b/samples/generated/v3beta1/agents.restore_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/agents.update_agent.js b/samples/generated/v3beta1/agents.update_agent.js index c840a429..1f7589f1 100644 --- a/samples/generated/v3beta1/agents.update_agent.js +++ b/samples/generated/v3beta1/agents.update_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(agent) { diff --git a/samples/generated/v3beta1/agents.validate_agent.js b/samples/generated/v3beta1/agents.validate_agent.js index d1e6eac7..e52f0440 100644 --- a/samples/generated/v3beta1/agents.validate_agent.js +++ b/samples/generated/v3beta1/agents.validate_agent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/changelogs.get_changelog.js b/samples/generated/v3beta1/changelogs.get_changelog.js index a4a0d6b6..fdb56c60 100644 --- a/samples/generated/v3beta1/changelogs.get_changelog.js +++ b/samples/generated/v3beta1/changelogs.get_changelog.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/changelogs.list_changelogs.js b/samples/generated/v3beta1/changelogs.list_changelogs.js index ba3bd493..63dc20a6 100644 --- a/samples/generated/v3beta1/changelogs.list_changelogs.js +++ b/samples/generated/v3beta1/changelogs.list_changelogs.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -72,7 +73,7 @@ function main(parent) { // Run request const iterable = await cxClient.listChangelogsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/deployments.get_deployment.js b/samples/generated/v3beta1/deployments.get_deployment.js index 37a0676f..5bafd3c0 100644 --- a/samples/generated/v3beta1/deployments.get_deployment.js +++ b/samples/generated/v3beta1/deployments.get_deployment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/deployments.list_deployments.js b/samples/generated/v3beta1/deployments.list_deployments.js index a2efe3ac..9865754a 100644 --- a/samples/generated/v3beta1/deployments.list_deployments.js +++ b/samples/generated/v3beta1/deployments.list_deployments.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listDeploymentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/entity_types.create_entity_type.js b/samples/generated/v3beta1/entity_types.create_entity_type.js index 714734ae..636127ce 100644 --- a/samples/generated/v3beta1/entity_types.create_entity_type.js +++ b/samples/generated/v3beta1/entity_types.create_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, entityType) { diff --git a/samples/generated/v3beta1/entity_types.delete_entity_type.js b/samples/generated/v3beta1/entity_types.delete_entity_type.js index 0ef044a0..9719fb9b 100644 --- a/samples/generated/v3beta1/entity_types.delete_entity_type.js +++ b/samples/generated/v3beta1/entity_types.delete_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/entity_types.get_entity_type.js b/samples/generated/v3beta1/entity_types.get_entity_type.js index 705bb6fe..6911639f 100644 --- a/samples/generated/v3beta1/entity_types.get_entity_type.js +++ b/samples/generated/v3beta1/entity_types.get_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/entity_types.list_entity_types.js b/samples/generated/v3beta1/entity_types.list_entity_types.js index 1236e286..91175052 100644 --- a/samples/generated/v3beta1/entity_types.list_entity_types.js +++ b/samples/generated/v3beta1/entity_types.list_entity_types.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -62,7 +63,7 @@ function main(parent) { // Run request const iterable = await cxClient.listEntityTypesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/entity_types.update_entity_type.js b/samples/generated/v3beta1/entity_types.update_entity_type.js index 651738c3..47deeaac 100644 --- a/samples/generated/v3beta1/entity_types.update_entity_type.js +++ b/samples/generated/v3beta1/entity_types.update_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(entityType) { diff --git a/samples/generated/v3beta1/environments.create_environment.js b/samples/generated/v3beta1/environments.create_environment.js index 0e43cb4b..f05a89bc 100644 --- a/samples/generated/v3beta1/environments.create_environment.js +++ b/samples/generated/v3beta1/environments.create_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, environment) { diff --git a/samples/generated/v3beta1/environments.delete_environment.js b/samples/generated/v3beta1/environments.delete_environment.js index f1f3e800..a68e16b0 100644 --- a/samples/generated/v3beta1/environments.delete_environment.js +++ b/samples/generated/v3beta1/environments.delete_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/environments.deploy_flow.js b/samples/generated/v3beta1/environments.deploy_flow.js index 63c61d9a..975a4810 100644 --- a/samples/generated/v3beta1/environments.deploy_flow.js +++ b/samples/generated/v3beta1/environments.deploy_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(environment, flowVersion) { diff --git a/samples/generated/v3beta1/environments.get_environment.js b/samples/generated/v3beta1/environments.get_environment.js index e0c8e138..ea36121e 100644 --- a/samples/generated/v3beta1/environments.get_environment.js +++ b/samples/generated/v3beta1/environments.get_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/environments.list_continuous_test_results.js b/samples/generated/v3beta1/environments.list_continuous_test_results.js index fdef1a4a..aa98f725 100644 --- a/samples/generated/v3beta1/environments.list_continuous_test_results.js +++ b/samples/generated/v3beta1/environments.list_continuous_test_results.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listContinuousTestResultsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/environments.list_environments.js b/samples/generated/v3beta1/environments.list_environments.js index 5eb433ee..6d356496 100644 --- a/samples/generated/v3beta1/environments.list_environments.js +++ b/samples/generated/v3beta1/environments.list_environments.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listEnvironmentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/environments.lookup_environment_history.js b/samples/generated/v3beta1/environments.lookup_environment_history.js index 8527347c..e0317ce0 100644 --- a/samples/generated/v3beta1/environments.lookup_environment_history.js +++ b/samples/generated/v3beta1/environments.lookup_environment_history.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -50,7 +51,7 @@ function main(name) { // Run request const iterable = await cxClient.lookupEnvironmentHistoryAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/environments.run_continuous_test.js b/samples/generated/v3beta1/environments.run_continuous_test.js index c6d9f032..24569eb0 100644 --- a/samples/generated/v3beta1/environments.run_continuous_test.js +++ b/samples/generated/v3beta1/environments.run_continuous_test.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(environment) { diff --git a/samples/generated/v3beta1/environments.update_environment.js b/samples/generated/v3beta1/environments.update_environment.js index 41e209e8..c9abba96 100644 --- a/samples/generated/v3beta1/environments.update_environment.js +++ b/samples/generated/v3beta1/environments.update_environment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(environment, updateMask) { diff --git a/samples/generated/v3beta1/experiments.create_experiment.js b/samples/generated/v3beta1/experiments.create_experiment.js index f7b4a3d3..e0bcff1d 100644 --- a/samples/generated/v3beta1/experiments.create_experiment.js +++ b/samples/generated/v3beta1/experiments.create_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, experiment) { diff --git a/samples/generated/v3beta1/experiments.delete_experiment.js b/samples/generated/v3beta1/experiments.delete_experiment.js index 0df831c4..52fb8020 100644 --- a/samples/generated/v3beta1/experiments.delete_experiment.js +++ b/samples/generated/v3beta1/experiments.delete_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/experiments.get_experiment.js b/samples/generated/v3beta1/experiments.get_experiment.js index 048c86ef..3e4fde7f 100644 --- a/samples/generated/v3beta1/experiments.get_experiment.js +++ b/samples/generated/v3beta1/experiments.get_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/experiments.list_experiments.js b/samples/generated/v3beta1/experiments.list_experiments.js index b7870f11..e03f66ce 100644 --- a/samples/generated/v3beta1/experiments.list_experiments.js +++ b/samples/generated/v3beta1/experiments.list_experiments.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listExperimentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/experiments.start_experiment.js b/samples/generated/v3beta1/experiments.start_experiment.js index afc938ef..8e9aa529 100644 --- a/samples/generated/v3beta1/experiments.start_experiment.js +++ b/samples/generated/v3beta1/experiments.start_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/experiments.stop_experiment.js b/samples/generated/v3beta1/experiments.stop_experiment.js index ec3c88f1..b58814cb 100644 --- a/samples/generated/v3beta1/experiments.stop_experiment.js +++ b/samples/generated/v3beta1/experiments.stop_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/experiments.update_experiment.js b/samples/generated/v3beta1/experiments.update_experiment.js index ff554748..2b0f5c46 100644 --- a/samples/generated/v3beta1/experiments.update_experiment.js +++ b/samples/generated/v3beta1/experiments.update_experiment.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(experiment, updateMask) { diff --git a/samples/generated/v3beta1/flows.create_flow.js b/samples/generated/v3beta1/flows.create_flow.js index 9a8fdf63..521cb765 100644 --- a/samples/generated/v3beta1/flows.create_flow.js +++ b/samples/generated/v3beta1/flows.create_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, flow) { diff --git a/samples/generated/v3beta1/flows.delete_flow.js b/samples/generated/v3beta1/flows.delete_flow.js index ffbb09ce..8b403a4d 100644 --- a/samples/generated/v3beta1/flows.delete_flow.js +++ b/samples/generated/v3beta1/flows.delete_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/flows.export_flow.js b/samples/generated/v3beta1/flows.export_flow.js index be443116..062c943a 100644 --- a/samples/generated/v3beta1/flows.export_flow.js +++ b/samples/generated/v3beta1/flows.export_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/flows.get_flow.js b/samples/generated/v3beta1/flows.get_flow.js index a8213498..0545d47b 100644 --- a/samples/generated/v3beta1/flows.get_flow.js +++ b/samples/generated/v3beta1/flows.get_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/flows.get_flow_validation_result.js b/samples/generated/v3beta1/flows.get_flow_validation_result.js index 46687121..01f33597 100644 --- a/samples/generated/v3beta1/flows.get_flow_validation_result.js +++ b/samples/generated/v3beta1/flows.get_flow_validation_result.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/flows.import_flow.js b/samples/generated/v3beta1/flows.import_flow.js index 73b49b98..154ff786 100644 --- a/samples/generated/v3beta1/flows.import_flow.js +++ b/samples/generated/v3beta1/flows.import_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { diff --git a/samples/generated/v3beta1/flows.list_flows.js b/samples/generated/v3beta1/flows.list_flows.js index 50dc357a..d7881593 100644 --- a/samples/generated/v3beta1/flows.list_flows.js +++ b/samples/generated/v3beta1/flows.list_flows.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -63,7 +64,7 @@ function main(parent) { // Run request const iterable = await cxClient.listFlowsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/flows.train_flow.js b/samples/generated/v3beta1/flows.train_flow.js index 48606d67..45c99305 100644 --- a/samples/generated/v3beta1/flows.train_flow.js +++ b/samples/generated/v3beta1/flows.train_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/flows.update_flow.js b/samples/generated/v3beta1/flows.update_flow.js index 24242af7..fc80bf3f 100644 --- a/samples/generated/v3beta1/flows.update_flow.js +++ b/samples/generated/v3beta1/flows.update_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(flow) { diff --git a/samples/generated/v3beta1/flows.validate_flow.js b/samples/generated/v3beta1/flows.validate_flow.js index 9218f1a8..90843849 100644 --- a/samples/generated/v3beta1/flows.validate_flow.js +++ b/samples/generated/v3beta1/flows.validate_flow.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/intents.create_intent.js b/samples/generated/v3beta1/intents.create_intent.js index 1086978b..85ed5f55 100644 --- a/samples/generated/v3beta1/intents.create_intent.js +++ b/samples/generated/v3beta1/intents.create_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, intent) { diff --git a/samples/generated/v3beta1/intents.delete_intent.js b/samples/generated/v3beta1/intents.delete_intent.js index 357313a1..ffe993a2 100644 --- a/samples/generated/v3beta1/intents.delete_intent.js +++ b/samples/generated/v3beta1/intents.delete_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/intents.get_intent.js b/samples/generated/v3beta1/intents.get_intent.js index f0d00a27..ce9c90fc 100644 --- a/samples/generated/v3beta1/intents.get_intent.js +++ b/samples/generated/v3beta1/intents.get_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/intents.list_intents.js b/samples/generated/v3beta1/intents.list_intents.js index 3409d0a9..97568287 100644 --- a/samples/generated/v3beta1/intents.list_intents.js +++ b/samples/generated/v3beta1/intents.list_intents.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -64,7 +65,7 @@ function main(parent) { // Run request const iterable = await cxClient.listIntentsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/intents.update_intent.js b/samples/generated/v3beta1/intents.update_intent.js index 388c172a..2cbd608b 100644 --- a/samples/generated/v3beta1/intents.update_intent.js +++ b/samples/generated/v3beta1/intents.update_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(intent) { diff --git a/samples/generated/v3beta1/pages.create_page.js b/samples/generated/v3beta1/pages.create_page.js index 46f2030f..a0cf504e 100644 --- a/samples/generated/v3beta1/pages.create_page.js +++ b/samples/generated/v3beta1/pages.create_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, page) { diff --git a/samples/generated/v3beta1/pages.delete_page.js b/samples/generated/v3beta1/pages.delete_page.js index 90b14aef..8e529cba 100644 --- a/samples/generated/v3beta1/pages.delete_page.js +++ b/samples/generated/v3beta1/pages.delete_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/pages.get_page.js b/samples/generated/v3beta1/pages.get_page.js index 89671314..07bf4bd6 100644 --- a/samples/generated/v3beta1/pages.get_page.js +++ b/samples/generated/v3beta1/pages.get_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/pages.list_pages.js b/samples/generated/v3beta1/pages.list_pages.js index ce36bdb1..9a282baa 100644 --- a/samples/generated/v3beta1/pages.list_pages.js +++ b/samples/generated/v3beta1/pages.list_pages.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -72,7 +73,7 @@ function main(parent) { // Run request const iterable = await cxClient.listPagesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/pages.update_page.js b/samples/generated/v3beta1/pages.update_page.js index dd1ec78b..54097f48 100644 --- a/samples/generated/v3beta1/pages.update_page.js +++ b/samples/generated/v3beta1/pages.update_page.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(page) { diff --git a/samples/generated/v3beta1/security_settings_service.create_security_settings.js b/samples/generated/v3beta1/security_settings_service.create_security_settings.js index 8ceddcd7..fca23a09 100644 --- a/samples/generated/v3beta1/security_settings_service.create_security_settings.js +++ b/samples/generated/v3beta1/security_settings_service.create_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, securitySettings) { @@ -30,8 +31,7 @@ function main(parent, securitySettings) { // const securitySettings = {} // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3beta1/security_settings_service.delete_security_settings.js b/samples/generated/v3beta1/security_settings_service.delete_security_settings.js index f5c3159f..0a1ae1cc 100644 --- a/samples/generated/v3beta1/security_settings_service.delete_security_settings.js +++ b/samples/generated/v3beta1/security_settings_service.delete_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -27,8 +28,7 @@ function main(name) { // const name = 'abc123' // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3beta1/security_settings_service.get_security_settings.js b/samples/generated/v3beta1/security_settings_service.get_security_settings.js index a1279cb0..e4db27bf 100644 --- a/samples/generated/v3beta1/security_settings_service.get_security_settings.js +++ b/samples/generated/v3beta1/security_settings_service.get_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -27,8 +28,7 @@ function main(name) { // const name = 'abc123' // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3beta1/security_settings_service.list_security_settings.js b/samples/generated/v3beta1/security_settings_service.list_security_settings.js index f424a6fb..e7803e71 100644 --- a/samples/generated/v3beta1/security_settings_service.list_security_settings.js +++ b/samples/generated/v3beta1/security_settings_service.list_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -35,8 +36,7 @@ function main(parent) { // const pageToken = 'abc123' // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); @@ -50,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listSecuritySettingsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/security_settings_service.update_security_settings.js b/samples/generated/v3beta1/security_settings_service.update_security_settings.js index 7e0c3ef0..a4cd32da 100644 --- a/samples/generated/v3beta1/security_settings_service.update_security_settings.js +++ b/samples/generated/v3beta1/security_settings_service.update_security_settings.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(securitySettings, updateMask) { @@ -31,8 +32,7 @@ function main(securitySettings, updateMask) { // const updateMask = {} // Imports the Cx library - const {SecuritySettingsServiceClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SecuritySettingsServiceClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SecuritySettingsServiceClient(); diff --git a/samples/generated/v3beta1/session_entity_types.create_session_entity_type.js b/samples/generated/v3beta1/session_entity_types.create_session_entity_type.js index 40c0ba4f..42622536 100644 --- a/samples/generated/v3beta1/session_entity_types.create_session_entity_type.js +++ b/samples/generated/v3beta1/session_entity_types.create_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, sessionEntityType) { @@ -34,8 +35,7 @@ function main(parent, sessionEntityType) { // const sessionEntityType = {} // Imports the Cx library - const {SessionEntityTypesClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SessionEntityTypesClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SessionEntityTypesClient(); diff --git a/samples/generated/v3beta1/session_entity_types.delete_session_entity_type.js b/samples/generated/v3beta1/session_entity_types.delete_session_entity_type.js index fafafb1c..7f5377b1 100644 --- a/samples/generated/v3beta1/session_entity_types.delete_session_entity_type.js +++ b/samples/generated/v3beta1/session_entity_types.delete_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -31,8 +32,7 @@ function main(name) { // const name = 'abc123' // Imports the Cx library - const {SessionEntityTypesClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SessionEntityTypesClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SessionEntityTypesClient(); diff --git a/samples/generated/v3beta1/session_entity_types.get_session_entity_type.js b/samples/generated/v3beta1/session_entity_types.get_session_entity_type.js index 0da6783e..475aa519 100644 --- a/samples/generated/v3beta1/session_entity_types.get_session_entity_type.js +++ b/samples/generated/v3beta1/session_entity_types.get_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -31,8 +32,7 @@ function main(name) { // const name = 'abc123' // Imports the Cx library - const {SessionEntityTypesClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SessionEntityTypesClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SessionEntityTypesClient(); diff --git a/samples/generated/v3beta1/session_entity_types.list_session_entity_types.js b/samples/generated/v3beta1/session_entity_types.list_session_entity_types.js index 2118fb67..6039350c 100644 --- a/samples/generated/v3beta1/session_entity_types.list_session_entity_types.js +++ b/samples/generated/v3beta1/session_entity_types.list_session_entity_types.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -39,8 +40,7 @@ function main(parent) { // const pageToken = 'abc123' // Imports the Cx library - const {SessionEntityTypesClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SessionEntityTypesClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SessionEntityTypesClient(); @@ -54,7 +54,7 @@ function main(parent) { // Run request const iterable = await cxClient.listSessionEntityTypesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/session_entity_types.update_session_entity_type.js b/samples/generated/v3beta1/session_entity_types.update_session_entity_type.js index 7f503579..a7d51b88 100644 --- a/samples/generated/v3beta1/session_entity_types.update_session_entity_type.js +++ b/samples/generated/v3beta1/session_entity_types.update_session_entity_type.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(sessionEntityType) { @@ -35,8 +36,7 @@ function main(sessionEntityType) { // const updateMask = {} // Imports the Cx library - const {SessionEntityTypesClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {SessionEntityTypesClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new SessionEntityTypesClient(); diff --git a/samples/generated/v3beta1/sessions.detect_intent.js b/samples/generated/v3beta1/sessions.detect_intent.js index 161b3a30..a7d1ed5e 100644 --- a/samples/generated/v3beta1/sessions.detect_intent.js +++ b/samples/generated/v3beta1/sessions.detect_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(session, queryInput) { diff --git a/samples/generated/v3beta1/sessions.fulfill_intent.js b/samples/generated/v3beta1/sessions.fulfill_intent.js index b0a13b6a..82b9915f 100644 --- a/samples/generated/v3beta1/sessions.fulfill_intent.js +++ b/samples/generated/v3beta1/sessions.fulfill_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main() { @@ -41,7 +42,8 @@ function main() { async function callFulfillIntent() { // Construct request - const request = {}; + const request = { + }; // Run request const response = await cxClient.fulfillIntent(request); diff --git a/samples/generated/v3beta1/sessions.match_intent.js b/samples/generated/v3beta1/sessions.match_intent.js index a9cee80e..a122bfa6 100644 --- a/samples/generated/v3beta1/sessions.match_intent.js +++ b/samples/generated/v3beta1/sessions.match_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(session, queryInput) { diff --git a/samples/generated/v3beta1/sessions.streaming_detect_intent.js b/samples/generated/v3beta1/sessions.streaming_detect_intent.js index b3fac3d1..484e0224 100644 --- a/samples/generated/v3beta1/sessions.streaming_detect_intent.js +++ b/samples/generated/v3beta1/sessions.streaming_detect_intent.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(queryInput) { @@ -71,17 +72,11 @@ function main(queryInput) { // Run request const stream = await cxClient.streamingDetectIntent(); - stream.on('data', response => { - console.log(response); - }); - stream.on('error', err => { - throw err; - }); - stream.on('end', () => { - /* API call completed */ - }); + stream.on('data', (response) => { console.log(response) }); + stream.on('error', (err) => { throw(err) }); + stream.on('end', () => { /* API call completed */ }); stream.write(request); - stream.end(); + stream.end(); } callStreamingDetectIntent(); diff --git a/samples/generated/v3beta1/test_cases.batch_delete_test_cases.js b/samples/generated/v3beta1/test_cases.batch_delete_test_cases.js index ab653368..e28772a9 100644 --- a/samples/generated/v3beta1/test_cases.batch_delete_test_cases.js +++ b/samples/generated/v3beta1/test_cases.batch_delete_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, names) { diff --git a/samples/generated/v3beta1/test_cases.batch_run_test_cases.js b/samples/generated/v3beta1/test_cases.batch_run_test_cases.js index 42de37e6..5db57264 100644 --- a/samples/generated/v3beta1/test_cases.batch_run_test_cases.js +++ b/samples/generated/v3beta1/test_cases.batch_run_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, testCases) { diff --git a/samples/generated/v3beta1/test_cases.calculate_coverage.js b/samples/generated/v3beta1/test_cases.calculate_coverage.js index 0e4938a8..37ebc89b 100644 --- a/samples/generated/v3beta1/test_cases.calculate_coverage.js +++ b/samples/generated/v3beta1/test_cases.calculate_coverage.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(agent, type) { diff --git a/samples/generated/v3beta1/test_cases.create_test_case.js b/samples/generated/v3beta1/test_cases.create_test_case.js index 6466bd41..38fab1dc 100644 --- a/samples/generated/v3beta1/test_cases.create_test_case.js +++ b/samples/generated/v3beta1/test_cases.create_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, testCase) { diff --git a/samples/generated/v3beta1/test_cases.export_test_cases.js b/samples/generated/v3beta1/test_cases.export_test_cases.js index 2fbc9aae..5f770778 100644 --- a/samples/generated/v3beta1/test_cases.export_test_cases.js +++ b/samples/generated/v3beta1/test_cases.export_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { diff --git a/samples/generated/v3beta1/test_cases.get_test_case.js b/samples/generated/v3beta1/test_cases.get_test_case.js index 3e363ca9..c7b183ae 100644 --- a/samples/generated/v3beta1/test_cases.get_test_case.js +++ b/samples/generated/v3beta1/test_cases.get_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/test_cases.get_test_case_result.js b/samples/generated/v3beta1/test_cases.get_test_case_result.js index 46761cd8..18828ae2 100644 --- a/samples/generated/v3beta1/test_cases.get_test_case_result.js +++ b/samples/generated/v3beta1/test_cases.get_test_case_result.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/test_cases.import_test_cases.js b/samples/generated/v3beta1/test_cases.import_test_cases.js index a486fe64..f0e9e7b8 100644 --- a/samples/generated/v3beta1/test_cases.import_test_cases.js +++ b/samples/generated/v3beta1/test_cases.import_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { diff --git a/samples/generated/v3beta1/test_cases.list_test_case_results.js b/samples/generated/v3beta1/test_cases.list_test_case_results.js index aac1afc0..9cd266d0 100644 --- a/samples/generated/v3beta1/test_cases.list_test_case_results.js +++ b/samples/generated/v3beta1/test_cases.list_test_case_results.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -41,7 +42,7 @@ function main(parent) { * The expression is case insensitive. Only 'AND' is supported for logical * operators. The supported syntax is listed below in detail: * AND ... - * AND latest + * AND latest * The supported fields and operators are: * field operator * `environment` `=`, `IN` (Use value `draft` for draft environment) @@ -73,7 +74,7 @@ function main(parent) { // Run request const iterable = await cxClient.listTestCaseResultsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/test_cases.list_test_cases.js b/samples/generated/v3beta1/test_cases.list_test_cases.js index 2562771c..b82a654d 100644 --- a/samples/generated/v3beta1/test_cases.list_test_cases.js +++ b/samples/generated/v3beta1/test_cases.list_test_cases.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -54,7 +55,7 @@ function main(parent) { // Run request const iterable = await cxClient.listTestCasesAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/test_cases.run_test_case.js b/samples/generated/v3beta1/test_cases.run_test_case.js index 1b13f15a..4d7fd49d 100644 --- a/samples/generated/v3beta1/test_cases.run_test_case.js +++ b/samples/generated/v3beta1/test_cases.run_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/test_cases.update_test_case.js b/samples/generated/v3beta1/test_cases.update_test_case.js index f993d1be..9dd0fdf0 100644 --- a/samples/generated/v3beta1/test_cases.update_test_case.js +++ b/samples/generated/v3beta1/test_cases.update_test_case.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(testCase, updateMask) { diff --git a/samples/generated/v3beta1/transition_route_groups.create_transition_route_group.js b/samples/generated/v3beta1/transition_route_groups.create_transition_route_group.js index 31075b1b..b3a005a9 100644 --- a/samples/generated/v3beta1/transition_route_groups.create_transition_route_group.js +++ b/samples/generated/v3beta1/transition_route_groups.create_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, transitionRouteGroup) { @@ -43,8 +44,7 @@ function main(parent, transitionRouteGroup) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3beta1/transition_route_groups.delete_transition_route_group.js b/samples/generated/v3beta1/transition_route_groups.delete_transition_route_group.js index 7f4b4e85..d1948eaf 100644 --- a/samples/generated/v3beta1/transition_route_groups.delete_transition_route_group.js +++ b/samples/generated/v3beta1/transition_route_groups.delete_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -36,8 +37,7 @@ function main(name) { // const force = true // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3beta1/transition_route_groups.get_transition_route_group.js b/samples/generated/v3beta1/transition_route_groups.get_transition_route_group.js index 991e9e32..5580bc88 100644 --- a/samples/generated/v3beta1/transition_route_groups.get_transition_route_group.js +++ b/samples/generated/v3beta1/transition_route_groups.get_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -40,8 +41,7 @@ function main(name) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3beta1/transition_route_groups.list_transition_route_groups.js b/samples/generated/v3beta1/transition_route_groups.list_transition_route_groups.js index bdc76191..d2ee259f 100644 --- a/samples/generated/v3beta1/transition_route_groups.list_transition_route_groups.js +++ b/samples/generated/v3beta1/transition_route_groups.list_transition_route_groups.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,8 +50,7 @@ function main(parent) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); @@ -64,7 +64,7 @@ function main(parent) { // Run request const iterable = await cxClient.listTransitionRouteGroupsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/transition_route_groups.update_transition_route_group.js b/samples/generated/v3beta1/transition_route_groups.update_transition_route_group.js index 2fe65674..f0313ef0 100644 --- a/samples/generated/v3beta1/transition_route_groups.update_transition_route_group.js +++ b/samples/generated/v3beta1/transition_route_groups.update_transition_route_group.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(transitionRouteGroup) { @@ -41,8 +42,7 @@ function main(transitionRouteGroup) { // const languageCode = 'abc123' // Imports the Cx library - const {TransitionRouteGroupsClient} = - require('@google-cloud/dialogflow-cx').v3beta1; + const {TransitionRouteGroupsClient} = require('@google-cloud/dialogflow-cx').v3beta1; // Instantiates a client const cxClient = new TransitionRouteGroupsClient(); diff --git a/samples/generated/v3beta1/versions.compare_versions.js b/samples/generated/v3beta1/versions.compare_versions.js index d6e78492..8b0cf22a 100644 --- a/samples/generated/v3beta1/versions.compare_versions.js +++ b/samples/generated/v3beta1/versions.compare_versions.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(baseVersion, targetVersion) { diff --git a/samples/generated/v3beta1/versions.create_version.js b/samples/generated/v3beta1/versions.create_version.js index bb1786da..9c2feb56 100644 --- a/samples/generated/v3beta1/versions.create_version.js +++ b/samples/generated/v3beta1/versions.create_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, version) { diff --git a/samples/generated/v3beta1/versions.delete_version.js b/samples/generated/v3beta1/versions.delete_version.js index 8edeb267..1cdccf1e 100644 --- a/samples/generated/v3beta1/versions.delete_version.js +++ b/samples/generated/v3beta1/versions.delete_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/versions.get_version.js b/samples/generated/v3beta1/versions.get_version.js index e57e3228..a74c1e6e 100644 --- a/samples/generated/v3beta1/versions.get_version.js +++ b/samples/generated/v3beta1/versions.get_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/versions.list_versions.js b/samples/generated/v3beta1/versions.list_versions.js index 2ae5737e..483f2828 100644 --- a/samples/generated/v3beta1/versions.list_versions.js +++ b/samples/generated/v3beta1/versions.list_versions.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -50,7 +51,7 @@ function main(parent) { // Run request const iterable = await cxClient.listVersionsAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/versions.load_version.js b/samples/generated/v3beta1/versions.load_version.js index 9a0a5b9b..1454bdea 100644 --- a/samples/generated/v3beta1/versions.load_version.js +++ b/samples/generated/v3beta1/versions.load_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/versions.update_version.js b/samples/generated/v3beta1/versions.update_version.js index 9958c5fc..ce3865eb 100644 --- a/samples/generated/v3beta1/versions.update_version.js +++ b/samples/generated/v3beta1/versions.update_version.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(version, updateMask) { diff --git a/samples/generated/v3beta1/webhooks.create_webhook.js b/samples/generated/v3beta1/webhooks.create_webhook.js index b88fd089..fb79d885 100644 --- a/samples/generated/v3beta1/webhooks.create_webhook.js +++ b/samples/generated/v3beta1/webhooks.create_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent, webhook) { diff --git a/samples/generated/v3beta1/webhooks.delete_webhook.js b/samples/generated/v3beta1/webhooks.delete_webhook.js index b9b77961..3aebc231 100644 --- a/samples/generated/v3beta1/webhooks.delete_webhook.js +++ b/samples/generated/v3beta1/webhooks.delete_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { @@ -31,7 +32,7 @@ function main(name) { * * If `force` is set to false, an error will be returned with message * indicating the referenced resources. * * If `force` is set to true, Dialogflow will remove the webhook, as well - * as any references to the webhook (i.e. Webhook google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook + * as any references to the webhook (i.e. Webhook google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook * and tag google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag in fulfillments that point to this webhook * will be removed). */ diff --git a/samples/generated/v3beta1/webhooks.get_webhook.js b/samples/generated/v3beta1/webhooks.get_webhook.js index 090e44d3..7851eff6 100644 --- a/samples/generated/v3beta1/webhooks.get_webhook.js +++ b/samples/generated/v3beta1/webhooks.get_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(name) { diff --git a/samples/generated/v3beta1/webhooks.list_webhooks.js b/samples/generated/v3beta1/webhooks.list_webhooks.js index f3ec9e24..a008fdc7 100644 --- a/samples/generated/v3beta1/webhooks.list_webhooks.js +++ b/samples/generated/v3beta1/webhooks.list_webhooks.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(parent) { @@ -49,7 +50,7 @@ function main(parent) { // Run request const iterable = await cxClient.listWebhooksAsync(request); for await (const response of iterable) { - console.log(response); + console.log(response); } } diff --git a/samples/generated/v3beta1/webhooks.update_webhook.js b/samples/generated/v3beta1/webhooks.update_webhook.js index d7190700..bf89cb41 100644 --- a/samples/generated/v3beta1/webhooks.update_webhook.js +++ b/samples/generated/v3beta1/webhooks.update_webhook.js @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. + 'use strict'; function main(webhook) {