V2/AudioConfig/Types.pm untested

filter: Statementstmt 0.0% 0 / 154 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 159 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Dialogflow::V2::AudioConfig::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'TelephonyDtmf',
11 as (Int | Str);
12  
13 declare 'AudioEncoding',
14 as (Int | Str);
15  
16 declare 'SpeechModelVariant',
17 as (Int | Str);
18  
19 declare 'SsmlVoiceGender',
20 as (Int | Str);
21  
22 declare 'OutputAudioEncoding',
23 as (Int | Str);
24  
25 declare 'SpeechContext',
26 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::SpeechContext'];
27  
28 coerce 'SpeechContext',
29 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechContext'->new($_) };
30  
31 declare 'RepeatedSpeechContext',
32 as ArrayRef[SpeechContext()];
33  
34 coerce 'RepeatedSpeechContext',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechContext'->new($_) } @$_ ] };
36  
37 declare 'MapStringSpeechContext',
38 as HashRef[SpeechContext()];
39  
40 declare 'SpeechWordInfo',
41 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::SpeechWordInfo'];
42  
43 coerce 'SpeechWordInfo',
44 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechWordInfo'->new($_) };
45  
46 declare 'RepeatedSpeechWordInfo',
47 as ArrayRef[SpeechWordInfo()];
48  
49 coerce 'RepeatedSpeechWordInfo',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechWordInfo'->new($_) } @$_ ] };
51  
52 declare 'MapStringSpeechWordInfo',
53 as HashRef[SpeechWordInfo()];
54  
55 declare 'InputAudioConfig',
56 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::InputAudioConfig'];
57  
58 coerce 'InputAudioConfig',
59 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::InputAudioConfig'->new($_) };
60  
61 declare 'RepeatedInputAudioConfig',
62 as ArrayRef[InputAudioConfig()];
63  
64 coerce 'RepeatedInputAudioConfig',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::InputAudioConfig'->new($_) } @$_ ] };
66  
67 declare 'MapStringInputAudioConfig',
68 as HashRef[InputAudioConfig()];
69  
70 declare 'VoiceSelectionParams',
71 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::VoiceSelectionParams'];
72  
73 coerce 'VoiceSelectionParams',
74 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::VoiceSelectionParams'->new($_) };
75  
76 declare 'RepeatedVoiceSelectionParams',
77 as ArrayRef[VoiceSelectionParams()];
78  
79 coerce 'RepeatedVoiceSelectionParams',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::VoiceSelectionParams'->new($_) } @$_ ] };
81  
82 declare 'MapStringVoiceSelectionParams',
83 as HashRef[VoiceSelectionParams()];
84  
85 declare 'SynthesizeSpeechConfig',
86 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::SynthesizeSpeechConfig'];
87  
88 coerce 'SynthesizeSpeechConfig',
89 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::SynthesizeSpeechConfig'->new($_) };
90  
91 declare 'RepeatedSynthesizeSpeechConfig',
92 as ArrayRef[SynthesizeSpeechConfig()];
93  
94 coerce 'RepeatedSynthesizeSpeechConfig',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::SynthesizeSpeechConfig'->new($_) } @$_ ] };
96  
97 declare 'MapStringSynthesizeSpeechConfig',
98 as HashRef[SynthesizeSpeechConfig()];
99  
100 declare 'CustomPronunciationParams',
101 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::CustomPronunciationParams'];
102  
103 coerce 'CustomPronunciationParams',
104 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::CustomPronunciationParams'->new($_) };
105  
106 declare 'RepeatedCustomPronunciationParams',
107 as ArrayRef[CustomPronunciationParams()];
108  
109 coerce 'RepeatedCustomPronunciationParams',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::CustomPronunciationParams'->new($_) } @$_ ] };
111  
112 declare 'MapStringCustomPronunciationParams',
113 as HashRef[CustomPronunciationParams()];
114  
115 declare 'PhoneticEncoding',
116 as (Int | Str);
117  
118 declare 'OutputAudioConfig',
119 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::OutputAudioConfig'];
120  
121 coerce 'OutputAudioConfig',
122 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::OutputAudioConfig'->new($_) };
123  
124 declare 'RepeatedOutputAudioConfig',
125 as ArrayRef[OutputAudioConfig()];
126  
127 coerce 'RepeatedOutputAudioConfig',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::OutputAudioConfig'->new($_) } @$_ ] };
129  
130 declare 'MapStringOutputAudioConfig',
131 as HashRef[OutputAudioConfig()];
132  
133 declare 'TelephonyDtmfEvents',
134 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::TelephonyDtmfEvents'];
135  
136 coerce 'TelephonyDtmfEvents',
137 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::TelephonyDtmfEvents'->new($_) };
138  
139 declare 'RepeatedTelephonyDtmfEvents',
140 as ArrayRef[TelephonyDtmfEvents()];
141  
142 coerce 'RepeatedTelephonyDtmfEvents',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::TelephonyDtmfEvents'->new($_) } @$_ ] };
144  
145 declare 'MapStringTelephonyDtmfEvents',
146 as HashRef[TelephonyDtmfEvents()];
147  
148 declare 'SpeechToTextConfig',
149 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::SpeechToTextConfig'];
150  
151 coerce 'SpeechToTextConfig',
152 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechToTextConfig'->new($_) };
153  
154 declare 'RepeatedSpeechToTextConfig',
155 as ArrayRef[SpeechToTextConfig()];
156  
157 coerce 'RepeatedSpeechToTextConfig',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechToTextConfig'->new($_) } @$_ ] };
159  
160 declare 'MapStringSpeechToTextConfig',
161 as HashRef[SpeechToTextConfig()];
162  
163 declare 'GeminiAsrConfig',
164 as InstanceOf['Google::Cloud::Dialogflow::V2::AudioConfig::SpeechToTextConfig::GeminiAsrConfig'];
165  
166 coerce 'GeminiAsrConfig',
167 from HashRef, via { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechToTextConfig::GeminiAsrConfig'->new($_) };
168  
169 declare 'RepeatedGeminiAsrConfig',
170 as ArrayRef[GeminiAsrConfig()];
171  
172 coerce 'RepeatedGeminiAsrConfig',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::AudioConfig::SpeechToTextConfig::GeminiAsrConfig'->new($_) } @$_ ] };
174  
175 declare 'MapStringGeminiAsrConfig',
176 as HashRef[GeminiAsrConfig()];
177  
178 declare 'StartSensitivity',
179 as (Int | Str);
180  
181 declare 'EndSensitivity',
182 as (Int | Str);
183  
184 1;
185  
186 __END__