Skip to content

Commit f869af3

Browse files
1 parent 42504e2 commit f869af3

16 files changed

Lines changed: 746 additions & 183 deletions

src/Contactcenterinsights.php

Lines changed: 23 additions & 148 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class Contactcenterinsights extends \Google\Service
4444
public $projects_locations_authorizedViewSets;
4545
public $projects_locations_authorizedViewSets_authorizedViews;
4646
public $projects_locations_authorizedViewSets_authorizedViews_conversations;
47-
public $projects_locations_authorizedViewSets_authorizedViews_conversations_analyses;
4847
public $projects_locations_authorizedViewSets_authorizedViews_conversations_assessments;
4948
public $projects_locations_authorizedViewSets_authorizedViews_conversations_assessments_notes;
5049
public $projects_locations_authorizedViewSets_authorizedViews_conversations_feedbackLabels;
@@ -54,9 +53,9 @@ class Contactcenterinsights extends \Google\Service
5453
public $projects_locations_conversations_assessments;
5554
public $projects_locations_conversations_assessments_notes;
5655
public $projects_locations_conversations_feedbackLabels;
56+
public $projects_locations_conversations_segments;
5757
public $projects_locations_datasets;
5858
public $projects_locations_datasets_conversations;
59-
public $projects_locations_datasets_conversations_analyses;
6059
public $projects_locations_datasets_conversations_feedbackLabels;
6160
public $projects_locations_datasets_insightsdata;
6261
public $projects_locations_encryptionSpec;
@@ -612,17 +611,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
612611
'conversations',
613612
[
614613
'methods' => [
615-
'bulkAnalyze' => [
616-
'path' => 'v1/{+parent}/conversations:bulkAnalyze',
617-
'httpMethod' => 'POST',
618-
'parameters' => [
619-
'parent' => [
620-
'location' => 'path',
621-
'type' => 'string',
622-
'required' => true,
623-
],
624-
],
625-
],'calculateStats' => [
614+
'calculateStats' => [
626615
'path' => 'v1/{+location}/conversations:calculateStats',
627616
'httpMethod' => 'GET',
628617
'parameters' => [
@@ -698,68 +687,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
698687
]
699688
]
700689
);
701-
$this->projects_locations_authorizedViewSets_authorizedViews_conversations_analyses = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAnalyses(
702-
$this,
703-
$this->serviceName,
704-
'analyses',
705-
[
706-
'methods' => [
707-
'create' => [
708-
'path' => 'v1/{+parent}/analyses',
709-
'httpMethod' => 'POST',
710-
'parameters' => [
711-
'parent' => [
712-
'location' => 'path',
713-
'type' => 'string',
714-
'required' => true,
715-
],
716-
],
717-
],'delete' => [
718-
'path' => 'v1/{+name}',
719-
'httpMethod' => 'DELETE',
720-
'parameters' => [
721-
'name' => [
722-
'location' => 'path',
723-
'type' => 'string',
724-
'required' => true,
725-
],
726-
],
727-
],'get' => [
728-
'path' => 'v1/{+name}',
729-
'httpMethod' => 'GET',
730-
'parameters' => [
731-
'name' => [
732-
'location' => 'path',
733-
'type' => 'string',
734-
'required' => true,
735-
],
736-
],
737-
],'list' => [
738-
'path' => 'v1/{+parent}/analyses',
739-
'httpMethod' => 'GET',
740-
'parameters' => [
741-
'parent' => [
742-
'location' => 'path',
743-
'type' => 'string',
744-
'required' => true,
745-
],
746-
'filter' => [
747-
'location' => 'query',
748-
'type' => 'string',
749-
],
750-
'pageSize' => [
751-
'location' => 'query',
752-
'type' => 'integer',
753-
],
754-
'pageToken' => [
755-
'location' => 'query',
756-
'type' => 'string',
757-
],
758-
],
759-
],
760-
]
761-
]
762-
);
763690
$this->projects_locations_authorizedViewSets_authorizedViews_conversations_assessments = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments(
764691
$this,
765692
$this->serviceName,
@@ -1518,6 +1445,26 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
15181445
]
15191446
]
15201447
);
1448+
$this->projects_locations_conversations_segments = new Contactcenterinsights\Resource\ProjectsLocationsConversationsSegments(
1449+
$this,
1450+
$this->serviceName,
1451+
'segments',
1452+
[
1453+
'methods' => [
1454+
'bulkAnalyze' => [
1455+
'path' => 'v1/{+parent}/segments:bulkAnalyze',
1456+
'httpMethod' => 'POST',
1457+
'parameters' => [
1458+
'parent' => [
1459+
'location' => 'path',
1460+
'type' => 'string',
1461+
'required' => true,
1462+
],
1463+
],
1464+
],
1465+
]
1466+
]
1467+
);
15211468
$this->projects_locations_datasets = new Contactcenterinsights\Resource\ProjectsLocationsDatasets(
15221469
$this,
15231470
$this->serviceName,
@@ -1656,17 +1603,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
16561603
'conversations',
16571604
[
16581605
'methods' => [
1659-
'bulkAnalyze' => [
1660-
'path' => 'v1/{+parent}/conversations:bulkAnalyze',
1661-
'httpMethod' => 'POST',
1662-
'parameters' => [
1663-
'parent' => [
1664-
'location' => 'path',
1665-
'type' => 'string',
1666-
'required' => true,
1667-
],
1668-
],
1669-
],'bulkDelete' => [
1606+
'bulkDelete' => [
16701607
'path' => 'v1/{+parent}/conversations:bulkDelete',
16711608
'httpMethod' => 'POST',
16721609
'parameters' => [
@@ -1768,68 +1705,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
17681705
]
17691706
]
17701707
);
1771-
$this->projects_locations_datasets_conversations_analyses = new Contactcenterinsights\Resource\ProjectsLocationsDatasetsConversationsAnalyses(
1772-
$this,
1773-
$this->serviceName,
1774-
'analyses',
1775-
[
1776-
'methods' => [
1777-
'create' => [
1778-
'path' => 'v1/{+parent}/analyses',
1779-
'httpMethod' => 'POST',
1780-
'parameters' => [
1781-
'parent' => [
1782-
'location' => 'path',
1783-
'type' => 'string',
1784-
'required' => true,
1785-
],
1786-
],
1787-
],'delete' => [
1788-
'path' => 'v1/{+name}',
1789-
'httpMethod' => 'DELETE',
1790-
'parameters' => [
1791-
'name' => [
1792-
'location' => 'path',
1793-
'type' => 'string',
1794-
'required' => true,
1795-
],
1796-
],
1797-
],'get' => [
1798-
'path' => 'v1/{+name}',
1799-
'httpMethod' => 'GET',
1800-
'parameters' => [
1801-
'name' => [
1802-
'location' => 'path',
1803-
'type' => 'string',
1804-
'required' => true,
1805-
],
1806-
],
1807-
],'list' => [
1808-
'path' => 'v1/{+parent}/analyses',
1809-
'httpMethod' => 'GET',
1810-
'parameters' => [
1811-
'parent' => [
1812-
'location' => 'path',
1813-
'type' => 'string',
1814-
'required' => true,
1815-
],
1816-
'filter' => [
1817-
'location' => 'query',
1818-
'type' => 'string',
1819-
],
1820-
'pageSize' => [
1821-
'location' => 'query',
1822-
'type' => 'integer',
1823-
],
1824-
'pageToken' => [
1825-
'location' => 'query',
1826-
'type' => 'string',
1827-
],
1828-
],
1829-
],
1830-
]
1831-
]
1832-
);
18331708
$this->projects_locations_datasets_conversations_feedbackLabels = new Contactcenterinsights\Resource\ProjectsLocationsDatasetsConversationsFeedbackLabels(
18341709
$this,
18351710
$this->serviceName,

src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1Dimension.php

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,22 @@ class GoogleCloudContactcenterinsightsV1Dimension extends \Google\Model
2121
{
2222
protected $agentDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata::class;
2323
protected $agentDimensionMetadataDataType = '';
24+
protected $clientSentimentCategoryDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata::class;
25+
protected $clientSentimentCategoryDimensionMetadataDataType = '';
26+
protected $conversationProfileDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata::class;
27+
protected $conversationProfileDimensionMetadataDataType = '';
28+
protected $conversationalAgentsPlaybookDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata::class;
29+
protected $conversationalAgentsPlaybookDimensionMetadataDataType = '';
30+
protected $conversationalAgentsToolDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata::class;
31+
protected $conversationalAgentsToolDimensionMetadataDataType = '';
2432
/**
2533
* @var string
2634
*/
2735
public $dimensionKey;
2836
protected $issueDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata::class;
2937
protected $issueDimensionMetadataDataType = '';
38+
protected $mediumDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata::class;
39+
protected $mediumDimensionMetadataDataType = '';
3040
protected $qaQuestionAnswerDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata::class;
3141
protected $qaQuestionAnswerDimensionMetadataDataType = '';
3242
protected $qaQuestionDimensionMetadataType = GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata::class;
@@ -48,6 +58,62 @@ public function getAgentDimensionMetadata()
4858
{
4959
return $this->agentDimensionMetadata;
5060
}
61+
/**
62+
* @param GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata
63+
*/
64+
public function setClientSentimentCategoryDimensionMetadata(GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata $clientSentimentCategoryDimensionMetadata)
65+
{
66+
$this->clientSentimentCategoryDimensionMetadata = $clientSentimentCategoryDimensionMetadata;
67+
}
68+
/**
69+
* @return GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata
70+
*/
71+
public function getClientSentimentCategoryDimensionMetadata()
72+
{
73+
return $this->clientSentimentCategoryDimensionMetadata;
74+
}
75+
/**
76+
* @param GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata
77+
*/
78+
public function setConversationProfileDimensionMetadata(GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata $conversationProfileDimensionMetadata)
79+
{
80+
$this->conversationProfileDimensionMetadata = $conversationProfileDimensionMetadata;
81+
}
82+
/**
83+
* @return GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata
84+
*/
85+
public function getConversationProfileDimensionMetadata()
86+
{
87+
return $this->conversationProfileDimensionMetadata;
88+
}
89+
/**
90+
* @param GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata
91+
*/
92+
public function setConversationalAgentsPlaybookDimensionMetadata(GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata $conversationalAgentsPlaybookDimensionMetadata)
93+
{
94+
$this->conversationalAgentsPlaybookDimensionMetadata = $conversationalAgentsPlaybookDimensionMetadata;
95+
}
96+
/**
97+
* @return GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata
98+
*/
99+
public function getConversationalAgentsPlaybookDimensionMetadata()
100+
{
101+
return $this->conversationalAgentsPlaybookDimensionMetadata;
102+
}
103+
/**
104+
* @param GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata
105+
*/
106+
public function setConversationalAgentsToolDimensionMetadata(GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata $conversationalAgentsToolDimensionMetadata)
107+
{
108+
$this->conversationalAgentsToolDimensionMetadata = $conversationalAgentsToolDimensionMetadata;
109+
}
110+
/**
111+
* @return GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata
112+
*/
113+
public function getConversationalAgentsToolDimensionMetadata()
114+
{
115+
return $this->conversationalAgentsToolDimensionMetadata;
116+
}
51117
/**
52118
* @param string
53119
*/
@@ -76,6 +142,20 @@ public function getIssueDimensionMetadata()
76142
{
77143
return $this->issueDimensionMetadata;
78144
}
145+
/**
146+
* @param GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata
147+
*/
148+
public function setMediumDimensionMetadata(GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata $mediumDimensionMetadata)
149+
{
150+
$this->mediumDimensionMetadata = $mediumDimensionMetadata;
151+
}
152+
/**
153+
* @return GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata
154+
*/
155+
public function getMediumDimensionMetadata()
156+
{
157+
return $this->mediumDimensionMetadata;
158+
}
79159
/**
80160
* @param GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata
81161
*/
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Contactcenterinsights;
19+
20+
class GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $sentimentCategory;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setSentimentCategory($sentimentCategory)
31+
{
32+
$this->sentimentCategory = $sentimentCategory;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getSentimentCategory()
38+
{
39+
return $this->sentimentCategory;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata');

0 commit comments

Comments
 (0)