Skip to content

Commit 8996bbe

Browse files
feat: A new resource pattern value projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} added to the resource definition `contactcenter... (#7952)
* feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}` added to the resource definition `contactcenterinsights.googleapis.com/Conversation` feat: A new field `agent_type` is added to message `.google.cloud.contactcenterinsights.v1.Conversation` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}` added to the resource definition `contactcenterinsights.googleapis.com/Analysis` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}` added to the resource definition `contactcenterinsights.googleapis.com/FeedbackLabel` PiperOrigin-RevId: 707203752 Source-Link: googleapis/googleapis@5546362 Source-Link: googleapis/googleapis-gen@f7186d1 Copy-Tag: eyJwIjoiQ29udGFjdENlbnRlckluc2lnaHRzLy5Pd2xCb3QueWFtbCIsImgiOiJmNzE4NmQxNGI0M2Q3ZmE5MDVjN2Y2NGI0YTI4ODZiNjk1NjY3ZjAzIn0=
1 parent fd71e0f commit 8996bbe

File tree

6 files changed

+225
-0
lines changed

6 files changed

+225
-0
lines changed
192 Bytes
Binary file not shown.
580 Bytes
Binary file not shown.

ContactCenterInsights/src/V1/Client/ContactCenterInsightsClient.php

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,172 @@ public static function projectConversationParticipantName(
558558
]);
559559
}
560560

561+
/**
562+
* Formats a string containing the fully-qualified path to represent a
563+
* project_location_authorized_view_set_authorized_view_conversation resource.
564+
*
565+
* @param string $project
566+
* @param string $location
567+
* @param string $authorizedViewSet
568+
* @param string $authorizedView
569+
* @param string $conversation
570+
*
571+
* @return string The formatted project_location_authorized_view_set_authorized_view_conversation resource.
572+
*/
573+
public static function projectLocationAuthorizedViewSetAuthorizedViewConversationName(
574+
string $project,
575+
string $location,
576+
string $authorizedViewSet,
577+
string $authorizedView,
578+
string $conversation
579+
): string {
580+
return self::getPathTemplate('projectLocationAuthorizedViewSetAuthorizedViewConversation')->render([
581+
'project' => $project,
582+
'location' => $location,
583+
'authorized_view_set' => $authorizedViewSet,
584+
'authorized_view' => $authorizedView,
585+
'conversation' => $conversation,
586+
]);
587+
}
588+
589+
/**
590+
* Formats a string containing the fully-qualified path to represent a
591+
* project_location_authorized_view_set_authorized_view_conversation_analysis
592+
* resource.
593+
*
594+
* @param string $project
595+
* @param string $location
596+
* @param string $authorizedViewSet
597+
* @param string $authorizedView
598+
* @param string $conversation
599+
* @param string $analysis
600+
*
601+
* @return string The formatted project_location_authorized_view_set_authorized_view_conversation_analysis resource.
602+
*/
603+
public static function projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysisName(
604+
string $project,
605+
string $location,
606+
string $authorizedViewSet,
607+
string $authorizedView,
608+
string $conversation,
609+
string $analysis
610+
): string {
611+
return self::getPathTemplate('projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis')->render([
612+
'project' => $project,
613+
'location' => $location,
614+
'authorized_view_set' => $authorizedViewSet,
615+
'authorized_view' => $authorizedView,
616+
'conversation' => $conversation,
617+
'analysis' => $analysis,
618+
]);
619+
}
620+
621+
/**
622+
* Formats a string containing the fully-qualified path to represent a
623+
* project_location_authorized_view_set_authorized_view_conversation_feedback_label
624+
* resource.
625+
*
626+
* @param string $project
627+
* @param string $location
628+
* @param string $authorizedViewSet
629+
* @param string $authorizedView
630+
* @param string $conversation
631+
* @param string $feedbackLabel
632+
*
633+
* @return string The formatted project_location_authorized_view_set_authorized_view_conversation_feedback_label resource.
634+
*/
635+
public static function projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabelName(
636+
string $project,
637+
string $location,
638+
string $authorizedViewSet,
639+
string $authorizedView,
640+
string $conversation,
641+
string $feedbackLabel
642+
): string {
643+
return self::getPathTemplate('projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel')->render(
644+
[
645+
'project' => $project,
646+
'location' => $location,
647+
'authorized_view_set' => $authorizedViewSet,
648+
'authorized_view' => $authorizedView,
649+
'conversation' => $conversation,
650+
'feedback_label' => $feedbackLabel,
651+
]
652+
);
653+
}
654+
655+
/**
656+
* Formats a string containing the fully-qualified path to represent a
657+
* project_location_conversation resource.
658+
*
659+
* @param string $project
660+
* @param string $location
661+
* @param string $conversation
662+
*
663+
* @return string The formatted project_location_conversation resource.
664+
*/
665+
public static function projectLocationConversationName(
666+
string $project,
667+
string $location,
668+
string $conversation
669+
): string {
670+
return self::getPathTemplate('projectLocationConversation')->render([
671+
'project' => $project,
672+
'location' => $location,
673+
'conversation' => $conversation,
674+
]);
675+
}
676+
677+
/**
678+
* Formats a string containing the fully-qualified path to represent a
679+
* project_location_conversation_analysis resource.
680+
*
681+
* @param string $project
682+
* @param string $location
683+
* @param string $conversation
684+
* @param string $analysis
685+
*
686+
* @return string The formatted project_location_conversation_analysis resource.
687+
*/
688+
public static function projectLocationConversationAnalysisName(
689+
string $project,
690+
string $location,
691+
string $conversation,
692+
string $analysis
693+
): string {
694+
return self::getPathTemplate('projectLocationConversationAnalysis')->render([
695+
'project' => $project,
696+
'location' => $location,
697+
'conversation' => $conversation,
698+
'analysis' => $analysis,
699+
]);
700+
}
701+
702+
/**
703+
* Formats a string containing the fully-qualified path to represent a
704+
* project_location_conversation_feedback_label resource.
705+
*
706+
* @param string $project
707+
* @param string $location
708+
* @param string $conversation
709+
* @param string $feedbackLabel
710+
*
711+
* @return string The formatted project_location_conversation_feedback_label resource.
712+
*/
713+
public static function projectLocationConversationFeedbackLabelName(
714+
string $project,
715+
string $location,
716+
string $conversation,
717+
string $feedbackLabel
718+
): string {
719+
return self::getPathTemplate('projectLocationConversationFeedbackLabel')->render([
720+
'project' => $project,
721+
'location' => $location,
722+
'conversation' => $conversation,
723+
'feedback_label' => $feedbackLabel,
724+
]);
725+
}
726+
561727
/**
562728
* Formats a string containing the fully-qualified path to represent a
563729
* project_location_conversation_participant resource.
@@ -745,6 +911,12 @@ public static function viewName(string $project, string $location, string $view)
745911
* - participant: projects/{project}/conversations/{conversation}/participants/{participant}
746912
* - phraseMatcher: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
747913
* - projectConversationParticipant: projects/{project}/conversations/{conversation}/participants/{participant}
914+
* - projectLocationAuthorizedViewSetAuthorizedViewConversation: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}
915+
* - projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}
916+
* - projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}
917+
* - projectLocationConversation: projects/{project}/locations/{location}/conversations/{conversation}
918+
* - projectLocationConversationAnalysis: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
919+
* - projectLocationConversationFeedbackLabel: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
748920
* - projectLocationConversationParticipant: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
749921
* - qaQuestion: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
750922
* - qaScorecard: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}

ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ContactCenterInsights/src/V1/resources/contact_center_insights_descriptor_config.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,12 @@
11341134
'participant' => 'projects/{project}/conversations/{conversation}/participants/{participant}',
11351135
'phraseMatcher' => 'projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}',
11361136
'projectConversationParticipant' => 'projects/{project}/conversations/{conversation}/participants/{participant}',
1137+
'projectLocationAuthorizedViewSetAuthorizedViewConversation' => 'projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}',
1138+
'projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis' => 'projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}',
1139+
'projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel' => 'projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}',
1140+
'projectLocationConversation' => 'projects/{project}/locations/{location}/conversations/{conversation}',
1141+
'projectLocationConversationAnalysis' => 'projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}',
1142+
'projectLocationConversationFeedbackLabel' => 'projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}',
11371143
'projectLocationConversationParticipant' => 'projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}',
11381144
'qaQuestion' => 'projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}',
11391145
'qaScorecard' => 'projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}',

ContactCenterInsights/src/V1/resources/contact_center_insights_rest_client_config.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
'CalculateStats' => [
8686
'method' => 'get',
8787
'uriTemplate' => '/v1/{location=projects/*/locations/*}/conversations:calculateStats',
88+
'additionalBindings' => [
89+
[
90+
'method' => 'get',
91+
'uriTemplate' => '/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:calculateStats',
92+
],
93+
],
8894
'placeholders' => [
8995
'location' => [
9096
'getters' => [
@@ -698,6 +704,13 @@
698704
'method' => 'post',
699705
'uriTemplate' => '/v1/{location=projects/*/locations/*}:queryMetrics',
700706
'body' => '*',
707+
'additionalBindings' => [
708+
[
709+
'method' => 'post',
710+
'uriTemplate' => '/v1/{location=projects/*/locations/*/authorizedViewSet/*/authorizedView/*}:queryMetrics',
711+
'body' => '*',
712+
],
713+
],
701714
'placeholders' => [
702715
'location' => [
703716
'getters' => [

0 commit comments

Comments
 (0)