From 81936f2b94c13a4e4a302cf4e7ce228fb04cac2e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 22 Jun 2021 20:20:25 +0000 Subject: [PATCH] fix: make request optional in all cases (#139) ... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0 Committer: @miraleung PiperOrigin-RevId: 380641501 Source-Link: https://github.com/googleapis/googleapis/commit/076f7e9f0b258bdb54338895d7251b202e8f0de3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892 --- .../src/v3/agents_client.ts | 36 +++++++------- .../src/v3/entity_types_client.ts | 20 ++++---- .../src/v3/environments_client.ts | 32 ++++++------- .../src/v3/experiments_client.ts | 28 +++++------ .../src/v3/flows_client.ts | 40 ++++++++-------- .../src/v3/intents_client.ts | 20 ++++---- .../src/v3/pages_client.ts | 20 ++++---- .../v3/security_settings_service_client.ts | 20 ++++---- .../src/v3/session_entity_types_client.ts | 20 ++++---- .../src/v3/sessions_client.ts | 12 ++--- .../src/v3/test_cases_client.ts | 48 +++++++++---------- .../src/v3/transition_route_groups_client.ts | 20 ++++---- .../src/v3/versions_client.ts | 24 +++++----- .../src/v3/webhooks_client.ts | 20 ++++---- .../src/v3beta1/agents_client.ts | 36 +++++++------- .../src/v3beta1/entity_types_client.ts | 20 ++++---- .../src/v3beta1/environments_client.ts | 32 ++++++------- .../src/v3beta1/experiments_client.ts | 28 +++++------ .../src/v3beta1/flows_client.ts | 40 ++++++++-------- .../src/v3beta1/intents_client.ts | 20 ++++---- .../src/v3beta1/pages_client.ts | 20 ++++---- .../security_settings_service_client.ts | 20 ++++---- .../v3beta1/session_entity_types_client.ts | 20 ++++---- .../src/v3beta1/sessions_client.ts | 12 ++--- .../src/v3beta1/test_cases_client.ts | 48 +++++++++---------- .../v3beta1/transition_route_groups_client.ts | 20 ++++---- .../src/v3beta1/versions_client.ts | 24 +++++----- .../src/v3beta1/webhooks_client.ts | 20 ++++---- 28 files changed, 360 insertions(+), 360 deletions(-) diff --git a/packages/google-cloud-dialogflow-cx/src/v3/agents_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/agents_client.ts index c0dce0cdcea..e7068c332df 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/agents_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/agents_client.ts @@ -412,7 +412,7 @@ export class AgentsClient { // -- Service calls -- // ------------------- getAgent( - request: protos.google.cloud.dialogflow.cx.v3.IGetAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetAgentRequest, options?: CallOptions ): Promise< [ @@ -457,7 +457,7 @@ export class AgentsClient { * const [response] = await client.getAgent(request); */ getAgent( - request: protos.google.cloud.dialogflow.cx.v3.IGetAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -498,7 +498,7 @@ export class AgentsClient { return this.innerApiCalls.getAgent(request, options, callback); } createAgent( - request: protos.google.cloud.dialogflow.cx.v3.ICreateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateAgentRequest, options?: CallOptions ): Promise< [ @@ -549,7 +549,7 @@ export class AgentsClient { * const [response] = await client.createAgent(request); */ createAgent( - request: protos.google.cloud.dialogflow.cx.v3.ICreateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -592,7 +592,7 @@ export class AgentsClient { return this.innerApiCalls.createAgent(request, options, callback); } updateAgent( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateAgentRequest, options?: CallOptions ): Promise< [ @@ -643,7 +643,7 @@ export class AgentsClient { * const [response] = await client.updateAgent(request); */ updateAgent( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -686,7 +686,7 @@ export class AgentsClient { return this.innerApiCalls.updateAgent(request, options, callback); } deleteAgent( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteAgentRequest, options?: CallOptions ): Promise< [ @@ -735,7 +735,7 @@ export class AgentsClient { * const [response] = await client.deleteAgent(request); */ deleteAgent( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -778,7 +778,7 @@ export class AgentsClient { return this.innerApiCalls.deleteAgent(request, options, callback); } validateAgent( - request: protos.google.cloud.dialogflow.cx.v3.IValidateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IValidateAgentRequest, options?: CallOptions ): Promise< [ @@ -831,7 +831,7 @@ export class AgentsClient { * const [response] = await client.validateAgent(request); */ validateAgent( - request: protos.google.cloud.dialogflow.cx.v3.IValidateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IValidateAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -874,7 +874,7 @@ export class AgentsClient { return this.innerApiCalls.validateAgent(request, options, callback); } getAgentValidationResult( - request: protos.google.cloud.dialogflow.cx.v3.IGetAgentValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetAgentValidationResultRequest, options?: CallOptions ): Promise< [ @@ -930,7 +930,7 @@ export class AgentsClient { * const [response] = await client.getAgentValidationResult(request); */ getAgentValidationResult( - request: protos.google.cloud.dialogflow.cx.v3.IGetAgentValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetAgentValidationResultRequest, optionsOrCallback?: | CallOptions | Callback< @@ -981,7 +981,7 @@ export class AgentsClient { } exportAgent( - request: protos.google.cloud.dialogflow.cx.v3.IExportAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IExportAgentRequest, options?: CallOptions ): Promise< [ @@ -1047,7 +1047,7 @@ export class AgentsClient { * const [response] = await operation.promise(); */ exportAgent( - request: protos.google.cloud.dialogflow.cx.v3.IExportAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IExportAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1132,7 +1132,7 @@ export class AgentsClient { >; } restoreAgent( - request: protos.google.cloud.dialogflow.cx.v3.IRestoreAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IRestoreAgentRequest, options?: CallOptions ): Promise< [ @@ -1200,7 +1200,7 @@ export class AgentsClient { * const [response] = await operation.promise(); */ restoreAgent( - request: protos.google.cloud.dialogflow.cx.v3.IRestoreAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IRestoreAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1282,7 +1282,7 @@ export class AgentsClient { >; } listAgents( - request: protos.google.cloud.dialogflow.cx.v3.IListAgentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListAgentsRequest, options?: CallOptions ): Promise< [ @@ -1339,7 +1339,7 @@ export class AgentsClient { * for more details and examples. */ listAgents( - request: protos.google.cloud.dialogflow.cx.v3.IListAgentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListAgentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/entity_types_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/entity_types_client.ts index 910c0fa7b3e..cafd8eee5dd 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/entity_types_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/entity_types_client.ts @@ -365,7 +365,7 @@ export class EntityTypesClient { // -- Service calls -- // ------------------- getEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IGetEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -428,7 +428,7 @@ export class EntityTypesClient { * const [response] = await client.getEntityType(request); */ getEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IGetEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -471,7 +471,7 @@ export class EntityTypesClient { return this.innerApiCalls.getEntityType(request, options, callback); } createEntityType( - request: protos.google.cloud.dialogflow.cx.v3.ICreateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -534,7 +534,7 @@ export class EntityTypesClient { * const [response] = await client.createEntityType(request); */ createEntityType( - request: protos.google.cloud.dialogflow.cx.v3.ICreateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -577,7 +577,7 @@ export class EntityTypesClient { return this.innerApiCalls.createEntityType(request, options, callback); } updateEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -639,7 +639,7 @@ export class EntityTypesClient { * const [response] = await client.updateEntityType(request); */ updateEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -682,7 +682,7 @@ export class EntityTypesClient { return this.innerApiCalls.updateEntityType(request, options, callback); } deleteEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -743,7 +743,7 @@ export class EntityTypesClient { * const [response] = await client.deleteEntityType(request); */ deleteEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -787,7 +787,7 @@ export class EntityTypesClient { } listEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3.IListEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListEntityTypesRequest, options?: CallOptions ): Promise< [ @@ -857,7 +857,7 @@ export class EntityTypesClient { * for more details and examples. */ listEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3.IListEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListEntityTypesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/environments_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/environments_client.ts index c7b3d958a8f..74688f1f979 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/environments_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/environments_client.ts @@ -432,7 +432,7 @@ export class EnvironmentsClient { // -- Service calls -- // ------------------- getEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -482,7 +482,7 @@ export class EnvironmentsClient { * const [response] = await client.getEnvironment(request); */ getEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -525,7 +525,7 @@ export class EnvironmentsClient { return this.innerApiCalls.getEnvironment(request, options, callback); } deleteEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -578,7 +578,7 @@ export class EnvironmentsClient { * const [response] = await client.deleteEnvironment(request); */ deleteEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -625,7 +625,7 @@ export class EnvironmentsClient { } createEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -684,7 +684,7 @@ export class EnvironmentsClient { * const [response] = await operation.promise(); */ createEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -769,7 +769,7 @@ export class EnvironmentsClient { >; } updateEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -827,7 +827,7 @@ export class EnvironmentsClient { * const [response] = await operation.promise(); */ updateEnvironment( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -912,7 +912,7 @@ export class EnvironmentsClient { >; } runContinuousTest( - request: protos.google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest, options?: CallOptions ): Promise< [ @@ -969,7 +969,7 @@ export class EnvironmentsClient { * const [response] = await operation.promise(); */ runContinuousTest( - request: protos.google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1054,7 +1054,7 @@ export class EnvironmentsClient { >; } listEnvironments( - request: protos.google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest, options?: CallOptions ): Promise< [ @@ -1111,7 +1111,7 @@ export class EnvironmentsClient { * for more details and examples. */ listEnvironments( - request: protos.google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1251,7 +1251,7 @@ export class EnvironmentsClient { ) as AsyncIterable; } lookupEnvironmentHistory( - request: protos.google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest, options?: CallOptions ): Promise< [ @@ -1309,7 +1309,7 @@ export class EnvironmentsClient { * for more details and examples. */ lookupEnvironmentHistory( - request: protos.google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1455,7 +1455,7 @@ export class EnvironmentsClient { ) as AsyncIterable; } listContinuousTestResults( - request: protos.google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest, options?: CallOptions ): Promise< [ @@ -1513,7 +1513,7 @@ export class EnvironmentsClient { * for more details and examples. */ listContinuousTestResults( - request: protos.google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/experiments_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/experiments_client.ts index 775f4ec93f9..d71ee167fe0 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/experiments_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/experiments_client.ts @@ -367,7 +367,7 @@ export class ExperimentsClient { // -- Service calls -- // ------------------- getExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IGetExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetExperimentRequest, options?: CallOptions ): Promise< [ @@ -417,7 +417,7 @@ export class ExperimentsClient { * const [response] = await client.getExperiment(request); */ getExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IGetExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -460,7 +460,7 @@ export class ExperimentsClient { return this.innerApiCalls.getExperiment(request, options, callback); } createExperiment( - request: protos.google.cloud.dialogflow.cx.v3.ICreateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateExperimentRequest, options?: CallOptions ): Promise< [ @@ -512,7 +512,7 @@ export class ExperimentsClient { * const [response] = await client.createExperiment(request); */ createExperiment( - request: protos.google.cloud.dialogflow.cx.v3.ICreateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -555,7 +555,7 @@ export class ExperimentsClient { return this.innerApiCalls.createExperiment(request, options, callback); } updateExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateExperimentRequest, options?: CallOptions ): Promise< [ @@ -605,7 +605,7 @@ export class ExperimentsClient { * const [response] = await client.updateExperiment(request); */ updateExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -648,7 +648,7 @@ export class ExperimentsClient { return this.innerApiCalls.updateExperiment(request, options, callback); } deleteExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest, options?: CallOptions ): Promise< [ @@ -698,7 +698,7 @@ export class ExperimentsClient { * const [response] = await client.deleteExperiment(request); */ deleteExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -741,7 +741,7 @@ export class ExperimentsClient { return this.innerApiCalls.deleteExperiment(request, options, callback); } startExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IStartExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IStartExperimentRequest, options?: CallOptions ): Promise< [ @@ -792,7 +792,7 @@ export class ExperimentsClient { * const [response] = await client.startExperiment(request); */ startExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IStartExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IStartExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -835,7 +835,7 @@ export class ExperimentsClient { return this.innerApiCalls.startExperiment(request, options, callback); } stopExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IStopExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IStopExperimentRequest, options?: CallOptions ): Promise< [ @@ -886,7 +886,7 @@ export class ExperimentsClient { * const [response] = await client.stopExperiment(request); */ stopExperiment( - request: protos.google.cloud.dialogflow.cx.v3.IStopExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IStopExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -930,7 +930,7 @@ export class ExperimentsClient { } listExperiments( - request: protos.google.cloud.dialogflow.cx.v3.IListExperimentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListExperimentsRequest, options?: CallOptions ): Promise< [ @@ -988,7 +988,7 @@ export class ExperimentsClient { * for more details and examples. */ listExperiments( - request: protos.google.cloud.dialogflow.cx.v3.IListExperimentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListExperimentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/flows_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/flows_client.ts index 7650d9ed7df..d1438e85a82 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/flows_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/flows_client.ts @@ -424,7 +424,7 @@ export class FlowsClient { // -- Service calls -- // ------------------- createFlow( - request: protos.google.cloud.dialogflow.cx.v3.ICreateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateFlowRequest, options?: CallOptions ): Promise< [ @@ -488,7 +488,7 @@ export class FlowsClient { * const [response] = await client.createFlow(request); */ createFlow( - request: protos.google.cloud.dialogflow.cx.v3.ICreateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -531,7 +531,7 @@ export class FlowsClient { return this.innerApiCalls.createFlow(request, options, callback); } deleteFlow( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteFlowRequest, options?: CallOptions ): Promise< [ @@ -592,7 +592,7 @@ export class FlowsClient { * const [response] = await client.deleteFlow(request); */ deleteFlow( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -635,7 +635,7 @@ export class FlowsClient { return this.innerApiCalls.deleteFlow(request, options, callback); } getFlow( - request: protos.google.cloud.dialogflow.cx.v3.IGetFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetFlowRequest, options?: CallOptions ): Promise< [ @@ -695,7 +695,7 @@ export class FlowsClient { * const [response] = await client.getFlow(request); */ getFlow( - request: protos.google.cloud.dialogflow.cx.v3.IGetFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -736,7 +736,7 @@ export class FlowsClient { return this.innerApiCalls.getFlow(request, options, callback); } updateFlow( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateFlowRequest, options?: CallOptions ): Promise< [ @@ -800,7 +800,7 @@ export class FlowsClient { * const [response] = await client.updateFlow(request); */ updateFlow( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -843,7 +843,7 @@ export class FlowsClient { return this.innerApiCalls.updateFlow(request, options, callback); } validateFlow( - request: protos.google.cloud.dialogflow.cx.v3.IValidateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IValidateFlowRequest, options?: CallOptions ): Promise< [ @@ -897,7 +897,7 @@ export class FlowsClient { * const [response] = await client.validateFlow(request); */ validateFlow( - request: protos.google.cloud.dialogflow.cx.v3.IValidateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IValidateFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -940,7 +940,7 @@ export class FlowsClient { return this.innerApiCalls.validateFlow(request, options, callback); } getFlowValidationResult( - request: protos.google.cloud.dialogflow.cx.v3.IGetFlowValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetFlowValidationResultRequest, options?: CallOptions ): Promise< [ @@ -996,7 +996,7 @@ export class FlowsClient { * const [response] = await client.getFlowValidationResult(request); */ getFlowValidationResult( - request: protos.google.cloud.dialogflow.cx.v3.IGetFlowValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetFlowValidationResultRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1047,7 +1047,7 @@ export class FlowsClient { } trainFlow( - request: protos.google.cloud.dialogflow.cx.v3.ITrainFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ITrainFlowRequest, options?: CallOptions ): Promise< [ @@ -1106,7 +1106,7 @@ export class FlowsClient { * const [response] = await operation.promise(); */ trainFlow( - request: protos.google.cloud.dialogflow.cx.v3.ITrainFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ITrainFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1188,7 +1188,7 @@ export class FlowsClient { >; } importFlow( - request: protos.google.cloud.dialogflow.cx.v3.IImportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IImportFlowRequest, options?: CallOptions ): Promise< [ @@ -1253,7 +1253,7 @@ export class FlowsClient { * const [response] = await operation.promise(); */ importFlow( - request: protos.google.cloud.dialogflow.cx.v3.IImportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IImportFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1338,7 +1338,7 @@ export class FlowsClient { >; } exportFlow( - request: protos.google.cloud.dialogflow.cx.v3.IExportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IExportFlowRequest, options?: CallOptions ): Promise< [ @@ -1406,7 +1406,7 @@ export class FlowsClient { * const [response] = await operation.promise(); */ exportFlow( - request: protos.google.cloud.dialogflow.cx.v3.IExportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IExportFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1491,7 +1491,7 @@ export class FlowsClient { >; } listFlows( - request: protos.google.cloud.dialogflow.cx.v3.IListFlowsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListFlowsRequest, options?: CallOptions ): Promise< [ @@ -1562,7 +1562,7 @@ export class FlowsClient { * for more details and examples. */ listFlows( - request: protos.google.cloud.dialogflow.cx.v3.IListFlowsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListFlowsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/intents_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/intents_client.ts index 7ee94d8be57..0dbd049db1b 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/intents_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/intents_client.ts @@ -365,7 +365,7 @@ export class IntentsClient { // -- Service calls -- // ------------------- getIntent( - request: protos.google.cloud.dialogflow.cx.v3.IGetIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetIntentRequest, options?: CallOptions ): Promise< [ @@ -422,7 +422,7 @@ export class IntentsClient { * const [response] = await client.getIntent(request); */ getIntent( - request: protos.google.cloud.dialogflow.cx.v3.IGetIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -463,7 +463,7 @@ export class IntentsClient { return this.innerApiCalls.getIntent(request, options, callback); } createIntent( - request: protos.google.cloud.dialogflow.cx.v3.ICreateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateIntentRequest, options?: CallOptions ): Promise< [ @@ -524,7 +524,7 @@ export class IntentsClient { * const [response] = await client.createIntent(request); */ createIntent( - request: protos.google.cloud.dialogflow.cx.v3.ICreateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -567,7 +567,7 @@ export class IntentsClient { return this.innerApiCalls.createIntent(request, options, callback); } updateIntent( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateIntentRequest, options?: CallOptions ): Promise< [ @@ -628,7 +628,7 @@ export class IntentsClient { * const [response] = await client.updateIntent(request); */ updateIntent( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -671,7 +671,7 @@ export class IntentsClient { return this.innerApiCalls.updateIntent(request, options, callback); } deleteIntent( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteIntentRequest, options?: CallOptions ): Promise< [ @@ -721,7 +721,7 @@ export class IntentsClient { * const [response] = await client.deleteIntent(request); */ deleteIntent( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -765,7 +765,7 @@ export class IntentsClient { } listIntents( - request: protos.google.cloud.dialogflow.cx.v3.IListIntentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListIntentsRequest, options?: CallOptions ): Promise< [ @@ -835,7 +835,7 @@ export class IntentsClient { * for more details and examples. */ listIntents( - request: protos.google.cloud.dialogflow.cx.v3.IListIntentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListIntentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/pages_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/pages_client.ts index 33fcf224d71..612ad16360a 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/pages_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/pages_client.ts @@ -365,7 +365,7 @@ export class PagesClient { // -- Service calls -- // ------------------- getPage( - request: protos.google.cloud.dialogflow.cx.v3.IGetPageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetPageRequest, options?: CallOptions ): Promise< [ @@ -433,7 +433,7 @@ export class PagesClient { * const [response] = await client.getPage(request); */ getPage( - request: protos.google.cloud.dialogflow.cx.v3.IGetPageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetPageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -474,7 +474,7 @@ export class PagesClient { return this.innerApiCalls.getPage(request, options, callback); } createPage( - request: protos.google.cloud.dialogflow.cx.v3.ICreatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreatePageRequest, options?: CallOptions ): Promise< [ @@ -547,7 +547,7 @@ export class PagesClient { * const [response] = await client.createPage(request); */ createPage( - request: protos.google.cloud.dialogflow.cx.v3.ICreatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreatePageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -590,7 +590,7 @@ export class PagesClient { return this.innerApiCalls.createPage(request, options, callback); } updatePage( - request: protos.google.cloud.dialogflow.cx.v3.IUpdatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdatePageRequest, options?: CallOptions ): Promise< [ @@ -662,7 +662,7 @@ export class PagesClient { * const [response] = await client.updatePage(request); */ updatePage( - request: protos.google.cloud.dialogflow.cx.v3.IUpdatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdatePageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -705,7 +705,7 @@ export class PagesClient { return this.innerApiCalls.updatePage(request, options, callback); } deletePage( - request: protos.google.cloud.dialogflow.cx.v3.IDeletePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeletePageRequest, options?: CallOptions ): Promise< [ @@ -766,7 +766,7 @@ export class PagesClient { * const [response] = await client.deletePage(request); */ deletePage( - request: protos.google.cloud.dialogflow.cx.v3.IDeletePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeletePageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -810,7 +810,7 @@ export class PagesClient { } listPages( - request: protos.google.cloud.dialogflow.cx.v3.IListPagesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListPagesRequest, options?: CallOptions ): Promise< [ @@ -890,7 +890,7 @@ export class PagesClient { * for more details and examples. */ listPages( - request: protos.google.cloud.dialogflow.cx.v3.IListPagesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListPagesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/security_settings_service_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/security_settings_service_client.ts index 47d72bb56b3..ee3cc4c929d 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/security_settings_service_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/security_settings_service_client.ts @@ -367,7 +367,7 @@ export class SecuritySettingsServiceClient { // -- Service calls -- // ------------------- createSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.ICreateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -421,7 +421,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.createSecuritySettings(request); */ createSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.ICreateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -471,7 +471,7 @@ export class SecuritySettingsServiceClient { ); } getSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IGetSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -525,7 +525,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.getSecuritySettings(request); */ getSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IGetSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -571,7 +571,7 @@ export class SecuritySettingsServiceClient { return this.innerApiCalls.getSecuritySettings(request, options, callback); } updateSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -626,7 +626,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.updateSecuritySettings(request); */ updateSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -676,7 +676,7 @@ export class SecuritySettingsServiceClient { ); } deleteSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -729,7 +729,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.deleteSecuritySettings(request); */ deleteSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -780,7 +780,7 @@ export class SecuritySettingsServiceClient { } listSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IListSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -837,7 +837,7 @@ export class SecuritySettingsServiceClient { * for more details and examples. */ listSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3.IListSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListSecuritySettingsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/session_entity_types_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/session_entity_types_client.ts index 133a57fff49..0a64fe6cf93 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/session_entity_types_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/session_entity_types_client.ts @@ -369,7 +369,7 @@ export class SessionEntityTypesClient { // -- Service calls -- // ------------------- getSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IGetSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -426,7 +426,7 @@ export class SessionEntityTypesClient { * const [response] = await client.getSessionEntityType(request); */ getSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IGetSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -472,7 +472,7 @@ export class SessionEntityTypesClient { return this.innerApiCalls.getSessionEntityType(request, options, callback); } createSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.ICreateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -530,7 +530,7 @@ export class SessionEntityTypesClient { * const [response] = await client.createSessionEntityType(request); */ createSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.ICreateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -580,7 +580,7 @@ export class SessionEntityTypesClient { ); } updateSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -639,7 +639,7 @@ export class SessionEntityTypesClient { * const [response] = await client.updateSessionEntityType(request); */ updateSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -689,7 +689,7 @@ export class SessionEntityTypesClient { ); } deleteSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -746,7 +746,7 @@ export class SessionEntityTypesClient { * const [response] = await client.deleteSessionEntityType(request); */ deleteSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -797,7 +797,7 @@ export class SessionEntityTypesClient { } listSessionEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3.IListSessionEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListSessionEntityTypesRequest, options?: CallOptions ): Promise< [ @@ -858,7 +858,7 @@ export class SessionEntityTypesClient { * for more details and examples. */ listSessionEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3.IListSessionEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListSessionEntityTypesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/sessions_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/sessions_client.ts index cb54a6c5182..151f13a59ab 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/sessions_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/sessions_client.ts @@ -355,7 +355,7 @@ export class SessionsClient { // -- Service calls -- // ------------------- detectIntent( - request: protos.google.cloud.dialogflow.cx.v3.IDetectIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDetectIntentRequest, options?: CallOptions ): Promise< [ @@ -431,7 +431,7 @@ export class SessionsClient { * const [response] = await client.detectIntent(request); */ detectIntent( - request: protos.google.cloud.dialogflow.cx.v3.IDetectIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDetectIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -474,7 +474,7 @@ export class SessionsClient { return this.innerApiCalls.detectIntent(request, options, callback); } matchIntent( - request: protos.google.cloud.dialogflow.cx.v3.IMatchIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IMatchIntentRequest, options?: CallOptions ): Promise< [ @@ -538,7 +538,7 @@ export class SessionsClient { * const [response] = await client.matchIntent(request); */ matchIntent( - request: protos.google.cloud.dialogflow.cx.v3.IMatchIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IMatchIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -581,7 +581,7 @@ export class SessionsClient { return this.innerApiCalls.matchIntent(request, options, callback); } fulfillIntent( - request: protos.google.cloud.dialogflow.cx.v3.IFulfillIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IFulfillIntentRequest, options?: CallOptions ): Promise< [ @@ -636,7 +636,7 @@ export class SessionsClient { * const [response] = await client.fulfillIntent(request); */ fulfillIntent( - request: protos.google.cloud.dialogflow.cx.v3.IFulfillIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IFulfillIntentRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/test_cases_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/test_cases_client.ts index 7a393f340b0..239a4768aa4 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/test_cases_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/test_cases_client.ts @@ -443,7 +443,7 @@ export class TestCasesClient { // -- Service calls -- // ------------------- batchDeleteTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest, options?: CallOptions ): Promise< [ @@ -498,7 +498,7 @@ export class TestCasesClient { * const [response] = await client.batchDeleteTestCases(request); */ batchDeleteTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -544,7 +544,7 @@ export class TestCasesClient { return this.innerApiCalls.batchDeleteTestCases(request, options, callback); } getTestCase( - request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest, options?: CallOptions ): Promise< [ @@ -594,7 +594,7 @@ export class TestCasesClient { * const [response] = await client.getTestCase(request); */ getTestCase( - request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -637,7 +637,7 @@ export class TestCasesClient { return this.innerApiCalls.getTestCase(request, options, callback); } createTestCase( - request: protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest, options?: CallOptions ): Promise< [ @@ -688,7 +688,7 @@ export class TestCasesClient { * const [response] = await client.createTestCase(request); */ createTestCase( - request: protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -731,7 +731,7 @@ export class TestCasesClient { return this.innerApiCalls.createTestCase(request, options, callback); } updateTestCase( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest, options?: CallOptions ): Promise< [ @@ -783,7 +783,7 @@ export class TestCasesClient { * const [response] = await client.updateTestCase(request); */ updateTestCase( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -826,7 +826,7 @@ export class TestCasesClient { return this.innerApiCalls.updateTestCase(request, options, callback); } calculateCoverage( - request: protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest, options?: CallOptions ): Promise< [ @@ -880,7 +880,7 @@ export class TestCasesClient { * const [response] = await client.calculateCoverage(request); */ calculateCoverage( - request: protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -926,7 +926,7 @@ export class TestCasesClient { return this.innerApiCalls.calculateCoverage(request, options, callback); } getTestCaseResult( - request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest, options?: CallOptions ): Promise< [ @@ -979,7 +979,7 @@ export class TestCasesClient { * const [response] = await client.getTestCaseResult(request); */ getTestCaseResult( - request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1026,7 +1026,7 @@ export class TestCasesClient { } runTestCase( - request: protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest, options?: CallOptions ): Promise< [ @@ -1087,7 +1087,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ runTestCase( - request: protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1172,7 +1172,7 @@ export class TestCasesClient { >; } batchRunTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1236,7 +1236,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ batchRunTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1321,7 +1321,7 @@ export class TestCasesClient { >; } importTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1386,7 +1386,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ importTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1471,7 +1471,7 @@ export class TestCasesClient { >; } exportTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1548,7 +1548,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ exportTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1633,7 +1633,7 @@ export class TestCasesClient { >; } listTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1693,7 +1693,7 @@ export class TestCasesClient { * for more details and examples. */ listTestCases( - request: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1839,7 +1839,7 @@ export class TestCasesClient { ) as AsyncIterable; } listTestCaseResults( - request: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, options?: CallOptions ): Promise< [ @@ -1923,7 +1923,7 @@ export class TestCasesClient { * for more details and examples. */ listTestCaseResults( - request: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/transition_route_groups_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/transition_route_groups_client.ts index 12142c04c86..98208e4261a 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/transition_route_groups_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/transition_route_groups_client.ts @@ -367,7 +367,7 @@ export class TransitionRouteGroupsClient { // -- Service calls -- // ------------------- getTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -433,7 +433,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.getTransitionRouteGroup(request); */ getTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -483,7 +483,7 @@ export class TransitionRouteGroupsClient { ); } createTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -550,7 +550,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.createTransitionRouteGroup(request); */ createTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -600,7 +600,7 @@ export class TransitionRouteGroupsClient { ); } updateTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -665,7 +665,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.updateTransitionRouteGroup(request); */ updateTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -715,7 +715,7 @@ export class TransitionRouteGroupsClient { ); } deleteTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -776,7 +776,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.deleteTransitionRouteGroup(request); */ deleteTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -827,7 +827,7 @@ export class TransitionRouteGroupsClient { } listTransitionRouteGroups( - request: protos.google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest, options?: CallOptions ): Promise< [ @@ -899,7 +899,7 @@ export class TransitionRouteGroupsClient { * for more details and examples. */ listTransitionRouteGroups( - request: protos.google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/versions_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/versions_client.ts index 5c77037a549..a312c2bbfd9 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/versions_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/versions_client.ts @@ -409,7 +409,7 @@ export class VersionsClient { // -- Service calls -- // ------------------- getVersion( - request: protos.google.cloud.dialogflow.cx.v3.IGetVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetVersionRequest, options?: CallOptions ): Promise< [ @@ -459,7 +459,7 @@ export class VersionsClient { * const [response] = await client.getVersion(request); */ getVersion( - request: protos.google.cloud.dialogflow.cx.v3.IGetVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -502,7 +502,7 @@ export class VersionsClient { return this.innerApiCalls.getVersion(request, options, callback); } updateVersion( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateVersionRequest, options?: CallOptions ): Promise< [ @@ -553,7 +553,7 @@ export class VersionsClient { * const [response] = await client.updateVersion(request); */ updateVersion( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -596,7 +596,7 @@ export class VersionsClient { return this.innerApiCalls.updateVersion(request, options, callback); } deleteVersion( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteVersionRequest, options?: CallOptions ): Promise< [ @@ -646,7 +646,7 @@ export class VersionsClient { * const [response] = await client.deleteVersion(request); */ deleteVersion( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -690,7 +690,7 @@ export class VersionsClient { } createVersion( - request: protos.google.cloud.dialogflow.cx.v3.ICreateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateVersionRequest, options?: CallOptions ): Promise< [ @@ -750,7 +750,7 @@ export class VersionsClient { * const [response] = await operation.promise(); */ createVersion( - request: protos.google.cloud.dialogflow.cx.v3.ICreateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -835,7 +835,7 @@ export class VersionsClient { >; } loadVersion( - request: protos.google.cloud.dialogflow.cx.v3.ILoadVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ILoadVersionRequest, options?: CallOptions ): Promise< [ @@ -898,7 +898,7 @@ export class VersionsClient { * const [response] = await operation.promise(); */ loadVersion( - request: protos.google.cloud.dialogflow.cx.v3.ILoadVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ILoadVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -980,7 +980,7 @@ export class VersionsClient { >; } listVersions( - request: protos.google.cloud.dialogflow.cx.v3.IListVersionsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListVersionsRequest, options?: CallOptions ): Promise< [ @@ -1038,7 +1038,7 @@ export class VersionsClient { * for more details and examples. */ listVersions( - request: protos.google.cloud.dialogflow.cx.v3.IListVersionsRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListVersionsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3/webhooks_client.ts b/packages/google-cloud-dialogflow-cx/src/v3/webhooks_client.ts index 81370f3a296..caa9d1b1f4b 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3/webhooks_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3/webhooks_client.ts @@ -372,7 +372,7 @@ export class WebhooksClient { // -- Service calls -- // ------------------- getWebhook( - request: protos.google.cloud.dialogflow.cx.v3.IGetWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetWebhookRequest, options?: CallOptions ): Promise< [ @@ -422,7 +422,7 @@ export class WebhooksClient { * const [response] = await client.getWebhook(request); */ getWebhook( - request: protos.google.cloud.dialogflow.cx.v3.IGetWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IGetWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -465,7 +465,7 @@ export class WebhooksClient { return this.innerApiCalls.getWebhook(request, options, callback); } createWebhook( - request: protos.google.cloud.dialogflow.cx.v3.ICreateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateWebhookRequest, options?: CallOptions ): Promise< [ @@ -516,7 +516,7 @@ export class WebhooksClient { * const [response] = await client.createWebhook(request); */ createWebhook( - request: protos.google.cloud.dialogflow.cx.v3.ICreateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.ICreateWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -559,7 +559,7 @@ export class WebhooksClient { return this.innerApiCalls.createWebhook(request, options, callback); } updateWebhook( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateWebhookRequest, options?: CallOptions ): Promise< [ @@ -610,7 +610,7 @@ export class WebhooksClient { * const [response] = await client.updateWebhook(request); */ updateWebhook( - request: protos.google.cloud.dialogflow.cx.v3.IUpdateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IUpdateWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -653,7 +653,7 @@ export class WebhooksClient { return this.innerApiCalls.updateWebhook(request, options, callback); } deleteWebhook( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteWebhookRequest, options?: CallOptions ): Promise< [ @@ -713,7 +713,7 @@ export class WebhooksClient { * const [response] = await client.deleteWebhook(request); */ deleteWebhook( - request: protos.google.cloud.dialogflow.cx.v3.IDeleteWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IDeleteWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -757,7 +757,7 @@ export class WebhooksClient { } listWebhooks( - request: protos.google.cloud.dialogflow.cx.v3.IListWebhooksRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListWebhooksRequest, options?: CallOptions ): Promise< [ @@ -814,7 +814,7 @@ export class WebhooksClient { * for more details and examples. */ listWebhooks( - request: protos.google.cloud.dialogflow.cx.v3.IListWebhooksRequest, + request?: protos.google.cloud.dialogflow.cx.v3.IListWebhooksRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/agents_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/agents_client.ts index d83f92f7f78..a5feff202dd 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/agents_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/agents_client.ts @@ -412,7 +412,7 @@ export class AgentsClient { // -- Service calls -- // ------------------- getAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentRequest, options?: CallOptions ): Promise< [ @@ -461,7 +461,7 @@ export class AgentsClient { * const [response] = await client.getAgent(request); */ getAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -504,7 +504,7 @@ export class AgentsClient { return this.innerApiCalls.getAgent(request, options, callback); } createAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateAgentRequest, options?: CallOptions ): Promise< [ @@ -559,7 +559,7 @@ export class AgentsClient { * const [response] = await client.createAgent(request); */ createAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -602,7 +602,7 @@ export class AgentsClient { return this.innerApiCalls.createAgent(request, options, callback); } updateAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateAgentRequest, options?: CallOptions ): Promise< [ @@ -657,7 +657,7 @@ export class AgentsClient { * const [response] = await client.updateAgent(request); */ updateAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -700,7 +700,7 @@ export class AgentsClient { return this.innerApiCalls.updateAgent(request, options, callback); } deleteAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteAgentRequest, options?: CallOptions ): Promise< [ @@ -749,7 +749,7 @@ export class AgentsClient { * const [response] = await client.deleteAgent(request); */ deleteAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -792,7 +792,7 @@ export class AgentsClient { return this.innerApiCalls.deleteAgent(request, options, callback); } validateAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IValidateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IValidateAgentRequest, options?: CallOptions ): Promise< [ @@ -848,7 +848,7 @@ export class AgentsClient { * const [response] = await client.validateAgent(request); */ validateAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IValidateAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IValidateAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -894,7 +894,7 @@ export class AgentsClient { return this.innerApiCalls.validateAgent(request, options, callback); } getAgentValidationResult( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentValidationResultRequest, options?: CallOptions ): Promise< [ @@ -950,7 +950,7 @@ export class AgentsClient { * const [response] = await client.getAgentValidationResult(request); */ getAgentValidationResult( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetAgentValidationResultRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1001,7 +1001,7 @@ export class AgentsClient { } exportAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IExportAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IExportAgentRequest, options?: CallOptions ): Promise< [ @@ -1067,7 +1067,7 @@ export class AgentsClient { * const [response] = await operation.promise(); */ exportAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IExportAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IExportAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1152,7 +1152,7 @@ export class AgentsClient { >; } restoreAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IRestoreAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IRestoreAgentRequest, options?: CallOptions ): Promise< [ @@ -1224,7 +1224,7 @@ export class AgentsClient { * const [response] = await operation.promise(); */ restoreAgent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IRestoreAgentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IRestoreAgentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1306,7 +1306,7 @@ export class AgentsClient { >; } listAgents( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListAgentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListAgentsRequest, options?: CallOptions ): Promise< [ @@ -1363,7 +1363,7 @@ export class AgentsClient { * for more details and examples. */ listAgents( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListAgentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListAgentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/entity_types_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/entity_types_client.ts index 350320e9db0..22606e80300 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/entity_types_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/entity_types_client.ts @@ -365,7 +365,7 @@ export class EntityTypesClient { // -- Service calls -- // ------------------- getEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -431,7 +431,7 @@ export class EntityTypesClient { * const [response] = await client.getEntityType(request); */ getEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -477,7 +477,7 @@ export class EntityTypesClient { return this.innerApiCalls.getEntityType(request, options, callback); } createEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -543,7 +543,7 @@ export class EntityTypesClient { * const [response] = await client.createEntityType(request); */ createEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -589,7 +589,7 @@ export class EntityTypesClient { return this.innerApiCalls.createEntityType(request, options, callback); } updateEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -658,7 +658,7 @@ export class EntityTypesClient { * const [response] = await client.updateEntityType(request); */ updateEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -704,7 +704,7 @@ export class EntityTypesClient { return this.innerApiCalls.updateEntityType(request, options, callback); } deleteEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -772,7 +772,7 @@ export class EntityTypesClient { * const [response] = await client.deleteEntityType(request); */ deleteEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -819,7 +819,7 @@ export class EntityTypesClient { } listEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListEntityTypesRequest, options?: CallOptions ): Promise< [ @@ -889,7 +889,7 @@ export class EntityTypesClient { * for more details and examples. */ listEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListEntityTypesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/environments_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/environments_client.ts index d1bbee1c5d9..31b58013a34 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/environments_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/environments_client.ts @@ -432,7 +432,7 @@ export class EnvironmentsClient { // -- Service calls -- // ------------------- getEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -485,7 +485,7 @@ export class EnvironmentsClient { * const [response] = await client.getEnvironment(request); */ getEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -531,7 +531,7 @@ export class EnvironmentsClient { return this.innerApiCalls.getEnvironment(request, options, callback); } deleteEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -584,7 +584,7 @@ export class EnvironmentsClient { * const [response] = await client.deleteEnvironment(request); */ deleteEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -631,7 +631,7 @@ export class EnvironmentsClient { } createEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -690,7 +690,7 @@ export class EnvironmentsClient { * const [response] = await operation.promise(); */ createEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -775,7 +775,7 @@ export class EnvironmentsClient { >; } updateEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEnvironmentRequest, options?: CallOptions ): Promise< [ @@ -833,7 +833,7 @@ export class EnvironmentsClient { * const [response] = await operation.promise(); */ updateEnvironment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEnvironmentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateEnvironmentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -918,7 +918,7 @@ export class EnvironmentsClient { >; } runContinuousTest( - request: protos.google.cloud.dialogflow.cx.v3beta1.IRunContinuousTestRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IRunContinuousTestRequest, options?: CallOptions ): Promise< [ @@ -975,7 +975,7 @@ export class EnvironmentsClient { * const [response] = await operation.promise(); */ runContinuousTest( - request: protos.google.cloud.dialogflow.cx.v3beta1.IRunContinuousTestRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IRunContinuousTestRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1060,7 +1060,7 @@ export class EnvironmentsClient { >; } listEnvironments( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListEnvironmentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListEnvironmentsRequest, options?: CallOptions ): Promise< [ @@ -1117,7 +1117,7 @@ export class EnvironmentsClient { * for more details and examples. */ listEnvironments( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListEnvironmentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListEnvironmentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1257,7 +1257,7 @@ export class EnvironmentsClient { ) as AsyncIterable; } lookupEnvironmentHistory( - request: protos.google.cloud.dialogflow.cx.v3beta1.ILookupEnvironmentHistoryRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ILookupEnvironmentHistoryRequest, options?: CallOptions ): Promise< [ @@ -1315,7 +1315,7 @@ export class EnvironmentsClient { * for more details and examples. */ lookupEnvironmentHistory( - request: protos.google.cloud.dialogflow.cx.v3beta1.ILookupEnvironmentHistoryRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ILookupEnvironmentHistoryRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1461,7 +1461,7 @@ export class EnvironmentsClient { ) as AsyncIterable; } listContinuousTestResults( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListContinuousTestResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListContinuousTestResultsRequest, options?: CallOptions ): Promise< [ @@ -1519,7 +1519,7 @@ export class EnvironmentsClient { * for more details and examples. */ listContinuousTestResults( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListContinuousTestResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListContinuousTestResultsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/experiments_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/experiments_client.ts index c14469fc6ab..56cc23bc55d 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/experiments_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/experiments_client.ts @@ -367,7 +367,7 @@ export class ExperimentsClient { // -- Service calls -- // ------------------- getExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetExperimentRequest, options?: CallOptions ): Promise< [ @@ -420,7 +420,7 @@ export class ExperimentsClient { * const [response] = await client.getExperiment(request); */ getExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -466,7 +466,7 @@ export class ExperimentsClient { return this.innerApiCalls.getExperiment(request, options, callback); } createExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateExperimentRequest, options?: CallOptions ): Promise< [ @@ -521,7 +521,7 @@ export class ExperimentsClient { * const [response] = await client.createExperiment(request); */ createExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -567,7 +567,7 @@ export class ExperimentsClient { return this.innerApiCalls.createExperiment(request, options, callback); } updateExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateExperimentRequest, options?: CallOptions ): Promise< [ @@ -620,7 +620,7 @@ export class ExperimentsClient { * const [response] = await client.updateExperiment(request); */ updateExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -666,7 +666,7 @@ export class ExperimentsClient { return this.innerApiCalls.updateExperiment(request, options, callback); } deleteExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteExperimentRequest, options?: CallOptions ): Promise< [ @@ -719,7 +719,7 @@ export class ExperimentsClient { * const [response] = await client.deleteExperiment(request); */ deleteExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -765,7 +765,7 @@ export class ExperimentsClient { return this.innerApiCalls.deleteExperiment(request, options, callback); } startExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IStartExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IStartExperimentRequest, options?: CallOptions ): Promise< [ @@ -819,7 +819,7 @@ export class ExperimentsClient { * const [response] = await client.startExperiment(request); */ startExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IStartExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IStartExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -865,7 +865,7 @@ export class ExperimentsClient { return this.innerApiCalls.startExperiment(request, options, callback); } stopExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IStopExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IStopExperimentRequest, options?: CallOptions ): Promise< [ @@ -919,7 +919,7 @@ export class ExperimentsClient { * const [response] = await client.stopExperiment(request); */ stopExperiment( - request: protos.google.cloud.dialogflow.cx.v3beta1.IStopExperimentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IStopExperimentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -966,7 +966,7 @@ export class ExperimentsClient { } listExperiments( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListExperimentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListExperimentsRequest, options?: CallOptions ): Promise< [ @@ -1024,7 +1024,7 @@ export class ExperimentsClient { * for more details and examples. */ listExperiments( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListExperimentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListExperimentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/flows_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/flows_client.ts index b4e824d8375..1459c5623ca 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/flows_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/flows_client.ts @@ -424,7 +424,7 @@ export class FlowsClient { // -- Service calls -- // ------------------- createFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateFlowRequest, options?: CallOptions ): Promise< [ @@ -492,7 +492,7 @@ export class FlowsClient { * const [response] = await client.createFlow(request); */ createFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -535,7 +535,7 @@ export class FlowsClient { return this.innerApiCalls.createFlow(request, options, callback); } deleteFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest, options?: CallOptions ): Promise< [ @@ -596,7 +596,7 @@ export class FlowsClient { * const [response] = await client.deleteFlow(request); */ deleteFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -639,7 +639,7 @@ export class FlowsClient { return this.innerApiCalls.deleteFlow(request, options, callback); } getFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest, options?: CallOptions ): Promise< [ @@ -703,7 +703,7 @@ export class FlowsClient { * const [response] = await client.getFlow(request); */ getFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -746,7 +746,7 @@ export class FlowsClient { return this.innerApiCalls.getFlow(request, options, callback); } updateFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateFlowRequest, options?: CallOptions ): Promise< [ @@ -814,7 +814,7 @@ export class FlowsClient { * const [response] = await client.updateFlow(request); */ updateFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -857,7 +857,7 @@ export class FlowsClient { return this.innerApiCalls.updateFlow(request, options, callback); } validateFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest, options?: CallOptions ): Promise< [ @@ -914,7 +914,7 @@ export class FlowsClient { * const [response] = await client.validateFlow(request); */ validateFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IValidateFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -960,7 +960,7 @@ export class FlowsClient { return this.innerApiCalls.validateFlow(request, options, callback); } getFlowValidationResult( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest, options?: CallOptions ): Promise< [ @@ -1016,7 +1016,7 @@ export class FlowsClient { * const [response] = await client.getFlowValidationResult(request); */ getFlowValidationResult( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetFlowValidationResultRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1067,7 +1067,7 @@ export class FlowsClient { } trainFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest, options?: CallOptions ): Promise< [ @@ -1130,7 +1130,7 @@ export class FlowsClient { * const [response] = await operation.promise(); */ trainFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ITrainFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1212,7 +1212,7 @@ export class FlowsClient { >; } importFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest, options?: CallOptions ): Promise< [ @@ -1281,7 +1281,7 @@ export class FlowsClient { * const [response] = await operation.promise(); */ importFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IImportFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1366,7 +1366,7 @@ export class FlowsClient { >; } exportFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest, options?: CallOptions ): Promise< [ @@ -1434,7 +1434,7 @@ export class FlowsClient { * const [response] = await operation.promise(); */ exportFlow( - request: protos.google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IExportFlowRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1519,7 +1519,7 @@ export class FlowsClient { >; } listFlows( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest, options?: CallOptions ): Promise< [ @@ -1590,7 +1590,7 @@ export class FlowsClient { * for more details and examples. */ listFlows( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListFlowsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/intents_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/intents_client.ts index 67ecb56de9f..344e36383e5 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/intents_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/intents_client.ts @@ -365,7 +365,7 @@ export class IntentsClient { // -- Service calls -- // ------------------- getIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetIntentRequest, options?: CallOptions ): Promise< [ @@ -426,7 +426,7 @@ export class IntentsClient { * const [response] = await client.getIntent(request); */ getIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -469,7 +469,7 @@ export class IntentsClient { return this.innerApiCalls.getIntent(request, options, callback); } createIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateIntentRequest, options?: CallOptions ): Promise< [ @@ -537,7 +537,7 @@ export class IntentsClient { * const [response] = await client.createIntent(request); */ createIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -583,7 +583,7 @@ export class IntentsClient { return this.innerApiCalls.createIntent(request, options, callback); } updateIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateIntentRequest, options?: CallOptions ): Promise< [ @@ -651,7 +651,7 @@ export class IntentsClient { * const [response] = await client.updateIntent(request); */ updateIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -697,7 +697,7 @@ export class IntentsClient { return this.innerApiCalls.updateIntent(request, options, callback); } deleteIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteIntentRequest, options?: CallOptions ): Promise< [ @@ -754,7 +754,7 @@ export class IntentsClient { * const [response] = await client.deleteIntent(request); */ deleteIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -801,7 +801,7 @@ export class IntentsClient { } listIntents( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListIntentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListIntentsRequest, options?: CallOptions ): Promise< [ @@ -871,7 +871,7 @@ export class IntentsClient { * for more details and examples. */ listIntents( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListIntentsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListIntentsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/pages_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/pages_client.ts index b9283b1cb20..ea12e666ed3 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/pages_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/pages_client.ts @@ -365,7 +365,7 @@ export class PagesClient { // -- Service calls -- // ------------------- getPage( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetPageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetPageRequest, options?: CallOptions ): Promise< [ @@ -437,7 +437,7 @@ export class PagesClient { * const [response] = await client.getPage(request); */ getPage( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetPageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetPageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -480,7 +480,7 @@ export class PagesClient { return this.innerApiCalls.getPage(request, options, callback); } createPage( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePageRequest, options?: CallOptions ): Promise< [ @@ -553,7 +553,7 @@ export class PagesClient { * const [response] = await client.createPage(request); */ createPage( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -596,7 +596,7 @@ export class PagesClient { return this.innerApiCalls.createPage(request, options, callback); } updatePage( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePageRequest, options?: CallOptions ): Promise< [ @@ -668,7 +668,7 @@ export class PagesClient { * const [response] = await client.updatePage(request); */ updatePage( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -711,7 +711,7 @@ export class PagesClient { return this.innerApiCalls.updatePage(request, options, callback); } deletePage( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePageRequest, options?: CallOptions ): Promise< [ @@ -772,7 +772,7 @@ export class PagesClient { * const [response] = await client.deletePage(request); */ deletePage( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -816,7 +816,7 @@ export class PagesClient { } listPages( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListPagesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPagesRequest, options?: CallOptions ): Promise< [ @@ -896,7 +896,7 @@ export class PagesClient { * for more details and examples. */ listPages( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListPagesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPagesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/security_settings_service_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/security_settings_service_client.ts index f87c431dc7d..b5676fac8a9 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/security_settings_service_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/security_settings_service_client.ts @@ -367,7 +367,7 @@ export class SecuritySettingsServiceClient { // -- Service calls -- // ------------------- createSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -421,7 +421,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.createSecuritySettings(request); */ createSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -471,7 +471,7 @@ export class SecuritySettingsServiceClient { ); } getSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -525,7 +525,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.getSecuritySettings(request); */ getSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -571,7 +571,7 @@ export class SecuritySettingsServiceClient { return this.innerApiCalls.getSecuritySettings(request, options, callback); } updateSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -626,7 +626,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.updateSecuritySettings(request); */ updateSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -676,7 +676,7 @@ export class SecuritySettingsServiceClient { ); } deleteSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -729,7 +729,7 @@ export class SecuritySettingsServiceClient { * const [response] = await client.deleteSecuritySettings(request); */ deleteSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSecuritySettingsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -780,7 +780,7 @@ export class SecuritySettingsServiceClient { } listSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListSecuritySettingsRequest, options?: CallOptions ): Promise< [ @@ -837,7 +837,7 @@ export class SecuritySettingsServiceClient { * for more details and examples. */ listSecuritySettings( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListSecuritySettingsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListSecuritySettingsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/session_entity_types_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/session_entity_types_client.ts index d969338d382..95d3339abd1 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/session_entity_types_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/session_entity_types_client.ts @@ -369,7 +369,7 @@ export class SessionEntityTypesClient { // -- Service calls -- // ------------------- getSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -426,7 +426,7 @@ export class SessionEntityTypesClient { * const [response] = await client.getSessionEntityType(request); */ getSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -472,7 +472,7 @@ export class SessionEntityTypesClient { return this.innerApiCalls.getSessionEntityType(request, options, callback); } createSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -530,7 +530,7 @@ export class SessionEntityTypesClient { * const [response] = await client.createSessionEntityType(request); */ createSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -580,7 +580,7 @@ export class SessionEntityTypesClient { ); } updateSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -639,7 +639,7 @@ export class SessionEntityTypesClient { * const [response] = await client.updateSessionEntityType(request); */ updateSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -689,7 +689,7 @@ export class SessionEntityTypesClient { ); } deleteSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSessionEntityTypeRequest, options?: CallOptions ): Promise< [ @@ -746,7 +746,7 @@ export class SessionEntityTypesClient { * const [response] = await client.deleteSessionEntityType(request); */ deleteSessionEntityType( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSessionEntityTypeRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteSessionEntityTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -797,7 +797,7 @@ export class SessionEntityTypesClient { } listSessionEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListSessionEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListSessionEntityTypesRequest, options?: CallOptions ): Promise< [ @@ -858,7 +858,7 @@ export class SessionEntityTypesClient { * for more details and examples. */ listSessionEntityTypes( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListSessionEntityTypesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListSessionEntityTypesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/sessions_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/sessions_client.ts index b70a5b6789a..2ab360bed4a 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/sessions_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/sessions_client.ts @@ -355,7 +355,7 @@ export class SessionsClient { // -- Service calls -- // ------------------- detectIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDetectIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDetectIntentRequest, options?: CallOptions ): Promise< [ @@ -434,7 +434,7 @@ export class SessionsClient { * const [response] = await client.detectIntent(request); */ detectIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDetectIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDetectIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -480,7 +480,7 @@ export class SessionsClient { return this.innerApiCalls.detectIntent(request, options, callback); } matchIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IMatchIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IMatchIntentRequest, options?: CallOptions ): Promise< [ @@ -544,7 +544,7 @@ export class SessionsClient { * const [response] = await client.matchIntent(request); */ matchIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IMatchIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IMatchIntentRequest, optionsOrCallback?: | CallOptions | Callback< @@ -587,7 +587,7 @@ export class SessionsClient { return this.innerApiCalls.matchIntent(request, options, callback); } fulfillIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IFulfillIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IFulfillIntentRequest, options?: CallOptions ): Promise< [ @@ -645,7 +645,7 @@ export class SessionsClient { * const [response] = await client.fulfillIntent(request); */ fulfillIntent( - request: protos.google.cloud.dialogflow.cx.v3beta1.IFulfillIntentRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IFulfillIntentRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/test_cases_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/test_cases_client.ts index 5e45a718f66..fdd729fd051 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/test_cases_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/test_cases_client.ts @@ -443,7 +443,7 @@ export class TestCasesClient { // -- Service calls -- // ------------------- batchDeleteTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest, options?: CallOptions ): Promise< [ @@ -498,7 +498,7 @@ export class TestCasesClient { * const [response] = await client.batchDeleteTestCases(request); */ batchDeleteTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -544,7 +544,7 @@ export class TestCasesClient { return this.innerApiCalls.batchDeleteTestCases(request, options, callback); } getTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseRequest, options?: CallOptions ): Promise< [ @@ -594,7 +594,7 @@ export class TestCasesClient { * const [response] = await client.getTestCase(request); */ getTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -637,7 +637,7 @@ export class TestCasesClient { return this.innerApiCalls.getTestCase(request, options, callback); } createTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTestCaseRequest, options?: CallOptions ): Promise< [ @@ -691,7 +691,7 @@ export class TestCasesClient { * const [response] = await client.createTestCase(request); */ createTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -737,7 +737,7 @@ export class TestCasesClient { return this.innerApiCalls.createTestCase(request, options, callback); } updateTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTestCaseRequest, options?: CallOptions ): Promise< [ @@ -792,7 +792,7 @@ export class TestCasesClient { * const [response] = await client.updateTestCase(request); */ updateTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -838,7 +838,7 @@ export class TestCasesClient { return this.innerApiCalls.updateTestCase(request, options, callback); } calculateCoverage( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICalculateCoverageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICalculateCoverageRequest, options?: CallOptions ): Promise< [ @@ -892,7 +892,7 @@ export class TestCasesClient { * const [response] = await client.calculateCoverage(request); */ calculateCoverage( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICalculateCoverageRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICalculateCoverageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -938,7 +938,7 @@ export class TestCasesClient { return this.innerApiCalls.calculateCoverage(request, options, callback); } getTestCaseResult( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseResultRequest, options?: CallOptions ): Promise< [ @@ -991,7 +991,7 @@ export class TestCasesClient { * const [response] = await client.getTestCaseResult(request); */ getTestCaseResult( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseResultRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetTestCaseResultRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1038,7 +1038,7 @@ export class TestCasesClient { } runTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.IRunTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IRunTestCaseRequest, options?: CallOptions ): Promise< [ @@ -1099,7 +1099,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ runTestCase( - request: protos.google.cloud.dialogflow.cx.v3beta1.IRunTestCaseRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IRunTestCaseRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1184,7 +1184,7 @@ export class TestCasesClient { >; } batchRunTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1248,7 +1248,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ batchRunTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1333,7 +1333,7 @@ export class TestCasesClient { >; } importTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IImportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IImportTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1398,7 +1398,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ importTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IImportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IImportTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1483,7 +1483,7 @@ export class TestCasesClient { >; } exportTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IExportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IExportTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1560,7 +1560,7 @@ export class TestCasesClient { * const [response] = await operation.promise(); */ exportTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IExportTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IExportTestCasesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1645,7 +1645,7 @@ export class TestCasesClient { >; } listTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCasesRequest, options?: CallOptions ): Promise< [ @@ -1705,7 +1705,7 @@ export class TestCasesClient { * for more details and examples. */ listTestCases( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCasesRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCasesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1851,7 +1851,7 @@ export class TestCasesClient { ) as AsyncIterable; } listTestCaseResults( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCaseResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCaseResultsRequest, options?: CallOptions ): Promise< [ @@ -1935,7 +1935,7 @@ export class TestCasesClient { * for more details and examples. */ listTestCaseResults( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCaseResultsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListTestCaseResultsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/transition_route_groups_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/transition_route_groups_client.ts index 540caada07c..540222142df 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/transition_route_groups_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/transition_route_groups_client.ts @@ -367,7 +367,7 @@ export class TransitionRouteGroupsClient { // -- Service calls -- // ------------------- getTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -433,7 +433,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.getTransitionRouteGroup(request); */ getTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -483,7 +483,7 @@ export class TransitionRouteGroupsClient { ); } createTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -554,7 +554,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.createTransitionRouteGroup(request); */ createTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -604,7 +604,7 @@ export class TransitionRouteGroupsClient { ); } updateTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -673,7 +673,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.updateTransitionRouteGroup(request); */ updateTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -723,7 +723,7 @@ export class TransitionRouteGroupsClient { ); } deleteTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest, options?: CallOptions ): Promise< [ @@ -788,7 +788,7 @@ export class TransitionRouteGroupsClient { * const [response] = await client.deleteTransitionRouteGroup(request); */ deleteTransitionRouteGroup( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest, optionsOrCallback?: | CallOptions | Callback< @@ -839,7 +839,7 @@ export class TransitionRouteGroupsClient { } listTransitionRouteGroups( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest, options?: CallOptions ): Promise< [ @@ -910,7 +910,7 @@ export class TransitionRouteGroupsClient { * for more details and examples. */ listTransitionRouteGroups( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/versions_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/versions_client.ts index 9d2981e56ef..a1592196291 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/versions_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/versions_client.ts @@ -409,7 +409,7 @@ export class VersionsClient { // -- Service calls -- // ------------------- getVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetVersionRequest, options?: CallOptions ): Promise< [ @@ -459,7 +459,7 @@ export class VersionsClient { * const [response] = await client.getVersion(request); */ getVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -502,7 +502,7 @@ export class VersionsClient { return this.innerApiCalls.getVersion(request, options, callback); } updateVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateVersionRequest, options?: CallOptions ): Promise< [ @@ -556,7 +556,7 @@ export class VersionsClient { * const [response] = await client.updateVersion(request); */ updateVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -602,7 +602,7 @@ export class VersionsClient { return this.innerApiCalls.updateVersion(request, options, callback); } deleteVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteVersionRequest, options?: CallOptions ): Promise< [ @@ -655,7 +655,7 @@ export class VersionsClient { * const [response] = await client.deleteVersion(request); */ deleteVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -702,7 +702,7 @@ export class VersionsClient { } createVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateVersionRequest, options?: CallOptions ): Promise< [ @@ -762,7 +762,7 @@ export class VersionsClient { * const [response] = await operation.promise(); */ createVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -847,7 +847,7 @@ export class VersionsClient { >; } loadVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.ILoadVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ILoadVersionRequest, options?: CallOptions ): Promise< [ @@ -910,7 +910,7 @@ export class VersionsClient { * const [response] = await operation.promise(); */ loadVersion( - request: protos.google.cloud.dialogflow.cx.v3beta1.ILoadVersionRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ILoadVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -992,7 +992,7 @@ export class VersionsClient { >; } listVersions( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListVersionsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListVersionsRequest, options?: CallOptions ): Promise< [ @@ -1050,7 +1050,7 @@ export class VersionsClient { * for more details and examples. */ listVersions( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListVersionsRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListVersionsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-dialogflow-cx/src/v3beta1/webhooks_client.ts b/packages/google-cloud-dialogflow-cx/src/v3beta1/webhooks_client.ts index 4348464a4f4..e9840e00826 100644 --- a/packages/google-cloud-dialogflow-cx/src/v3beta1/webhooks_client.ts +++ b/packages/google-cloud-dialogflow-cx/src/v3beta1/webhooks_client.ts @@ -372,7 +372,7 @@ export class WebhooksClient { // -- Service calls -- // ------------------- getWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetWebhookRequest, options?: CallOptions ): Promise< [ @@ -422,7 +422,7 @@ export class WebhooksClient { * const [response] = await client.getWebhook(request); */ getWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.IGetWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -465,7 +465,7 @@ export class WebhooksClient { return this.innerApiCalls.getWebhook(request, options, callback); } createWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateWebhookRequest, options?: CallOptions ): Promise< [ @@ -519,7 +519,7 @@ export class WebhooksClient { * const [response] = await client.createWebhook(request); */ createWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.ICreateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreateWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -565,7 +565,7 @@ export class WebhooksClient { return this.innerApiCalls.createWebhook(request, options, callback); } updateWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateWebhookRequest, options?: CallOptions ): Promise< [ @@ -619,7 +619,7 @@ export class WebhooksClient { * const [response] = await client.updateWebhook(request); */ updateWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdateWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -665,7 +665,7 @@ export class WebhooksClient { return this.innerApiCalls.updateWebhook(request, options, callback); } deleteWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteWebhookRequest, options?: CallOptions ): Promise< [ @@ -728,7 +728,7 @@ export class WebhooksClient { * const [response] = await client.deleteWebhook(request); */ deleteWebhook( - request: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteWebhookRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeleteWebhookRequest, optionsOrCallback?: | CallOptions | Callback< @@ -775,7 +775,7 @@ export class WebhooksClient { } listWebhooks( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListWebhooksRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListWebhooksRequest, options?: CallOptions ): Promise< [ @@ -832,7 +832,7 @@ export class WebhooksClient { * for more details and examples. */ listWebhooks( - request: protos.google.cloud.dialogflow.cx.v3beta1.IListWebhooksRequest, + request?: protos.google.cloud.dialogflow.cx.v3beta1.IListWebhooksRequest, optionsOrCallback?: | CallOptions | PaginationCallback<