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

filter: Statementstmt 0.0% 0 / 337 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 342 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::Table::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 'RestoreSourceType',
11 as (Int | Str);
12  
13 declare 'RestoreInfo',
14 as InstanceOf['Google::Bigtable::Admin::V2::Table::RestoreInfo'];
15  
16 coerce 'RestoreInfo',
17 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::RestoreInfo'->new($_) };
18  
19 declare 'RepeatedRestoreInfo',
20 as ArrayRef[RestoreInfo()];
21  
22 coerce 'RepeatedRestoreInfo',
23 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::RestoreInfo'->new($_) } @$_ ] };
24  
25 declare 'MapStringRestoreInfo',
26 as HashRef[RestoreInfo()];
27  
28 declare 'ChangeStreamConfig',
29 as InstanceOf['Google::Bigtable::Admin::V2::Table::ChangeStreamConfig'];
30  
31 coerce 'ChangeStreamConfig',
32 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::ChangeStreamConfig'->new($_) };
33  
34 declare 'RepeatedChangeStreamConfig',
35 as ArrayRef[ChangeStreamConfig()];
36  
37 coerce 'RepeatedChangeStreamConfig',
38 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::ChangeStreamConfig'->new($_) } @$_ ] };
39  
40 declare 'MapStringChangeStreamConfig',
41 as HashRef[ChangeStreamConfig()];
42  
43 declare 'Table',
44 as InstanceOf['Google::Bigtable::Admin::V2::Table::Table'];
45  
46 coerce 'Table',
47 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::Table'->new($_) };
48  
49 declare 'RepeatedTable',
50 as ArrayRef[Table()];
51  
52 coerce 'RepeatedTable',
53 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::Table'->new($_) } @$_ ] };
54  
55 declare 'MapStringTable',
56 as HashRef[Table()];
57  
58 declare 'TimestampGranularity',
59 as (Int | Str);
60  
61 declare 'View',
62 as (Int | Str);
63  
64 declare 'ClusterState',
65 as InstanceOf['Google::Bigtable::Admin::V2::Table::Table::ClusterState'];
66  
67 coerce 'ClusterState',
68 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::Table::ClusterState'->new($_) };
69  
70 declare 'RepeatedClusterState',
71 as ArrayRef[ClusterState()];
72  
73 coerce 'RepeatedClusterState',
74 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::Table::ClusterState'->new($_) } @$_ ] };
75  
76 declare 'MapStringClusterState',
77 as HashRef[ClusterState()];
78  
79 declare 'ReplicationState',
80 as (Int | Str);
81  
82 declare 'AutomatedBackupPolicy',
83 as InstanceOf['Google::Bigtable::Admin::V2::Table::Table::AutomatedBackupPolicy'];
84  
85 coerce 'AutomatedBackupPolicy',
86 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::Table::AutomatedBackupPolicy'->new($_) };
87  
88 declare 'RepeatedAutomatedBackupPolicy',
89 as ArrayRef[AutomatedBackupPolicy()];
90  
91 coerce 'RepeatedAutomatedBackupPolicy',
92 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::Table::AutomatedBackupPolicy'->new($_) } @$_ ] };
93  
94 declare 'MapStringAutomatedBackupPolicy',
95 as HashRef[AutomatedBackupPolicy()];
96  
97 declare 'ClusterStatesEntry',
98 as InstanceOf['Google::Bigtable::Admin::V2::Table::Table::ClusterStatesEntry'];
99  
100 coerce 'ClusterStatesEntry',
101 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::Table::ClusterStatesEntry'->new($_) };
102  
103 declare 'RepeatedClusterStatesEntry',
104 as ArrayRef[ClusterStatesEntry()];
105  
106 coerce 'RepeatedClusterStatesEntry',
107 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::Table::ClusterStatesEntry'->new($_) } @$_ ] };
108  
109 declare 'MapStringClusterStatesEntry',
110 as HashRef[ClusterStatesEntry()];
111  
112 declare 'ColumnFamiliesEntry',
113 as InstanceOf['Google::Bigtable::Admin::V2::Table::Table::ColumnFamiliesEntry'];
114  
115 coerce 'ColumnFamiliesEntry',
116 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::Table::ColumnFamiliesEntry'->new($_) };
117  
118 declare 'RepeatedColumnFamiliesEntry',
119 as ArrayRef[ColumnFamiliesEntry()];
120  
121 coerce 'RepeatedColumnFamiliesEntry',
122 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::Table::ColumnFamiliesEntry'->new($_) } @$_ ] };
123  
124 declare 'MapStringColumnFamiliesEntry',
125 as HashRef[ColumnFamiliesEntry()];
126  
127 declare 'AuthorizedView',
128 as InstanceOf['Google::Bigtable::Admin::V2::Table::AuthorizedView'];
129  
130 coerce 'AuthorizedView',
131 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::AuthorizedView'->new($_) };
132  
133 declare 'RepeatedAuthorizedView',
134 as ArrayRef[AuthorizedView()];
135  
136 coerce 'RepeatedAuthorizedView',
137 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::AuthorizedView'->new($_) } @$_ ] };
138  
139 declare 'MapStringAuthorizedView',
140 as HashRef[AuthorizedView()];
141  
142 declare 'ResponseView',
143 as (Int | Str);
144  
145 declare 'FamilySubsets',
146 as InstanceOf['Google::Bigtable::Admin::V2::Table::AuthorizedView::FamilySubsets'];
147  
148 coerce 'FamilySubsets',
149 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::AuthorizedView::FamilySubsets'->new($_) };
150  
151 declare 'RepeatedFamilySubsets',
152 as ArrayRef[FamilySubsets()];
153  
154 coerce 'RepeatedFamilySubsets',
155 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::AuthorizedView::FamilySubsets'->new($_) } @$_ ] };
156  
157 declare 'MapStringFamilySubsets',
158 as HashRef[FamilySubsets()];
159  
160 declare 'SubsetView',
161 as InstanceOf['Google::Bigtable::Admin::V2::Table::AuthorizedView::SubsetView'];
162  
163 coerce 'SubsetView',
164 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::AuthorizedView::SubsetView'->new($_) };
165  
166 declare 'RepeatedSubsetView',
167 as ArrayRef[SubsetView()];
168  
169 coerce 'RepeatedSubsetView',
170 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::AuthorizedView::SubsetView'->new($_) } @$_ ] };
171  
172 declare 'MapStringSubsetView',
173 as HashRef[SubsetView()];
174  
175 declare 'FamilySubsetsEntry',
176 as InstanceOf['Google::Bigtable::Admin::V2::Table::AuthorizedView::SubsetView::FamilySubsetsEntry'];
177  
178 coerce 'FamilySubsetsEntry',
179 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::AuthorizedView::SubsetView::FamilySubsetsEntry'->new($_) };
180  
181 declare 'RepeatedFamilySubsetsEntry',
182 as ArrayRef[FamilySubsetsEntry()];
183  
184 coerce 'RepeatedFamilySubsetsEntry',
185 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::AuthorizedView::SubsetView::FamilySubsetsEntry'->new($_) } @$_ ] };
186  
187 declare 'MapStringFamilySubsetsEntry',
188 as HashRef[FamilySubsetsEntry()];
189  
190 declare 'ColumnFamily',
191 as InstanceOf['Google::Bigtable::Admin::V2::Table::ColumnFamily'];
192  
193 coerce 'ColumnFamily',
194 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::ColumnFamily'->new($_) };
195  
196 declare 'RepeatedColumnFamily',
197 as ArrayRef[ColumnFamily()];
198  
199 coerce 'RepeatedColumnFamily',
200 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::ColumnFamily'->new($_) } @$_ ] };
201  
202 declare 'MapStringColumnFamily',
203 as HashRef[ColumnFamily()];
204  
205 declare 'GcRule',
206 as InstanceOf['Google::Bigtable::Admin::V2::Table::GcRule'];
207  
208 coerce 'GcRule',
209 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::GcRule'->new($_) };
210  
211 declare 'RepeatedGcRule',
212 as ArrayRef[GcRule()];
213  
214 coerce 'RepeatedGcRule',
215 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::GcRule'->new($_) } @$_ ] };
216  
217 declare 'MapStringGcRule',
218 as HashRef[GcRule()];
219  
220 declare 'Intersection',
221 as InstanceOf['Google::Bigtable::Admin::V2::Table::GcRule::Intersection'];
222  
223 coerce 'Intersection',
224 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::GcRule::Intersection'->new($_) };
225  
226 declare 'RepeatedIntersection',
227 as ArrayRef[Intersection()];
228  
229 coerce 'RepeatedIntersection',
230 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::GcRule::Intersection'->new($_) } @$_ ] };
231  
232 declare 'MapStringIntersection',
233 as HashRef[Intersection()];
234  
235 declare 'Union',
236 as InstanceOf['Google::Bigtable::Admin::V2::Table::GcRule::Union'];
237  
238 coerce 'Union',
239 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::GcRule::Union'->new($_) };
240  
241 declare 'RepeatedUnion',
242 as ArrayRef[Union()];
243  
244 coerce 'RepeatedUnion',
245 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::GcRule::Union'->new($_) } @$_ ] };
246  
247 declare 'MapStringUnion',
248 as HashRef[Union()];
249  
250 declare 'EncryptionInfo',
251 as InstanceOf['Google::Bigtable::Admin::V2::Table::EncryptionInfo'];
252  
253 coerce 'EncryptionInfo',
254 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::EncryptionInfo'->new($_) };
255  
256 declare 'RepeatedEncryptionInfo',
257 as ArrayRef[EncryptionInfo()];
258  
259 coerce 'RepeatedEncryptionInfo',
260 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::EncryptionInfo'->new($_) } @$_ ] };
261  
262 declare 'MapStringEncryptionInfo',
263 as HashRef[EncryptionInfo()];
264  
265 declare 'EncryptionType',
266 as (Int | Str);
267  
268 declare 'Snapshot',
269 as InstanceOf['Google::Bigtable::Admin::V2::Table::Snapshot'];
270  
271 coerce 'Snapshot',
272 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::Snapshot'->new($_) };
273  
274 declare 'RepeatedSnapshot',
275 as ArrayRef[Snapshot()];
276  
277 coerce 'RepeatedSnapshot',
278 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::Snapshot'->new($_) } @$_ ] };
279  
280 declare 'MapStringSnapshot',
281 as HashRef[Snapshot()];
282  
283 declare 'State',
284 as (Int | Str);
285  
286 declare 'Backup',
287 as InstanceOf['Google::Bigtable::Admin::V2::Table::Backup'];
288  
289 coerce 'Backup',
290 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::Backup'->new($_) };
291  
292 declare 'RepeatedBackup',
293 as ArrayRef[Backup()];
294  
295 coerce 'RepeatedBackup',
296 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::Backup'->new($_) } @$_ ] };
297  
298 declare 'MapStringBackup',
299 as HashRef[Backup()];
300  
301 declare 'State',
302 as (Int | Str);
303  
304 declare 'BackupType',
305 as (Int | Str);
306  
307 declare 'BackupInfo',
308 as InstanceOf['Google::Bigtable::Admin::V2::Table::BackupInfo'];
309  
310 coerce 'BackupInfo',
311 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::BackupInfo'->new($_) };
312  
313 declare 'RepeatedBackupInfo',
314 as ArrayRef[BackupInfo()];
315  
316 coerce 'RepeatedBackupInfo',
317 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::BackupInfo'->new($_) } @$_ ] };
318  
319 declare 'MapStringBackupInfo',
320 as HashRef[BackupInfo()];
321  
322 declare 'TieredStorageConfig',
323 as InstanceOf['Google::Bigtable::Admin::V2::Table::TieredStorageConfig'];
324  
325 coerce 'TieredStorageConfig',
326 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::TieredStorageConfig'->new($_) };
327  
328 declare 'RepeatedTieredStorageConfig',
329 as ArrayRef[TieredStorageConfig()];
330  
331 coerce 'RepeatedTieredStorageConfig',
332 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::TieredStorageConfig'->new($_) } @$_ ] };
333  
334 declare 'MapStringTieredStorageConfig',
335 as HashRef[TieredStorageConfig()];
336  
337 declare 'TieredStorageRule',
338 as InstanceOf['Google::Bigtable::Admin::V2::Table::TieredStorageRule'];
339  
340 coerce 'TieredStorageRule',
341 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::TieredStorageRule'->new($_) };
342  
343 declare 'RepeatedTieredStorageRule',
344 as ArrayRef[TieredStorageRule()];
345  
346 coerce 'RepeatedTieredStorageRule',
347 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::TieredStorageRule'->new($_) } @$_ ] };
348  
349 declare 'MapStringTieredStorageRule',
350 as HashRef[TieredStorageRule()];
351  
352 declare 'ProtoSchema',
353 as InstanceOf['Google::Bigtable::Admin::V2::Table::ProtoSchema'];
354  
355 coerce 'ProtoSchema',
356 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::ProtoSchema'->new($_) };
357  
358 declare 'RepeatedProtoSchema',
359 as ArrayRef[ProtoSchema()];
360  
361 coerce 'RepeatedProtoSchema',
362 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::ProtoSchema'->new($_) } @$_ ] };
363  
364 declare 'MapStringProtoSchema',
365 as HashRef[ProtoSchema()];
366  
367 declare 'AvroSchema',
368 as InstanceOf['Google::Bigtable::Admin::V2::Table::AvroSchema'];
369  
370 coerce 'AvroSchema',
371 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::AvroSchema'->new($_) };
372  
373 declare 'RepeatedAvroSchema',
374 as ArrayRef[AvroSchema()];
375  
376 coerce 'RepeatedAvroSchema',
377 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::AvroSchema'->new($_) } @$_ ] };
378  
379 declare 'MapStringAvroSchema',
380 as HashRef[AvroSchema()];
381  
382 declare 'SchemaBundle',
383 as InstanceOf['Google::Bigtable::Admin::V2::Table::SchemaBundle'];
384  
385 coerce 'SchemaBundle',
386 from HashRef, via { 'Google::Bigtable::Admin::V2::Table::SchemaBundle'->new($_) };
387  
388 declare 'RepeatedSchemaBundle',
389 as ArrayRef[SchemaBundle()];
390  
391 coerce 'RepeatedSchemaBundle',
392 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Table::SchemaBundle'->new($_) } @$_ ] };
393  
394 declare 'MapStringSchemaBundle',
395 as HashRef[SchemaBundle()];
396  
397 1;
398  
399 __END__