Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [Dialogflow] created new boolean fields in conversation dataset for zone isolation and zone separation compliance status #7701

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Dialogflow/metadata/V2/AudioConfig.php
Binary file not shown.
Binary file modified Dialogflow/metadata/V2/ConversationDataset.php
Binary file not shown.
7 changes: 7 additions & 0 deletions Dialogflow/src/V2/AudioEncoding.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions Dialogflow/src/V2/ConversationDataset.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Dialogflow/src/V2/OutputAudioEncoding.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,15 @@ public function createConversationDatasetTest()
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
$conversationCount = 1994187347;
$satisfiesPzi = false;
$satisfiesPzs = false;
$expectedResponse = new ConversationDataset();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
$expectedResponse->setConversationCount($conversationCount);
$expectedResponse->setSatisfiesPzi($satisfiesPzi);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
Expand Down Expand Up @@ -349,11 +353,15 @@ public function getConversationDatasetTest()
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
$conversationCount = 1994187347;
$satisfiesPzi = false;
$satisfiesPzs = false;
$expectedResponse = new ConversationDataset();
$expectedResponse->setName($name2);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
$expectedResponse->setConversationCount($conversationCount);
$expectedResponse->setSatisfiesPzi($satisfiesPzi);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->conversationDatasetName('[PROJECT]', '[LOCATION]', '[CONVERSATION_DATASET]');
Expand Down Expand Up @@ -758,11 +766,15 @@ public function createConversationDatasetAsyncTest()
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
$conversationCount = 1994187347;
$satisfiesPzi = false;
$satisfiesPzs = false;
$expectedResponse = new ConversationDataset();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
$expectedResponse->setConversationCount($conversationCount);
$expectedResponse->setSatisfiesPzi($satisfiesPzi);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
Expand Down
8 changes: 8 additions & 0 deletions Dialogflow/tests/Unit/V2/ConversationDatasetsClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@ public function createConversationDatasetTest()
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
$conversationCount = 1994187347;
$satisfiesPzi = false;
$satisfiesPzs = false;
$expectedResponse = new ConversationDataset();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
$expectedResponse->setConversationCount($conversationCount);
$expectedResponse->setSatisfiesPzi($satisfiesPzi);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
Expand Down Expand Up @@ -332,11 +336,15 @@ public function getConversationDatasetTest()
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
$conversationCount = 1994187347;
$satisfiesPzi = false;
$satisfiesPzs = false;
$expectedResponse = new ConversationDataset();
$expectedResponse->setName($name2);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
$expectedResponse->setConversationCount($conversationCount);
$expectedResponse->setSatisfiesPzi($satisfiesPzi);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->conversationDatasetName('[PROJECT]', '[LOCATION]', '[CONVERSATION_DATASET]');
Expand Down
Loading