Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#936)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Committer: @summer-ji-eng
PiperOrigin-RevId: 434859890

Source-Link: googleapis/googleapis@bc2432d

Source-Link: googleapis/googleapis-gen@930b673
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Mar 16, 2022
1 parent e7c01cb commit 32cec0c
Show file tree
Hide file tree
Showing 32 changed files with 0 additions and 110 deletions.
4 changes: 0 additions & 4 deletions packages/google-cloud-dialogflow/test/gapic_agents_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ describe('v2.AgentsClient', () => {
new protos.google.cloud.dialogflow.v2.GetAgentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getAgent(request), expectedError);
Expand Down Expand Up @@ -485,7 +484,6 @@ describe('v2.AgentsClient', () => {
);
request.agent = {};
request.agent.parent = '';
const expectedHeaderRequestParams = 'agent.parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setAgent(request), expectedError);
Expand Down Expand Up @@ -612,7 +610,6 @@ describe('v2.AgentsClient', () => {
new protos.google.cloud.dialogflow.v2.DeleteAgentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteAgent(request), expectedError);
Expand Down Expand Up @@ -740,7 +737,6 @@ describe('v2.AgentsClient', () => {
new protos.google.cloud.dialogflow.v2.GetValidationResultRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getValidationResult(request), expectedError);
Expand Down
4 changes: 0 additions & 4 deletions packages/google-cloud-dialogflow/test/gapic_agents_v2beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ describe('v2beta1.AgentsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetAgentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getAgent(request), expectedError);
Expand Down Expand Up @@ -485,7 +484,6 @@ describe('v2beta1.AgentsClient', () => {
);
request.agent = {};
request.agent.parent = '';
const expectedHeaderRequestParams = 'agent.parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setAgent(request), expectedError);
Expand Down Expand Up @@ -612,7 +610,6 @@ describe('v2beta1.AgentsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.DeleteAgentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteAgent(request), expectedError);
Expand Down Expand Up @@ -740,7 +737,6 @@ describe('v2beta1.AgentsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetValidationResultRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getValidationResult(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ describe('v2.AnswerRecordsClient', () => {
);
request.answerRecord = {};
request.answerRecord.name = '';
const expectedHeaderRequestParams = 'answer_record.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateAnswerRecord(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ describe('v2beta1.AnswerRecordsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetAnswerRecordRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getAnswerRecord(request), expectedError);
Expand Down Expand Up @@ -470,7 +469,6 @@ describe('v2beta1.AnswerRecordsClient', () => {
);
request.answerRecord = {};
request.answerRecord.name = '';
const expectedHeaderRequestParams = 'answer_record.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateAnswerRecord(request), expectedError);
Expand Down
5 changes: 0 additions & 5 deletions packages/google-cloud-dialogflow/test/gapic_contexts_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ describe('v2.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2.GetContextRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getContext(request), expectedError);
Expand Down Expand Up @@ -455,7 +454,6 @@ describe('v2.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2.CreateContextRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createContext(request), expectedError);
Expand Down Expand Up @@ -586,7 +584,6 @@ describe('v2.ContextsClient', () => {
);
request.context = {};
request.context.name = '';
const expectedHeaderRequestParams = 'context.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateContext(request), expectedError);
Expand Down Expand Up @@ -713,7 +710,6 @@ describe('v2.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2.DeleteContextRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteContext(request), expectedError);
Expand Down Expand Up @@ -840,7 +836,6 @@ describe('v2.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2.DeleteAllContextsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteAllContexts(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ describe('v2beta1.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetContextRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getContext(request), expectedError);
Expand Down Expand Up @@ -455,7 +454,6 @@ describe('v2beta1.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.CreateContextRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createContext(request), expectedError);
Expand Down Expand Up @@ -586,7 +584,6 @@ describe('v2beta1.ContextsClient', () => {
);
request.context = {};
request.context.name = '';
const expectedHeaderRequestParams = 'context.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateContext(request), expectedError);
Expand Down Expand Up @@ -713,7 +710,6 @@ describe('v2beta1.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.DeleteContextRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteContext(request), expectedError);
Expand Down Expand Up @@ -840,7 +836,6 @@ describe('v2beta1.ContextsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteAllContexts(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ describe('v2.ConversationDatasetsClient', () => {
new protos.google.cloud.dialogflow.v2.GetConversationDatasetRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ describe('v2.ConversationModelsClient', () => {
new protos.google.cloud.dialogflow.v2.GetConversationModelRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getConversationModel(request), expectedError);
Expand Down Expand Up @@ -494,7 +493,6 @@ describe('v2.ConversationModelsClient', () => {
new protos.google.cloud.dialogflow.v2.GetConversationModelEvaluationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ describe('v2.ConversationProfilesClient', () => {
new protos.google.cloud.dialogflow.v2.GetConversationProfileRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -521,7 +520,6 @@ describe('v2.ConversationProfilesClient', () => {
new protos.google.cloud.dialogflow.v2.CreateConversationProfileRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -663,7 +661,6 @@ describe('v2.ConversationProfilesClient', () => {
);
request.conversationProfile = {};
request.conversationProfile.name = '';
const expectedHeaderRequestParams = 'conversation_profile.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -801,7 +798,6 @@ describe('v2.ConversationProfilesClient', () => {
new protos.google.cloud.dialogflow.v2.DeleteConversationProfileRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ describe('v2beta1.ConversationProfilesClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetConversationProfileRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -484,7 +483,6 @@ describe('v2beta1.ConversationProfilesClient', () => {
new protos.google.cloud.dialogflow.v2beta1.CreateConversationProfileRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -626,7 +624,6 @@ describe('v2beta1.ConversationProfilesClient', () => {
);
request.conversationProfile = {};
request.conversationProfile.name = '';
const expectedHeaderRequestParams = 'conversation_profile.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -764,7 +761,6 @@ describe('v2beta1.ConversationProfilesClient', () => {
new protos.google.cloud.dialogflow.v2beta1.DeleteConversationProfileRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ describe('v2.ConversationsClient', () => {
new protos.google.cloud.dialogflow.v2.CreateConversationRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createConversation(request), expectedError);
Expand Down Expand Up @@ -456,7 +455,6 @@ describe('v2.ConversationsClient', () => {
new protos.google.cloud.dialogflow.v2.GetConversationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getConversation(request), expectedError);
Expand Down Expand Up @@ -584,7 +582,6 @@ describe('v2.ConversationsClient', () => {
new protos.google.cloud.dialogflow.v2.CompleteConversationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.completeConversation(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ describe('v2beta1.ConversationsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.CreateConversationRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createConversation(request), expectedError);
Expand Down Expand Up @@ -458,7 +457,6 @@ describe('v2beta1.ConversationsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetConversationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getConversation(request), expectedError);
Expand Down Expand Up @@ -586,7 +584,6 @@ describe('v2beta1.ConversationsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.CompleteConversationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.completeConversation(request), expectedError);
Expand Down Expand Up @@ -714,7 +711,6 @@ describe('v2beta1.ConversationsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.BatchCreateMessagesRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.batchCreateMessages(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ describe('v2.DocumentsClient', () => {
new protos.google.cloud.dialogflow.v2.GetDocumentRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getDocument(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ describe('v2beta1.DocumentsClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetDocumentRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getDocument(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ describe('v2.EntityTypesClient', () => {
new protos.google.cloud.dialogflow.v2.GetEntityTypeRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEntityType(request), expectedError);
Expand Down Expand Up @@ -487,7 +486,6 @@ describe('v2.EntityTypesClient', () => {
new protos.google.cloud.dialogflow.v2.CreateEntityTypeRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createEntityType(request), expectedError);
Expand Down Expand Up @@ -618,7 +616,6 @@ describe('v2.EntityTypesClient', () => {
);
request.entityType = {};
request.entityType.name = '';
const expectedHeaderRequestParams = 'entity_type.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateEntityType(request), expectedError);
Expand Down Expand Up @@ -745,7 +742,6 @@ describe('v2.EntityTypesClient', () => {
new protos.google.cloud.dialogflow.v2.DeleteEntityTypeRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteEntityType(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ describe('v2beta1.EntityTypesClient', () => {
new protos.google.cloud.dialogflow.v2beta1.GetEntityTypeRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEntityType(request), expectedError);
Expand Down Expand Up @@ -487,7 +486,6 @@ describe('v2beta1.EntityTypesClient', () => {
new protos.google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createEntityType(request), expectedError);
Expand Down Expand Up @@ -618,7 +616,6 @@ describe('v2beta1.EntityTypesClient', () => {
);
request.entityType = {};
request.entityType.name = '';
const expectedHeaderRequestParams = 'entity_type.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateEntityType(request), expectedError);
Expand Down Expand Up @@ -745,7 +742,6 @@ describe('v2beta1.EntityTypesClient', () => {
new protos.google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteEntityType(request), expectedError);
Expand Down
Loading

0 comments on commit 32cec0c

Please sign in to comment.