V1/Workflows/Types.pm untested

filter: Statementstmt 0.0% 0 / 202 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 207 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::Workflows::V1::Workflows::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 'ExecutionHistoryLevel',
11 as (Int | Str);
12  
13 declare 'Workflow',
14 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::Workflow'];
15  
16 coerce 'Workflow',
17 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::Workflow'->new($_) };
18  
19 declare 'RepeatedWorkflow',
20 as ArrayRef[Workflow()];
21  
22 coerce 'RepeatedWorkflow',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::Workflow'->new($_) } @$_ ] };
24  
25 declare 'MapStringWorkflow',
26 as HashRef[Workflow()];
27  
28 declare 'State',
29 as (Int | Str);
30  
31 declare 'CallLogLevel',
32 as (Int | Str);
33  
34 declare 'StateError',
35 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::Workflow::StateError'];
36  
37 coerce 'StateError',
38 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::Workflow::StateError'->new($_) };
39  
40 declare 'RepeatedStateError',
41 as ArrayRef[StateError()];
42  
43 coerce 'RepeatedStateError',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::Workflow::StateError'->new($_) } @$_ ] };
45  
46 declare 'MapStringStateError',
47 as HashRef[StateError()];
48  
49 declare 'Type',
50 as (Int | Str);
51  
52 declare 'LabelsEntry',
53 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::Workflow::LabelsEntry'];
54  
55 coerce 'LabelsEntry',
56 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::Workflow::LabelsEntry'->new($_) };
57  
58 declare 'RepeatedLabelsEntry',
59 as ArrayRef[LabelsEntry()];
60  
61 coerce 'RepeatedLabelsEntry',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::Workflow::LabelsEntry'->new($_) } @$_ ] };
63  
64 declare 'MapStringLabelsEntry',
65 as HashRef[LabelsEntry()];
66  
67 declare 'UserEnvVarsEntry',
68 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::Workflow::UserEnvVarsEntry'];
69  
70 coerce 'UserEnvVarsEntry',
71 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::Workflow::UserEnvVarsEntry'->new($_) };
72  
73 declare 'RepeatedUserEnvVarsEntry',
74 as ArrayRef[UserEnvVarsEntry()];
75  
76 coerce 'RepeatedUserEnvVarsEntry',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::Workflow::UserEnvVarsEntry'->new($_) } @$_ ] };
78  
79 declare 'MapStringUserEnvVarsEntry',
80 as HashRef[UserEnvVarsEntry()];
81  
82 declare 'TagsEntry',
83 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::Workflow::TagsEntry'];
84  
85 coerce 'TagsEntry',
86 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::Workflow::TagsEntry'->new($_) };
87  
88 declare 'RepeatedTagsEntry',
89 as ArrayRef[TagsEntry()];
90  
91 coerce 'RepeatedTagsEntry',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::Workflow::TagsEntry'->new($_) } @$_ ] };
93  
94 declare 'MapStringTagsEntry',
95 as HashRef[TagsEntry()];
96  
97 declare 'ListWorkflowsRequest',
98 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::ListWorkflowsRequest'];
99  
100 coerce 'ListWorkflowsRequest',
101 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowsRequest'->new($_) };
102  
103 declare 'RepeatedListWorkflowsRequest',
104 as ArrayRef[ListWorkflowsRequest()];
105  
106 coerce 'RepeatedListWorkflowsRequest',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowsRequest'->new($_) } @$_ ] };
108  
109 declare 'MapStringListWorkflowsRequest',
110 as HashRef[ListWorkflowsRequest()];
111  
112 declare 'ListWorkflowsResponse',
113 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::ListWorkflowsResponse'];
114  
115 coerce 'ListWorkflowsResponse',
116 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowsResponse'->new($_) };
117  
118 declare 'RepeatedListWorkflowsResponse',
119 as ArrayRef[ListWorkflowsResponse()];
120  
121 coerce 'RepeatedListWorkflowsResponse',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowsResponse'->new($_) } @$_ ] };
123  
124 declare 'MapStringListWorkflowsResponse',
125 as HashRef[ListWorkflowsResponse()];
126  
127 declare 'GetWorkflowRequest',
128 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::GetWorkflowRequest'];
129  
130 coerce 'GetWorkflowRequest',
131 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::GetWorkflowRequest'->new($_) };
132  
133 declare 'RepeatedGetWorkflowRequest',
134 as ArrayRef[GetWorkflowRequest()];
135  
136 coerce 'RepeatedGetWorkflowRequest',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::GetWorkflowRequest'->new($_) } @$_ ] };
138  
139 declare 'MapStringGetWorkflowRequest',
140 as HashRef[GetWorkflowRequest()];
141  
142 declare 'CreateWorkflowRequest',
143 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::CreateWorkflowRequest'];
144  
145 coerce 'CreateWorkflowRequest',
146 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::CreateWorkflowRequest'->new($_) };
147  
148 declare 'RepeatedCreateWorkflowRequest',
149 as ArrayRef[CreateWorkflowRequest()];
150  
151 coerce 'RepeatedCreateWorkflowRequest',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::CreateWorkflowRequest'->new($_) } @$_ ] };
153  
154 declare 'MapStringCreateWorkflowRequest',
155 as HashRef[CreateWorkflowRequest()];
156  
157 declare 'DeleteWorkflowRequest',
158 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::DeleteWorkflowRequest'];
159  
160 coerce 'DeleteWorkflowRequest',
161 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::DeleteWorkflowRequest'->new($_) };
162  
163 declare 'RepeatedDeleteWorkflowRequest',
164 as ArrayRef[DeleteWorkflowRequest()];
165  
166 coerce 'RepeatedDeleteWorkflowRequest',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::DeleteWorkflowRequest'->new($_) } @$_ ] };
168  
169 declare 'MapStringDeleteWorkflowRequest',
170 as HashRef[DeleteWorkflowRequest()];
171  
172 declare 'UpdateWorkflowRequest',
173 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::UpdateWorkflowRequest'];
174  
175 coerce 'UpdateWorkflowRequest',
176 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::UpdateWorkflowRequest'->new($_) };
177  
178 declare 'RepeatedUpdateWorkflowRequest',
179 as ArrayRef[UpdateWorkflowRequest()];
180  
181 coerce 'RepeatedUpdateWorkflowRequest',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::UpdateWorkflowRequest'->new($_) } @$_ ] };
183  
184 declare 'MapStringUpdateWorkflowRequest',
185 as HashRef[UpdateWorkflowRequest()];
186  
187 declare 'OperationMetadata',
188 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::OperationMetadata'];
189  
190 coerce 'OperationMetadata',
191 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::OperationMetadata'->new($_) };
192  
193 declare 'RepeatedOperationMetadata',
194 as ArrayRef[OperationMetadata()];
195  
196 coerce 'RepeatedOperationMetadata',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::OperationMetadata'->new($_) } @$_ ] };
198  
199 declare 'MapStringOperationMetadata',
200 as HashRef[OperationMetadata()];
201  
202 declare 'ListWorkflowRevisionsRequest',
203 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::ListWorkflowRevisionsRequest'];
204  
205 coerce 'ListWorkflowRevisionsRequest',
206 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowRevisionsRequest'->new($_) };
207  
208 declare 'RepeatedListWorkflowRevisionsRequest',
209 as ArrayRef[ListWorkflowRevisionsRequest()];
210  
211 coerce 'RepeatedListWorkflowRevisionsRequest',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowRevisionsRequest'->new($_) } @$_ ] };
213  
214 declare 'MapStringListWorkflowRevisionsRequest',
215 as HashRef[ListWorkflowRevisionsRequest()];
216  
217 declare 'ListWorkflowRevisionsResponse',
218 as InstanceOf['Google::Cloud::Workflows::V1::Workflows::ListWorkflowRevisionsResponse'];
219  
220 coerce 'ListWorkflowRevisionsResponse',
221 from HashRef, via { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowRevisionsResponse'->new($_) };
222  
223 declare 'RepeatedListWorkflowRevisionsResponse',
224 as ArrayRef[ListWorkflowRevisionsResponse()];
225  
226 coerce 'RepeatedListWorkflowRevisionsResponse',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Workflows::V1::Workflows::ListWorkflowRevisionsResponse'->new($_) } @$_ ] };
228  
229 declare 'MapStringListWorkflowRevisionsResponse',
230 as HashRef[ListWorkflowRevisionsResponse()];
231  
232 1;
233  
234 __END__