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

feat: added the display name of the current page in webhook requests #211

Merged
merged 4 commits into from
Dec 23, 2021
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
4 changes: 4 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3/webhook.proto
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@ message PageInfo {
type: "dialogflow.googleapis.com/Page"
}];

// Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
// The display name of the current page.
string display_name = 4;

// Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
// Information about the form.
FormInfo form_info = 3;
Expand Down
6 changes: 6 additions & 0 deletions protos/protos.d.ts

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

22 changes: 22 additions & 0 deletions protos/protos.js

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

4 changes: 4 additions & 0 deletions protos/protos.json

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

1 change: 1 addition & 0 deletions samples/generated/v3/agents.create_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, agent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/agents.delete_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/agents.export_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/agents.get_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/agents.get_agent_validation_result.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v3/agents.list_agents.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -49,7 +50,7 @@ function main(parent) {
// Run request
const iterable = await cxClient.listAgentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/agents.restore_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/agents.update_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(agent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/agents.validate_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/changelogs.get_changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v3/changelogs.list_changelogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -72,7 +73,7 @@ function main(parent) {
// Run request
const iterable = await cxClient.listChangelogsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/deployments.get_deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v3/deployments.list_deployments.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -50,7 +51,7 @@ function main(parent) {
// Run request
const iterable = await cxClient.listDeploymentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/entity_types.create_entity_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, entityType) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/entity_types.delete_entity_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/entity_types.get_entity_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v3/entity_types.list_entity_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -62,7 +63,7 @@ function main(parent) {
// Run request
const iterable = await cxClient.listEntityTypesAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/entity_types.update_entity_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(entityType) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/environments.create_environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, environment) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/environments.delete_environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/environments.deploy_flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(environment, flowVersion) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/environments.get_environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -50,7 +51,7 @@ function main(parent) {
// Run request
const iterable = await cxClient.listContinuousTestResultsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v3/environments.list_environments.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -49,7 +50,7 @@ function main(parent) {
// Run request
const iterable = await cxClient.listEnvironmentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down Expand Up @@ -50,7 +51,7 @@ function main(name) {
// Run request
const iterable = await cxClient.lookupEnvironmentHistoryAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/environments.run_continuous_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(environment) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v3/environments.update_environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(environment, updateMask) {
Expand Down
Loading