V1/Cloudshell/Types.pm untested

filter: Statementstmt 0.0% 0 / 240 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 245 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::Shell::V1::Cloudshell::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 'Environment',
11 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::Environment'];
12  
13 coerce 'Environment',
14 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::Environment'->new($_) };
15  
16 declare 'RepeatedEnvironment',
17 as ArrayRef[Environment()];
18  
19 coerce 'RepeatedEnvironment',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::Environment'->new($_) } @$_ ] };
21  
22 declare 'MapStringEnvironment',
23 as HashRef[Environment()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'GetEnvironmentRequest',
29 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::GetEnvironmentRequest'];
30  
31 coerce 'GetEnvironmentRequest',
32 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::GetEnvironmentRequest'->new($_) };
33  
34 declare 'RepeatedGetEnvironmentRequest',
35 as ArrayRef[GetEnvironmentRequest()];
36  
37 coerce 'RepeatedGetEnvironmentRequest',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::GetEnvironmentRequest'->new($_) } @$_ ] };
39  
40 declare 'MapStringGetEnvironmentRequest',
41 as HashRef[GetEnvironmentRequest()];
42  
43 declare 'CreateEnvironmentMetadata',
44 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::CreateEnvironmentMetadata'];
45  
46 coerce 'CreateEnvironmentMetadata',
47 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::CreateEnvironmentMetadata'->new($_) };
48  
49 declare 'RepeatedCreateEnvironmentMetadata',
50 as ArrayRef[CreateEnvironmentMetadata()];
51  
52 coerce 'RepeatedCreateEnvironmentMetadata',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::CreateEnvironmentMetadata'->new($_) } @$_ ] };
54  
55 declare 'MapStringCreateEnvironmentMetadata',
56 as HashRef[CreateEnvironmentMetadata()];
57  
58 declare 'DeleteEnvironmentMetadata',
59 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::DeleteEnvironmentMetadata'];
60  
61 coerce 'DeleteEnvironmentMetadata',
62 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::DeleteEnvironmentMetadata'->new($_) };
63  
64 declare 'RepeatedDeleteEnvironmentMetadata',
65 as ArrayRef[DeleteEnvironmentMetadata()];
66  
67 coerce 'RepeatedDeleteEnvironmentMetadata',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::DeleteEnvironmentMetadata'->new($_) } @$_ ] };
69  
70 declare 'MapStringDeleteEnvironmentMetadata',
71 as HashRef[DeleteEnvironmentMetadata()];
72  
73 declare 'StartEnvironmentRequest',
74 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentRequest'];
75  
76 coerce 'StartEnvironmentRequest',
77 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentRequest'->new($_) };
78  
79 declare 'RepeatedStartEnvironmentRequest',
80 as ArrayRef[StartEnvironmentRequest()];
81  
82 coerce 'RepeatedStartEnvironmentRequest',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentRequest'->new($_) } @$_ ] };
84  
85 declare 'MapStringStartEnvironmentRequest',
86 as HashRef[StartEnvironmentRequest()];
87  
88 declare 'AuthorizeEnvironmentRequest',
89 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentRequest'];
90  
91 coerce 'AuthorizeEnvironmentRequest',
92 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentRequest'->new($_) };
93  
94 declare 'RepeatedAuthorizeEnvironmentRequest',
95 as ArrayRef[AuthorizeEnvironmentRequest()];
96  
97 coerce 'RepeatedAuthorizeEnvironmentRequest',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentRequest'->new($_) } @$_ ] };
99  
100 declare 'MapStringAuthorizeEnvironmentRequest',
101 as HashRef[AuthorizeEnvironmentRequest()];
102  
103 declare 'AuthorizeEnvironmentResponse',
104 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentResponse'];
105  
106 coerce 'AuthorizeEnvironmentResponse',
107 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentResponse'->new($_) };
108  
109 declare 'RepeatedAuthorizeEnvironmentResponse',
110 as ArrayRef[AuthorizeEnvironmentResponse()];
111  
112 coerce 'RepeatedAuthorizeEnvironmentResponse',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentResponse'->new($_) } @$_ ] };
114  
115 declare 'MapStringAuthorizeEnvironmentResponse',
116 as HashRef[AuthorizeEnvironmentResponse()];
117  
118 declare 'AuthorizeEnvironmentMetadata',
119 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentMetadata'];
120  
121 coerce 'AuthorizeEnvironmentMetadata',
122 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentMetadata'->new($_) };
123  
124 declare 'RepeatedAuthorizeEnvironmentMetadata',
125 as ArrayRef[AuthorizeEnvironmentMetadata()];
126  
127 coerce 'RepeatedAuthorizeEnvironmentMetadata',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::AuthorizeEnvironmentMetadata'->new($_) } @$_ ] };
129  
130 declare 'MapStringAuthorizeEnvironmentMetadata',
131 as HashRef[AuthorizeEnvironmentMetadata()];
132  
133 declare 'StartEnvironmentMetadata',
134 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentMetadata'];
135  
136 coerce 'StartEnvironmentMetadata',
137 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentMetadata'->new($_) };
138  
139 declare 'RepeatedStartEnvironmentMetadata',
140 as ArrayRef[StartEnvironmentMetadata()];
141  
142 coerce 'RepeatedStartEnvironmentMetadata',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentMetadata'->new($_) } @$_ ] };
144  
145 declare 'MapStringStartEnvironmentMetadata',
146 as HashRef[StartEnvironmentMetadata()];
147  
148 declare 'State',
149 as (Int | Str);
150  
151 declare 'StartEnvironmentResponse',
152 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentResponse'];
153  
154 coerce 'StartEnvironmentResponse',
155 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentResponse'->new($_) };
156  
157 declare 'RepeatedStartEnvironmentResponse',
158 as ArrayRef[StartEnvironmentResponse()];
159  
160 coerce 'RepeatedStartEnvironmentResponse',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::StartEnvironmentResponse'->new($_) } @$_ ] };
162  
163 declare 'MapStringStartEnvironmentResponse',
164 as HashRef[StartEnvironmentResponse()];
165  
166 declare 'AddPublicKeyRequest',
167 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyRequest'];
168  
169 coerce 'AddPublicKeyRequest',
170 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyRequest'->new($_) };
171  
172 declare 'RepeatedAddPublicKeyRequest',
173 as ArrayRef[AddPublicKeyRequest()];
174  
175 coerce 'RepeatedAddPublicKeyRequest',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyRequest'->new($_) } @$_ ] };
177  
178 declare 'MapStringAddPublicKeyRequest',
179 as HashRef[AddPublicKeyRequest()];
180  
181 declare 'AddPublicKeyResponse',
182 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyResponse'];
183  
184 coerce 'AddPublicKeyResponse',
185 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyResponse'->new($_) };
186  
187 declare 'RepeatedAddPublicKeyResponse',
188 as ArrayRef[AddPublicKeyResponse()];
189  
190 coerce 'RepeatedAddPublicKeyResponse',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyResponse'->new($_) } @$_ ] };
192  
193 declare 'MapStringAddPublicKeyResponse',
194 as HashRef[AddPublicKeyResponse()];
195  
196 declare 'AddPublicKeyMetadata',
197 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyMetadata'];
198  
199 coerce 'AddPublicKeyMetadata',
200 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyMetadata'->new($_) };
201  
202 declare 'RepeatedAddPublicKeyMetadata',
203 as ArrayRef[AddPublicKeyMetadata()];
204  
205 coerce 'RepeatedAddPublicKeyMetadata',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::AddPublicKeyMetadata'->new($_) } @$_ ] };
207  
208 declare 'MapStringAddPublicKeyMetadata',
209 as HashRef[AddPublicKeyMetadata()];
210  
211 declare 'RemovePublicKeyRequest',
212 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyRequest'];
213  
214 coerce 'RemovePublicKeyRequest',
215 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyRequest'->new($_) };
216  
217 declare 'RepeatedRemovePublicKeyRequest',
218 as ArrayRef[RemovePublicKeyRequest()];
219  
220 coerce 'RepeatedRemovePublicKeyRequest',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyRequest'->new($_) } @$_ ] };
222  
223 declare 'MapStringRemovePublicKeyRequest',
224 as HashRef[RemovePublicKeyRequest()];
225  
226 declare 'RemovePublicKeyResponse',
227 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyResponse'];
228  
229 coerce 'RemovePublicKeyResponse',
230 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyResponse'->new($_) };
231  
232 declare 'RepeatedRemovePublicKeyResponse',
233 as ArrayRef[RemovePublicKeyResponse()];
234  
235 coerce 'RepeatedRemovePublicKeyResponse',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyResponse'->new($_) } @$_ ] };
237  
238 declare 'MapStringRemovePublicKeyResponse',
239 as HashRef[RemovePublicKeyResponse()];
240  
241 declare 'RemovePublicKeyMetadata',
242 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyMetadata'];
243  
244 coerce 'RemovePublicKeyMetadata',
245 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyMetadata'->new($_) };
246  
247 declare 'RepeatedRemovePublicKeyMetadata',
248 as ArrayRef[RemovePublicKeyMetadata()];
249  
250 coerce 'RepeatedRemovePublicKeyMetadata',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::RemovePublicKeyMetadata'->new($_) } @$_ ] };
252  
253 declare 'MapStringRemovePublicKeyMetadata',
254 as HashRef[RemovePublicKeyMetadata()];
255  
256 declare 'CloudShellErrorDetails',
257 as InstanceOf['Google::Cloud::Shell::V1::Cloudshell::CloudShellErrorDetails'];
258  
259 coerce 'CloudShellErrorDetails',
260 from HashRef, via { 'Google::Cloud::Shell::V1::Cloudshell::CloudShellErrorDetails'->new($_) };
261  
262 declare 'RepeatedCloudShellErrorDetails',
263 as ArrayRef[CloudShellErrorDetails()];
264  
265 coerce 'RepeatedCloudShellErrorDetails',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Shell::V1::Cloudshell::CloudShellErrorDetails'->new($_) } @$_ ] };
267  
268 declare 'MapStringCloudShellErrorDetails',
269 as HashRef[CloudShellErrorDetails()];
270  
271 declare 'CloudShellErrorCode',
272 as (Int | Str);
273  
274 1;
275  
276 __END__