Bigtable/Admin/V2/Instance/Types.pm untested

filter: Statementstmt 0.0% 0 / 297 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 302 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Bigtable::Admin::V2::Instance::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 'Instance',
11 as InstanceOf['Google::Bigtable::Admin::V2::Instance::Instance'];
12  
13 coerce 'Instance',
14 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::Instance'->new($_) };
15  
16 declare 'RepeatedInstance',
17 as ArrayRef[Instance()];
18  
19 coerce 'RepeatedInstance',
20 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::Instance'->new($_) } @$_ ] };
21  
22 declare 'MapStringInstance',
23 as HashRef[Instance()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'Type',
29 as (Int | Str);
30  
31 declare 'Edition',
32 as (Int | Str);
33  
34 declare 'LabelsEntry',
35 as InstanceOf['Google::Bigtable::Admin::V2::Instance::Instance::LabelsEntry'];
36  
37 coerce 'LabelsEntry',
38 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::Instance::LabelsEntry'->new($_) };
39  
40 declare 'RepeatedLabelsEntry',
41 as ArrayRef[LabelsEntry()];
42  
43 coerce 'RepeatedLabelsEntry',
44 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::Instance::LabelsEntry'->new($_) } @$_ ] };
45  
46 declare 'MapStringLabelsEntry',
47 as HashRef[LabelsEntry()];
48  
49 declare 'TagsEntry',
50 as InstanceOf['Google::Bigtable::Admin::V2::Instance::Instance::TagsEntry'];
51  
52 coerce 'TagsEntry',
53 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::Instance::TagsEntry'->new($_) };
54  
55 declare 'RepeatedTagsEntry',
56 as ArrayRef[TagsEntry()];
57  
58 coerce 'RepeatedTagsEntry',
59 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::Instance::TagsEntry'->new($_) } @$_ ] };
60  
61 declare 'MapStringTagsEntry',
62 as HashRef[TagsEntry()];
63  
64 declare 'AutoscalingTargets',
65 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AutoscalingTargets'];
66  
67 coerce 'AutoscalingTargets',
68 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AutoscalingTargets'->new($_) };
69  
70 declare 'RepeatedAutoscalingTargets',
71 as ArrayRef[AutoscalingTargets()];
72  
73 coerce 'RepeatedAutoscalingTargets',
74 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AutoscalingTargets'->new($_) } @$_ ] };
75  
76 declare 'MapStringAutoscalingTargets',
77 as HashRef[AutoscalingTargets()];
78  
79 declare 'AutoscalingLimits',
80 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AutoscalingLimits'];
81  
82 coerce 'AutoscalingLimits',
83 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AutoscalingLimits'->new($_) };
84  
85 declare 'RepeatedAutoscalingLimits',
86 as ArrayRef[AutoscalingLimits()];
87  
88 coerce 'RepeatedAutoscalingLimits',
89 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AutoscalingLimits'->new($_) } @$_ ] };
90  
91 declare 'MapStringAutoscalingLimits',
92 as HashRef[AutoscalingLimits()];
93  
94 declare 'Cluster',
95 as InstanceOf['Google::Bigtable::Admin::V2::Instance::Cluster'];
96  
97 coerce 'Cluster',
98 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::Cluster'->new($_) };
99  
100 declare 'RepeatedCluster',
101 as ArrayRef[Cluster()];
102  
103 coerce 'RepeatedCluster',
104 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::Cluster'->new($_) } @$_ ] };
105  
106 declare 'MapStringCluster',
107 as HashRef[Cluster()];
108  
109 declare 'State',
110 as (Int | Str);
111  
112 declare 'NodeScalingFactor',
113 as (Int | Str);
114  
115 declare 'ClusterAutoscalingConfig',
116 as InstanceOf['Google::Bigtable::Admin::V2::Instance::Cluster::ClusterAutoscalingConfig'];
117  
118 coerce 'ClusterAutoscalingConfig',
119 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::Cluster::ClusterAutoscalingConfig'->new($_) };
120  
121 declare 'RepeatedClusterAutoscalingConfig',
122 as ArrayRef[ClusterAutoscalingConfig()];
123  
124 coerce 'RepeatedClusterAutoscalingConfig',
125 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::Cluster::ClusterAutoscalingConfig'->new($_) } @$_ ] };
126  
127 declare 'MapStringClusterAutoscalingConfig',
128 as HashRef[ClusterAutoscalingConfig()];
129  
130 declare 'ClusterConfig',
131 as InstanceOf['Google::Bigtable::Admin::V2::Instance::Cluster::ClusterConfig'];
132  
133 coerce 'ClusterConfig',
134 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::Cluster::ClusterConfig'->new($_) };
135  
136 declare 'RepeatedClusterConfig',
137 as ArrayRef[ClusterConfig()];
138  
139 coerce 'RepeatedClusterConfig',
140 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::Cluster::ClusterConfig'->new($_) } @$_ ] };
141  
142 declare 'MapStringClusterConfig',
143 as HashRef[ClusterConfig()];
144  
145 declare 'EncryptionConfig',
146 as InstanceOf['Google::Bigtable::Admin::V2::Instance::Cluster::EncryptionConfig'];
147  
148 coerce 'EncryptionConfig',
149 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::Cluster::EncryptionConfig'->new($_) };
150  
151 declare 'RepeatedEncryptionConfig',
152 as ArrayRef[EncryptionConfig()];
153  
154 coerce 'RepeatedEncryptionConfig',
155 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::Cluster::EncryptionConfig'->new($_) } @$_ ] };
156  
157 declare 'MapStringEncryptionConfig',
158 as HashRef[EncryptionConfig()];
159  
160 declare 'MemoryLayer',
161 as InstanceOf['Google::Bigtable::Admin::V2::Instance::MemoryLayer'];
162  
163 coerce 'MemoryLayer',
164 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::MemoryLayer'->new($_) };
165  
166 declare 'RepeatedMemoryLayer',
167 as ArrayRef[MemoryLayer()];
168  
169 coerce 'RepeatedMemoryLayer',
170 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::MemoryLayer'->new($_) } @$_ ] };
171  
172 declare 'MapStringMemoryLayer',
173 as HashRef[MemoryLayer()];
174  
175 declare 'State',
176 as (Int | Str);
177  
178 declare 'MemoryConfig',
179 as InstanceOf['Google::Bigtable::Admin::V2::Instance::MemoryLayer::MemoryConfig'];
180  
181 coerce 'MemoryConfig',
182 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::MemoryLayer::MemoryConfig'->new($_) };
183  
184 declare 'RepeatedMemoryConfig',
185 as ArrayRef[MemoryConfig()];
186  
187 coerce 'RepeatedMemoryConfig',
188 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::MemoryLayer::MemoryConfig'->new($_) } @$_ ] };
189  
190 declare 'MapStringMemoryConfig',
191 as HashRef[MemoryConfig()];
192  
193 declare 'AppProfile',
194 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AppProfile'];
195  
196 coerce 'AppProfile',
197 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AppProfile'->new($_) };
198  
199 declare 'RepeatedAppProfile',
200 as ArrayRef[AppProfile()];
201  
202 coerce 'RepeatedAppProfile',
203 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AppProfile'->new($_) } @$_ ] };
204  
205 declare 'MapStringAppProfile',
206 as HashRef[AppProfile()];
207  
208 declare 'Priority',
209 as (Int | Str);
210  
211 declare 'MultiClusterRoutingUseAny',
212 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AppProfile::MultiClusterRoutingUseAny'];
213  
214 coerce 'MultiClusterRoutingUseAny',
215 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AppProfile::MultiClusterRoutingUseAny'->new($_) };
216  
217 declare 'RepeatedMultiClusterRoutingUseAny',
218 as ArrayRef[MultiClusterRoutingUseAny()];
219  
220 coerce 'RepeatedMultiClusterRoutingUseAny',
221 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AppProfile::MultiClusterRoutingUseAny'->new($_) } @$_ ] };
222  
223 declare 'MapStringMultiClusterRoutingUseAny',
224 as HashRef[MultiClusterRoutingUseAny()];
225  
226 declare 'RowAffinity',
227 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AppProfile::MultiClusterRoutingUseAny::RowAffinity'];
228  
229 coerce 'RowAffinity',
230 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AppProfile::MultiClusterRoutingUseAny::RowAffinity'->new($_) };
231  
232 declare 'RepeatedRowAffinity',
233 as ArrayRef[RowAffinity()];
234  
235 coerce 'RepeatedRowAffinity',
236 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AppProfile::MultiClusterRoutingUseAny::RowAffinity'->new($_) } @$_ ] };
237  
238 declare 'MapStringRowAffinity',
239 as HashRef[RowAffinity()];
240  
241 declare 'SingleClusterRouting',
242 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AppProfile::SingleClusterRouting'];
243  
244 coerce 'SingleClusterRouting',
245 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AppProfile::SingleClusterRouting'->new($_) };
246  
247 declare 'RepeatedSingleClusterRouting',
248 as ArrayRef[SingleClusterRouting()];
249  
250 coerce 'RepeatedSingleClusterRouting',
251 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AppProfile::SingleClusterRouting'->new($_) } @$_ ] };
252  
253 declare 'MapStringSingleClusterRouting',
254 as HashRef[SingleClusterRouting()];
255  
256 declare 'StandardIsolation',
257 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AppProfile::StandardIsolation'];
258  
259 coerce 'StandardIsolation',
260 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AppProfile::StandardIsolation'->new($_) };
261  
262 declare 'RepeatedStandardIsolation',
263 as ArrayRef[StandardIsolation()];
264  
265 coerce 'RepeatedStandardIsolation',
266 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AppProfile::StandardIsolation'->new($_) } @$_ ] };
267  
268 declare 'MapStringStandardIsolation',
269 as HashRef[StandardIsolation()];
270  
271 declare 'MemoryConfig',
272 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AppProfile::StandardIsolation::MemoryConfig'];
273  
274 coerce 'MemoryConfig',
275 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AppProfile::StandardIsolation::MemoryConfig'->new($_) };
276  
277 declare 'RepeatedMemoryConfig',
278 as ArrayRef[MemoryConfig()];
279  
280 coerce 'RepeatedMemoryConfig',
281 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AppProfile::StandardIsolation::MemoryConfig'->new($_) } @$_ ] };
282  
283 declare 'MapStringMemoryConfig',
284 as HashRef[MemoryConfig()];
285  
286 declare 'DataBoostIsolationReadOnly',
287 as InstanceOf['Google::Bigtable::Admin::V2::Instance::AppProfile::DataBoostIsolationReadOnly'];
288  
289 coerce 'DataBoostIsolationReadOnly',
290 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::AppProfile::DataBoostIsolationReadOnly'->new($_) };
291  
292 declare 'RepeatedDataBoostIsolationReadOnly',
293 as ArrayRef[DataBoostIsolationReadOnly()];
294  
295 coerce 'RepeatedDataBoostIsolationReadOnly',
296 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::AppProfile::DataBoostIsolationReadOnly'->new($_) } @$_ ] };
297  
298 declare 'MapStringDataBoostIsolationReadOnly',
299 as HashRef[DataBoostIsolationReadOnly()];
300  
301 declare 'ComputeBillingOwner',
302 as (Int | Str);
303  
304 declare 'HotTablet',
305 as InstanceOf['Google::Bigtable::Admin::V2::Instance::HotTablet'];
306  
307 coerce 'HotTablet',
308 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::HotTablet'->new($_) };
309  
310 declare 'RepeatedHotTablet',
311 as ArrayRef[HotTablet()];
312  
313 coerce 'RepeatedHotTablet',
314 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::HotTablet'->new($_) } @$_ ] };
315  
316 declare 'MapStringHotTablet',
317 as HashRef[HotTablet()];
318  
319 declare 'LogicalView',
320 as InstanceOf['Google::Bigtable::Admin::V2::Instance::LogicalView'];
321  
322 coerce 'LogicalView',
323 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::LogicalView'->new($_) };
324  
325 declare 'RepeatedLogicalView',
326 as ArrayRef[LogicalView()];
327  
328 coerce 'RepeatedLogicalView',
329 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::LogicalView'->new($_) } @$_ ] };
330  
331 declare 'MapStringLogicalView',
332 as HashRef[LogicalView()];
333  
334 declare 'MaterializedView',
335 as InstanceOf['Google::Bigtable::Admin::V2::Instance::MaterializedView'];
336  
337 coerce 'MaterializedView',
338 from HashRef, via { 'Google::Bigtable::Admin::V2::Instance::MaterializedView'->new($_) };
339  
340 declare 'RepeatedMaterializedView',
341 as ArrayRef[MaterializedView()];
342  
343 coerce 'RepeatedMaterializedView',
344 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Instance::MaterializedView'->new($_) } @$_ ] };
345  
346 declare 'MapStringMaterializedView',
347 as HashRef[MaterializedView()];
348  
349 1;
350  
351 __END__