V1beta/Agent/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Ces::V1beta::Agent::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 'Agent',
11 as InstanceOf['Google::Cloud::Ces::V1beta::Agent::Agent'];
12  
13 coerce 'Agent',
14 from HashRef, via { 'Google::Cloud::Ces::V1beta::Agent::Agent'->new($_) };
15  
16 declare 'RepeatedAgent',
17 as ArrayRef[Agent()];
18  
19 coerce 'RepeatedAgent',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Agent::Agent'->new($_) } @$_ ] };
21  
22 declare 'MapStringAgent',
23 as HashRef[Agent()];
24  
25 declare 'LlmAgent',
26 as InstanceOf['Google::Cloud::Ces::V1beta::Agent::Agent::LlmAgent'];
27  
28 coerce 'LlmAgent',
29 from HashRef, via { 'Google::Cloud::Ces::V1beta::Agent::Agent::LlmAgent'->new($_) };
30  
31 declare 'RepeatedLlmAgent',
32 as ArrayRef[LlmAgent()];
33  
34 coerce 'RepeatedLlmAgent',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Agent::Agent::LlmAgent'->new($_) } @$_ ] };
36  
37 declare 'MapStringLlmAgent',
38 as HashRef[LlmAgent()];
39  
40 declare 'RemoteDialogflowAgent',
41 as InstanceOf['Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent'];
42  
43 coerce 'RemoteDialogflowAgent',
44 from HashRef, via { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent'->new($_) };
45  
46 declare 'RepeatedRemoteDialogflowAgent',
47 as ArrayRef[RemoteDialogflowAgent()];
48  
49 coerce 'RepeatedRemoteDialogflowAgent',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent'->new($_) } @$_ ] };
51  
52 declare 'MapStringRemoteDialogflowAgent',
53 as HashRef[RemoteDialogflowAgent()];
54  
55 declare 'InputVariableMappingEntry',
56 as InstanceOf['Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent::InputVariableMappingEntry'];
57  
58 coerce 'InputVariableMappingEntry',
59 from HashRef, via { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent::InputVariableMappingEntry'->new($_) };
60  
61 declare 'RepeatedInputVariableMappingEntry',
62 as ArrayRef[InputVariableMappingEntry()];
63  
64 coerce 'RepeatedInputVariableMappingEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent::InputVariableMappingEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringInputVariableMappingEntry',
68 as HashRef[InputVariableMappingEntry()];
69  
70 declare 'OutputVariableMappingEntry',
71 as InstanceOf['Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent::OutputVariableMappingEntry'];
72  
73 coerce 'OutputVariableMappingEntry',
74 from HashRef, via { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent::OutputVariableMappingEntry'->new($_) };
75  
76 declare 'RepeatedOutputVariableMappingEntry',
77 as ArrayRef[OutputVariableMappingEntry()];
78  
79 coerce 'RepeatedOutputVariableMappingEntry',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent::OutputVariableMappingEntry'->new($_) } @$_ ] };
81  
82 declare 'MapStringOutputVariableMappingEntry',
83 as HashRef[OutputVariableMappingEntry()];
84  
85 declare 'RemoteA2aAgent',
86 as InstanceOf['Google::Cloud::Ces::V1beta::Agent::Agent::RemoteA2aAgent'];
87  
88 coerce 'RemoteA2aAgent',
89 from HashRef, via { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteA2aAgent'->new($_) };
90  
91 declare 'RepeatedRemoteA2aAgent',
92 as ArrayRef[RemoteA2aAgent()];
93  
94 coerce 'RepeatedRemoteA2aAgent',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Agent::Agent::RemoteA2aAgent'->new($_) } @$_ ] };
96  
97 declare 'MapStringRemoteA2aAgent',
98 as HashRef[RemoteA2aAgent()];
99  
100 declare 'AgentToolset',
101 as InstanceOf['Google::Cloud::Ces::V1beta::Agent::Agent::AgentToolset'];
102  
103 coerce 'AgentToolset',
104 from HashRef, via { 'Google::Cloud::Ces::V1beta::Agent::Agent::AgentToolset'->new($_) };
105  
106 declare 'RepeatedAgentToolset',
107 as ArrayRef[AgentToolset()];
108  
109 coerce 'RepeatedAgentToolset',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Agent::Agent::AgentToolset'->new($_) } @$_ ] };
111  
112 declare 'MapStringAgentToolset',
113 as HashRef[AgentToolset()];
114  
115 1;
116  
117 __END__