Skip to content

Commit a665c02

Browse files
1 parent 8ae95f7 commit a665c02

19 files changed

Lines changed: 414 additions & 12 deletions

src/Contactcenterinsights.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
639639
'type' => 'boolean',
640640
],
641641
],
642+
],'generateSignedAudio' => [
643+
'path' => 'v1/{+name}:generateSignedAudio',
644+
'httpMethod' => 'GET',
645+
'parameters' => [
646+
'name' => [
647+
'location' => 'path',
648+
'type' => 'string',
649+
'required' => true,
650+
],
651+
],
642652
],'get' => [
643653
'path' => 'v1/{+name}',
644654
'httpMethod' => 'GET',
@@ -1049,6 +1059,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
10491059
'type' => 'boolean',
10501060
],
10511061
],
1062+
],'generateSignedAudio' => [
1063+
'path' => 'v1/{+name}:generateSignedAudio',
1064+
'httpMethod' => 'GET',
1065+
'parameters' => [
1066+
'name' => [
1067+
'location' => 'path',
1068+
'type' => 'string',
1069+
'required' => true,
1070+
],
1071+
],
10521072
],'get' => [
10531073
'path' => 'v1/{+name}',
10541074
'httpMethod' => 'GET',
@@ -1637,6 +1657,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
16371657
'type' => 'boolean',
16381658
],
16391659
],
1660+
],'generateSignedAudio' => [
1661+
'path' => 'v1/{+name}:generateSignedAudio',
1662+
'httpMethod' => 'GET',
1663+
'parameters' => [
1664+
'name' => [
1665+
'location' => 'path',
1666+
'type' => 'string',
1667+
'required' => true,
1668+
],
1669+
],
16401670
],'get' => [
16411671
'path' => 'v1/{+name}',
16421672
'httpMethod' => 'GET',
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio extends \Google\Model
21+
{
22+
/**
23+
* The duration of the audio.
24+
*
25+
* @var string
26+
*/
27+
public $audioDuration;
28+
/**
29+
* The Cloud Storage URI of the audio for any given turn.
30+
*
31+
* @var string
32+
*/
33+
public $audioGcsUri;
34+
35+
/**
36+
* The duration of the audio.
37+
*
38+
* @param string $audioDuration
39+
*/
40+
public function setAudioDuration($audioDuration)
41+
{
42+
$this->audioDuration = $audioDuration;
43+
}
44+
/**
45+
* @return string
46+
*/
47+
public function getAudioDuration()
48+
{
49+
return $this->audioDuration;
50+
}
51+
/**
52+
* The Cloud Storage URI of the audio for any given turn.
53+
*
54+
* @param string $audioGcsUri
55+
*/
56+
public function setAudioGcsUri($audioGcsUri)
57+
{
58+
$this->audioGcsUri = $audioGcsUri;
59+
}
60+
/**
61+
* @return string
62+
*/
63+
public function getAudioGcsUri()
64+
{
65+
return $this->audioGcsUri;
66+
}
67+
}
68+
69+
// Adding a class alias for backwards compatibility with the previous class name.
70+
class_alias(GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio');

src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest extends \Googl
7979
* Export schema version 14.
8080
*/
8181
public const EXPORT_SCHEMA_VERSION_EXPORT_V14 = 'EXPORT_V14';
82+
/**
83+
* Export schema version 15.
84+
*/
85+
public const EXPORT_SCHEMA_VERSION_EXPORT_V15 = 'EXPORT_V15';
86+
/**
87+
* Export schema version 16.
88+
*/
89+
public const EXPORT_SCHEMA_VERSION_EXPORT_V16 = 'EXPORT_V16';
8290
/**
8391
* Export schema version latest available.
8492
*/
@@ -154,7 +162,7 @@ public function getBigQueryDestination()
154162
* Accepted values: EXPORT_SCHEMA_VERSION_UNSPECIFIED, EXPORT_V1, EXPORT_V2,
155163
* EXPORT_V3, EXPORT_V4, EXPORT_V5, EXPORT_V6, EXPORT_V7, EXPORT_V8,
156164
* EXPORT_V9, EXPORT_V10, EXPORT_V11, EXPORT_V12, EXPORT_V13, EXPORT_V14,
157-
* EXPORT_VERSION_LATEST_AVAILABLE
165+
* EXPORT_V15, EXPORT_V16, EXPORT_VERSION_LATEST_AVAILABLE
158166
*
159167
* @param self::EXPORT_SCHEMA_VERSION_* $exportSchemaVersion
160168
*/
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 GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse extends \Google\Model
21+
{
22+
protected $signedAudioUrisType = GoogleCloudContactcenterinsightsV1SignedAudioUris::class;
23+
protected $signedAudioUrisDataType = '';
24+
25+
/**
26+
* The signed uris for the audio.
27+
*
28+
* @param GoogleCloudContactcenterinsightsV1SignedAudioUris $signedAudioUris
29+
*/
30+
public function setSignedAudioUris(GoogleCloudContactcenterinsightsV1SignedAudioUris $signedAudioUris)
31+
{
32+
$this->signedAudioUris = $signedAudioUris;
33+
}
34+
/**
35+
* @return GoogleCloudContactcenterinsightsV1SignedAudioUris
36+
*/
37+
public function getSignedAudioUris()
38+
{
39+
return $this->signedAudioUris;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse');

src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1QaAnswer.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ class GoogleCloudContactcenterinsightsV1QaAnswer extends \Google\Collection
5252
public $tags;
5353

5454
/**
55-
* List of all individual answers given to the question.
55+
* Lists all answer sources containing one or more answer values of a specific
56+
* source type, e.g., all system-generated answer sources, or all manual edit
57+
* answer sources.
5658
*
5759
* @param GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource[] $answerSources
5860
*/
@@ -68,7 +70,9 @@ public function getAnswerSources()
6870
return $this->answerSources;
6971
}
7072
/**
71-
* The main answer value, incorporating any manual edits if they exist.
73+
* The answer value from this source. This field is populated by default,
74+
* unless the question has a selection strategy configured to return multiple
75+
* answer values, in which case `answer_values` will be populated instead.
7276
*
7377
* @param GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue $answerValue
7478
*/

src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ class GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource extends \Google\Mod
4141
public $sourceType;
4242

4343
/**
44-
* The answer value from this source.
44+
* The answer value from this source. This field is populated by default,
45+
* unless the question has a selection strategy configured to return multiple
46+
* answer values, in which case `answer_values` will be populated instead.
4547
*
4648
* @param GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue $answerValue
4749
*/
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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 GoogleCloudContactcenterinsightsV1SignedAudioUris extends \Google\Collection
21+
{
22+
protected $collection_key = 'signedTurnLevelAudios';
23+
/**
24+
* The signed URI for the audio from the Dialogflow conversation source.
25+
*
26+
* @var string
27+
*/
28+
public $signedDialogflowAudioUri;
29+
/**
30+
* The signed URI for the audio from the Cloud Storage conversation source.
31+
*
32+
* @var string
33+
*/
34+
public $signedGcsAudioUri;
35+
protected $signedTurnLevelAudiosType = GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio::class;
36+
protected $signedTurnLevelAudiosDataType = 'array';
37+
38+
/**
39+
* The signed URI for the audio from the Dialogflow conversation source.
40+
*
41+
* @param string $signedDialogflowAudioUri
42+
*/
43+
public function setSignedDialogflowAudioUri($signedDialogflowAudioUri)
44+
{
45+
$this->signedDialogflowAudioUri = $signedDialogflowAudioUri;
46+
}
47+
/**
48+
* @return string
49+
*/
50+
public function getSignedDialogflowAudioUri()
51+
{
52+
return $this->signedDialogflowAudioUri;
53+
}
54+
/**
55+
* The signed URI for the audio from the Cloud Storage conversation source.
56+
*
57+
* @param string $signedGcsAudioUri
58+
*/
59+
public function setSignedGcsAudioUri($signedGcsAudioUri)
60+
{
61+
$this->signedGcsAudioUri = $signedGcsAudioUri;
62+
}
63+
/**
64+
* @return string
65+
*/
66+
public function getSignedGcsAudioUri()
67+
{
68+
return $this->signedGcsAudioUri;
69+
}
70+
/**
71+
* The signed URI for the audio corresponding to each turn in the
72+
* conversation.
73+
*
74+
* @param GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio[] $signedTurnLevelAudios
75+
*/
76+
public function setSignedTurnLevelAudios($signedTurnLevelAudios)
77+
{
78+
$this->signedTurnLevelAudios = $signedTurnLevelAudios;
79+
}
80+
/**
81+
* @return GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio[]
82+
*/
83+
public function getSignedTurnLevelAudios()
84+
{
85+
return $this->signedTurnLevelAudios;
86+
}
87+
}
88+
89+
// Adding a class alias for backwards compatibility with the previous class name.
90+
class_alias(GoogleCloudContactcenterinsightsV1SignedAudioUris::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1SignedAudioUris');

src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1SpeechConfig.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919

2020
class GoogleCloudContactcenterinsightsV1SpeechConfig extends \Google\Model
2121
{
22+
/**
23+
* Whether to disable word time offsets. If true, the
24+
* `enable_word_time_offsets` field in the recognition config will be set to
25+
* false.
26+
*
27+
* @var bool
28+
*/
29+
public $disableWordTimeOffsets;
2230
/**
2331
* The fully-qualified Speech Recognizer resource name. Format:
2432
* `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
@@ -27,6 +35,24 @@ class GoogleCloudContactcenterinsightsV1SpeechConfig extends \Google\Model
2735
*/
2836
public $speechRecognizer;
2937

38+
/**
39+
* Whether to disable word time offsets. If true, the
40+
* `enable_word_time_offsets` field in the recognition config will be set to
41+
* false.
42+
*
43+
* @param bool $disableWordTimeOffsets
44+
*/
45+
public function setDisableWordTimeOffsets($disableWordTimeOffsets)
46+
{
47+
$this->disableWordTimeOffsets = $disableWordTimeOffsets;
48+
}
49+
/**
50+
* @return bool
51+
*/
52+
public function getDisableWordTimeOffsets()
53+
{
54+
return $this->disableWordTimeOffsets;
55+
}
3056
/**
3157
* The fully-qualified Speech Recognizer resource name. Format:
3258
* `projects/{project_id}/locations/{location}/recognizer/{recognizer}`

src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest extends
7979
* Export schema version 14.
8080
*/
8181
public const EXPORT_SCHEMA_VERSION_EXPORT_V14 = 'EXPORT_V14';
82+
/**
83+
* Export schema version 15.
84+
*/
85+
public const EXPORT_SCHEMA_VERSION_EXPORT_V15 = 'EXPORT_V15';
86+
/**
87+
* Export schema version 16.
88+
*/
89+
public const EXPORT_SCHEMA_VERSION_EXPORT_V16 = 'EXPORT_V16';
8290
/**
8391
* Export schema version latest available.
8492
*/
@@ -154,7 +162,7 @@ public function getBigQueryDestination()
154162
* Accepted values: EXPORT_SCHEMA_VERSION_UNSPECIFIED, EXPORT_V1, EXPORT_V2,
155163
* EXPORT_V3, EXPORT_V4, EXPORT_V5, EXPORT_V6, EXPORT_V7, EXPORT_V8,
156164
* EXPORT_V9, EXPORT_V10, EXPORT_V11, EXPORT_V12, EXPORT_V13, EXPORT_V14,
157-
* EXPORT_VERSION_LATEST_AVAILABLE
165+
* EXPORT_V15, EXPORT_V16, EXPORT_VERSION_LATEST_AVAILABLE
158166
*
159167
* @param self::EXPORT_SCHEMA_VERSION_* $exportSchemaVersion
160168
*/

0 commit comments

Comments
 (0)