V1/Runtime/Types.pm untested

filter: Statementstmt 0.0% 0 / 257 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 262 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::Notebooks::V1::Runtime::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 'Runtime',
11 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::Runtime'];
12  
13 coerce 'Runtime',
14 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::Runtime'->new($_) };
15  
16 declare 'RepeatedRuntime',
17 as ArrayRef[Runtime()];
18  
19 coerce 'RepeatedRuntime',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::Runtime'->new($_) } @$_ ] };
21  
22 declare 'MapStringRuntime',
23 as HashRef[Runtime()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'HealthState',
29 as (Int | Str);
30  
31 declare 'RuntimeAcceleratorConfig',
32 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::RuntimeAcceleratorConfig'];
33  
34 coerce 'RuntimeAcceleratorConfig',
35 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeAcceleratorConfig'->new($_) };
36  
37 declare 'RepeatedRuntimeAcceleratorConfig',
38 as ArrayRef[RuntimeAcceleratorConfig()];
39  
40 coerce 'RepeatedRuntimeAcceleratorConfig',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeAcceleratorConfig'->new($_) } @$_ ] };
42  
43 declare 'MapStringRuntimeAcceleratorConfig',
44 as HashRef[RuntimeAcceleratorConfig()];
45  
46 declare 'AcceleratorType',
47 as (Int | Str);
48  
49 declare 'EncryptionConfig',
50 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::EncryptionConfig'];
51  
52 coerce 'EncryptionConfig',
53 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::EncryptionConfig'->new($_) };
54  
55 declare 'RepeatedEncryptionConfig',
56 as ArrayRef[EncryptionConfig()];
57  
58 coerce 'RepeatedEncryptionConfig',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::EncryptionConfig'->new($_) } @$_ ] };
60  
61 declare 'MapStringEncryptionConfig',
62 as HashRef[EncryptionConfig()];
63  
64 declare 'LocalDisk',
65 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::LocalDisk'];
66  
67 coerce 'LocalDisk',
68 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::LocalDisk'->new($_) };
69  
70 declare 'RepeatedLocalDisk',
71 as ArrayRef[LocalDisk()];
72  
73 coerce 'RepeatedLocalDisk',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::LocalDisk'->new($_) } @$_ ] };
75  
76 declare 'MapStringLocalDisk',
77 as HashRef[LocalDisk()];
78  
79 declare 'RuntimeGuestOsFeature',
80 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::LocalDisk::RuntimeGuestOsFeature'];
81  
82 coerce 'RuntimeGuestOsFeature',
83 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::LocalDisk::RuntimeGuestOsFeature'->new($_) };
84  
85 declare 'RepeatedRuntimeGuestOsFeature',
86 as ArrayRef[RuntimeGuestOsFeature()];
87  
88 coerce 'RepeatedRuntimeGuestOsFeature',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::LocalDisk::RuntimeGuestOsFeature'->new($_) } @$_ ] };
90  
91 declare 'MapStringRuntimeGuestOsFeature',
92 as HashRef[RuntimeGuestOsFeature()];
93  
94 declare 'LocalDiskInitializeParams',
95 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::LocalDiskInitializeParams'];
96  
97 coerce 'LocalDiskInitializeParams',
98 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::LocalDiskInitializeParams'->new($_) };
99  
100 declare 'RepeatedLocalDiskInitializeParams',
101 as ArrayRef[LocalDiskInitializeParams()];
102  
103 coerce 'RepeatedLocalDiskInitializeParams',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::LocalDiskInitializeParams'->new($_) } @$_ ] };
105  
106 declare 'MapStringLocalDiskInitializeParams',
107 as HashRef[LocalDiskInitializeParams()];
108  
109 declare 'DiskType',
110 as (Int | Str);
111  
112 declare 'LabelsEntry',
113 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::LocalDiskInitializeParams::LabelsEntry'];
114  
115 coerce 'LabelsEntry',
116 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::LocalDiskInitializeParams::LabelsEntry'->new($_) };
117  
118 declare 'RepeatedLabelsEntry',
119 as ArrayRef[LabelsEntry()];
120  
121 coerce 'RepeatedLabelsEntry',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::LocalDiskInitializeParams::LabelsEntry'->new($_) } @$_ ] };
123  
124 declare 'MapStringLabelsEntry',
125 as HashRef[LabelsEntry()];
126  
127 declare 'RuntimeAccessConfig',
128 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::RuntimeAccessConfig'];
129  
130 coerce 'RuntimeAccessConfig',
131 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeAccessConfig'->new($_) };
132  
133 declare 'RepeatedRuntimeAccessConfig',
134 as ArrayRef[RuntimeAccessConfig()];
135  
136 coerce 'RepeatedRuntimeAccessConfig',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeAccessConfig'->new($_) } @$_ ] };
138  
139 declare 'MapStringRuntimeAccessConfig',
140 as HashRef[RuntimeAccessConfig()];
141  
142 declare 'RuntimeAccessType',
143 as (Int | Str);
144  
145 declare 'RuntimeSoftwareConfig',
146 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::RuntimeSoftwareConfig'];
147  
148 coerce 'RuntimeSoftwareConfig',
149 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeSoftwareConfig'->new($_) };
150  
151 declare 'RepeatedRuntimeSoftwareConfig',
152 as ArrayRef[RuntimeSoftwareConfig()];
153  
154 coerce 'RepeatedRuntimeSoftwareConfig',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeSoftwareConfig'->new($_) } @$_ ] };
156  
157 declare 'MapStringRuntimeSoftwareConfig',
158 as HashRef[RuntimeSoftwareConfig()];
159  
160 declare 'PostStartupScriptBehavior',
161 as (Int | Str);
162  
163 declare 'RuntimeMetrics',
164 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::RuntimeMetrics'];
165  
166 coerce 'RuntimeMetrics',
167 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeMetrics'->new($_) };
168  
169 declare 'RepeatedRuntimeMetrics',
170 as ArrayRef[RuntimeMetrics()];
171  
172 coerce 'RepeatedRuntimeMetrics',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeMetrics'->new($_) } @$_ ] };
174  
175 declare 'MapStringRuntimeMetrics',
176 as HashRef[RuntimeMetrics()];
177  
178 declare 'SystemMetricsEntry',
179 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::RuntimeMetrics::SystemMetricsEntry'];
180  
181 coerce 'SystemMetricsEntry',
182 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeMetrics::SystemMetricsEntry'->new($_) };
183  
184 declare 'RepeatedSystemMetricsEntry',
185 as ArrayRef[SystemMetricsEntry()];
186  
187 coerce 'RepeatedSystemMetricsEntry',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeMetrics::SystemMetricsEntry'->new($_) } @$_ ] };
189  
190 declare 'MapStringSystemMetricsEntry',
191 as HashRef[SystemMetricsEntry()];
192  
193 declare 'RuntimeShieldedInstanceConfig',
194 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::RuntimeShieldedInstanceConfig'];
195  
196 coerce 'RuntimeShieldedInstanceConfig',
197 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeShieldedInstanceConfig'->new($_) };
198  
199 declare 'RepeatedRuntimeShieldedInstanceConfig',
200 as ArrayRef[RuntimeShieldedInstanceConfig()];
201  
202 coerce 'RepeatedRuntimeShieldedInstanceConfig',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::RuntimeShieldedInstanceConfig'->new($_) } @$_ ] };
204  
205 declare 'MapStringRuntimeShieldedInstanceConfig',
206 as HashRef[RuntimeShieldedInstanceConfig()];
207  
208 declare 'VirtualMachine',
209 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::VirtualMachine'];
210  
211 coerce 'VirtualMachine',
212 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachine'->new($_) };
213  
214 declare 'RepeatedVirtualMachine',
215 as ArrayRef[VirtualMachine()];
216  
217 coerce 'RepeatedVirtualMachine',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachine'->new($_) } @$_ ] };
219  
220 declare 'MapStringVirtualMachine',
221 as HashRef[VirtualMachine()];
222  
223 declare 'VirtualMachineConfig',
224 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig'];
225  
226 coerce 'VirtualMachineConfig',
227 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig'->new($_) };
228  
229 declare 'RepeatedVirtualMachineConfig',
230 as ArrayRef[VirtualMachineConfig()];
231  
232 coerce 'RepeatedVirtualMachineConfig',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig'->new($_) } @$_ ] };
234  
235 declare 'MapStringVirtualMachineConfig',
236 as HashRef[VirtualMachineConfig()];
237  
238 declare 'NicType',
239 as (Int | Str);
240  
241 declare 'BootImage',
242 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::BootImage'];
243  
244 coerce 'BootImage',
245 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::BootImage'->new($_) };
246  
247 declare 'RepeatedBootImage',
248 as ArrayRef[BootImage()];
249  
250 coerce 'RepeatedBootImage',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::BootImage'->new($_) } @$_ ] };
252  
253 declare 'MapStringBootImage',
254 as HashRef[BootImage()];
255  
256 declare 'GuestAttributesEntry',
257 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::GuestAttributesEntry'];
258  
259 coerce 'GuestAttributesEntry',
260 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::GuestAttributesEntry'->new($_) };
261  
262 declare 'RepeatedGuestAttributesEntry',
263 as ArrayRef[GuestAttributesEntry()];
264  
265 coerce 'RepeatedGuestAttributesEntry',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::GuestAttributesEntry'->new($_) } @$_ ] };
267  
268 declare 'MapStringGuestAttributesEntry',
269 as HashRef[GuestAttributesEntry()];
270  
271 declare 'MetadataEntry',
272 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::MetadataEntry'];
273  
274 coerce 'MetadataEntry',
275 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::MetadataEntry'->new($_) };
276  
277 declare 'RepeatedMetadataEntry',
278 as ArrayRef[MetadataEntry()];
279  
280 coerce 'RepeatedMetadataEntry',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::MetadataEntry'->new($_) } @$_ ] };
282  
283 declare 'MapStringMetadataEntry',
284 as HashRef[MetadataEntry()];
285  
286 declare 'LabelsEntry',
287 as InstanceOf['Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::LabelsEntry'];
288  
289 coerce 'LabelsEntry',
290 from HashRef, via { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::LabelsEntry'->new($_) };
291  
292 declare 'RepeatedLabelsEntry',
293 as ArrayRef[LabelsEntry()];
294  
295 coerce 'RepeatedLabelsEntry',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V1::Runtime::VirtualMachineConfig::LabelsEntry'->new($_) } @$_ ] };
297  
298 declare 'MapStringLabelsEntry',
299 as HashRef[LabelsEntry()];
300  
301 1;
302  
303 __END__