Skip to content

Commit

Permalink
docs: Clarify comments of ConversationView enum (#93)
Browse files Browse the repository at this point in the history
* docs: Clarify comments of ConversationView enum

PiperOrigin-RevId: 422809895

Source-Link: googleapis/googleapis@13a3c9e

Source-Link: googleapis/googleapis-gen@8622ce3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODYyMmNlM2JmNDdmYmRjMWI3MGRmZmQ2NzRjZDE1Mzg3YTMyYWY5YiJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
  • Loading branch information
3 people authored Jan 20, 2022
1 parent 3c8309c commit a78a420
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,21 @@ service ContactCenterInsights {
}
}

// Represents the options for viewing a conversation.
enum ConversationView {
// The conversation view is not specified.
//
// * Defaults to `FULL` in `GetConversationRequest`.
// * Defaults to `BASIC` in `ListConversationsRequest`.
CONVERSATION_VIEW_UNSPECIFIED = 0;

// Populates all fields in the conversation.
FULL = 2;

// Populates all fields in the conversation except the transcript.
BASIC = 1;
}

// The request for calculating conversation statistics.
message CalculateStatsRequest {
// Required. The location of the conversations.
Expand All @@ -370,20 +385,6 @@ message CalculateStatsRequest {
string filter = 2;
}

// Represents the options for views of a conversation.
enum ConversationView {
// Not specified. Defaults to FULL on GetConversationRequest and BASIC for
// ListConversationsRequest.
CONVERSATION_VIEW_UNSPECIFIED = 0;

// Transcript field is not populated in the response for Insights
// conversation.
BASIC = 1;

// All fields are populated for Insights conversation.
FULL = 2;
}

// The response for calculating conversation statistics.
message CalculateStatsResponse {
// A time series representing conversations over time.
Expand Down
14 changes: 7 additions & 7 deletions packages/google-cloud-contactcenterinsights/protos/protos.d.ts

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

52 changes: 26 additions & 26 deletions packages/google-cloud-contactcenterinsights/protos/protos.js

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

14 changes: 7 additions & 7 deletions packages/google-cloud-contactcenterinsights/protos/protos.json

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

0 comments on commit a78a420

Please sign in to comment.