diff --git a/ContactCenterInsights/metadata/V1/ContactCenterInsights.php b/ContactCenterInsights/metadata/V1/ContactCenterInsights.php
index f59ebb18cacd..3a19014a818b 100644
Binary files a/ContactCenterInsights/metadata/V1/ContactCenterInsights.php and b/ContactCenterInsights/metadata/V1/ContactCenterInsights.php differ
diff --git a/ContactCenterInsights/metadata/V1/Resources.php b/ContactCenterInsights/metadata/V1/Resources.php
index 4b054a75e4b5..29ff41bf5de9 100644
Binary files a/ContactCenterInsights/metadata/V1/Resources.php and b/ContactCenterInsights/metadata/V1/Resources.php differ
diff --git a/ContactCenterInsights/src/V1/Client/ContactCenterInsightsClient.php b/ContactCenterInsights/src/V1/Client/ContactCenterInsightsClient.php
index 0b139d236e4b..2e761a0880bc 100644
--- a/ContactCenterInsights/src/V1/Client/ContactCenterInsightsClient.php
+++ b/ContactCenterInsights/src/V1/Client/ContactCenterInsightsClient.php
@@ -558,6 +558,172 @@ public static function projectConversationParticipantName(
]);
}
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * project_location_authorized_view_set_authorized_view_conversation resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $authorizedViewSet
+ * @param string $authorizedView
+ * @param string $conversation
+ *
+ * @return string The formatted project_location_authorized_view_set_authorized_view_conversation resource.
+ */
+ public static function projectLocationAuthorizedViewSetAuthorizedViewConversationName(
+ string $project,
+ string $location,
+ string $authorizedViewSet,
+ string $authorizedView,
+ string $conversation
+ ): string {
+ return self::getPathTemplate('projectLocationAuthorizedViewSetAuthorizedViewConversation')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'authorized_view_set' => $authorizedViewSet,
+ 'authorized_view' => $authorizedView,
+ 'conversation' => $conversation,
+ ]);
+ }
+
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * project_location_authorized_view_set_authorized_view_conversation_analysis
+ * resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $authorizedViewSet
+ * @param string $authorizedView
+ * @param string $conversation
+ * @param string $analysis
+ *
+ * @return string The formatted project_location_authorized_view_set_authorized_view_conversation_analysis resource.
+ */
+ public static function projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysisName(
+ string $project,
+ string $location,
+ string $authorizedViewSet,
+ string $authorizedView,
+ string $conversation,
+ string $analysis
+ ): string {
+ return self::getPathTemplate('projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'authorized_view_set' => $authorizedViewSet,
+ 'authorized_view' => $authorizedView,
+ 'conversation' => $conversation,
+ 'analysis' => $analysis,
+ ]);
+ }
+
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * project_location_authorized_view_set_authorized_view_conversation_feedback_label
+ * resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $authorizedViewSet
+ * @param string $authorizedView
+ * @param string $conversation
+ * @param string $feedbackLabel
+ *
+ * @return string The formatted project_location_authorized_view_set_authorized_view_conversation_feedback_label resource.
+ */
+ public static function projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabelName(
+ string $project,
+ string $location,
+ string $authorizedViewSet,
+ string $authorizedView,
+ string $conversation,
+ string $feedbackLabel
+ ): string {
+ return self::getPathTemplate('projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel')->render(
+ [
+ 'project' => $project,
+ 'location' => $location,
+ 'authorized_view_set' => $authorizedViewSet,
+ 'authorized_view' => $authorizedView,
+ 'conversation' => $conversation,
+ 'feedback_label' => $feedbackLabel,
+ ]
+ );
+ }
+
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * project_location_conversation resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $conversation
+ *
+ * @return string The formatted project_location_conversation resource.
+ */
+ public static function projectLocationConversationName(
+ string $project,
+ string $location,
+ string $conversation
+ ): string {
+ return self::getPathTemplate('projectLocationConversation')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'conversation' => $conversation,
+ ]);
+ }
+
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * project_location_conversation_analysis resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $conversation
+ * @param string $analysis
+ *
+ * @return string The formatted project_location_conversation_analysis resource.
+ */
+ public static function projectLocationConversationAnalysisName(
+ string $project,
+ string $location,
+ string $conversation,
+ string $analysis
+ ): string {
+ return self::getPathTemplate('projectLocationConversationAnalysis')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'conversation' => $conversation,
+ 'analysis' => $analysis,
+ ]);
+ }
+
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * project_location_conversation_feedback_label resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $conversation
+ * @param string $feedbackLabel
+ *
+ * @return string The formatted project_location_conversation_feedback_label resource.
+ */
+ public static function projectLocationConversationFeedbackLabelName(
+ string $project,
+ string $location,
+ string $conversation,
+ string $feedbackLabel
+ ): string {
+ return self::getPathTemplate('projectLocationConversationFeedbackLabel')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'conversation' => $conversation,
+ 'feedback_label' => $feedbackLabel,
+ ]);
+ }
+
/**
* Formats a string containing the fully-qualified path to represent a
* project_location_conversation_participant resource.
@@ -745,6 +911,12 @@ public static function viewName(string $project, string $location, string $view)
* - participant: projects/{project}/conversations/{conversation}/participants/{participant}
* - phraseMatcher: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
* - projectConversationParticipant: projects/{project}/conversations/{conversation}/participants/{participant}
+ * - projectLocationAuthorizedViewSetAuthorizedViewConversation: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}
+ * - projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}
+ * - projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}
+ * - projectLocationConversation: projects/{project}/locations/{location}/conversations/{conversation}
+ * - projectLocationConversationAnalysis: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
+ * - projectLocationConversationFeedbackLabel: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
* - projectLocationConversationParticipant: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
* - qaQuestion: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
* - qaScorecard: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
diff --git a/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php b/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php
index ac0dbc6bc718..a677c3a0b866 100644
--- a/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php
+++ b/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php
@@ -40,6 +40,12 @@ class AgentInfo extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string disposition_code = 4;
*/
protected $disposition_code = '';
+ /**
+ * The agent type, e.g. HUMAN_AGENT.
+ *
+ * Generated from protobuf field .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
+ */
+ protected $agent_type = 0;
/**
* Constructor.
@@ -56,6 +62,8 @@ class AgentInfo extends \Google\Protobuf\Internal\Message
* @type string $disposition_code
* A user-provided string indicating the outcome of the agent's segment of
* the call.
+ * @type int $agent_type
+ * The agent type, e.g. HUMAN_AGENT.
* }
*/
public function __construct($data = NULL) {
@@ -169,6 +177,32 @@ public function setDispositionCode($var)
return $this;
}
+ /**
+ * The agent type, e.g. HUMAN_AGENT.
+ *
+ * Generated from protobuf field .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
+ * @return int
+ */
+ public function getAgentType()
+ {
+ return $this->agent_type;
+ }
+
+ /**
+ * The agent type, e.g. HUMAN_AGENT.
+ *
+ * Generated from protobuf field .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role agent_type = 5;
+ * @param int $var
+ * @return $this
+ */
+ public function setAgentType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\ContactCenterInsights\V1\ConversationParticipant\Role::class);
+ $this->agent_type = $var;
+
+ return $this;
+ }
+
}
diff --git a/ContactCenterInsights/src/V1/resources/contact_center_insights_descriptor_config.php b/ContactCenterInsights/src/V1/resources/contact_center_insights_descriptor_config.php
index 482951657a19..d4c32359db92 100644
--- a/ContactCenterInsights/src/V1/resources/contact_center_insights_descriptor_config.php
+++ b/ContactCenterInsights/src/V1/resources/contact_center_insights_descriptor_config.php
@@ -1134,6 +1134,12 @@
'participant' => 'projects/{project}/conversations/{conversation}/participants/{participant}',
'phraseMatcher' => 'projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}',
'projectConversationParticipant' => 'projects/{project}/conversations/{conversation}/participants/{participant}',
+ 'projectLocationAuthorizedViewSetAuthorizedViewConversation' => 'projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}',
+ 'projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis' => 'projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}',
+ 'projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel' => 'projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}',
+ 'projectLocationConversation' => 'projects/{project}/locations/{location}/conversations/{conversation}',
+ 'projectLocationConversationAnalysis' => 'projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}',
+ 'projectLocationConversationFeedbackLabel' => 'projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}',
'projectLocationConversationParticipant' => 'projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}',
'qaQuestion' => 'projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}',
'qaScorecard' => 'projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}',
diff --git a/ContactCenterInsights/src/V1/resources/contact_center_insights_rest_client_config.php b/ContactCenterInsights/src/V1/resources/contact_center_insights_rest_client_config.php
index 0f0f4be5ef00..868ef5aa4bdf 100644
--- a/ContactCenterInsights/src/V1/resources/contact_center_insights_rest_client_config.php
+++ b/ContactCenterInsights/src/V1/resources/contact_center_insights_rest_client_config.php
@@ -85,6 +85,12 @@
'CalculateStats' => [
'method' => 'get',
'uriTemplate' => '/v1/{location=projects/*/locations/*}/conversations:calculateStats',
+ 'additionalBindings' => [
+ [
+ 'method' => 'get',
+ 'uriTemplate' => '/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:calculateStats',
+ ],
+ ],
'placeholders' => [
'location' => [
'getters' => [
@@ -698,6 +704,13 @@
'method' => 'post',
'uriTemplate' => '/v1/{location=projects/*/locations/*}:queryMetrics',
'body' => '*',
+ 'additionalBindings' => [
+ [
+ 'method' => 'post',
+ 'uriTemplate' => '/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:queryMetrics',
+ 'body' => '*',
+ ],
+ ],
'placeholders' => [
'location' => [
'getters' => [