V1/CloudLocation/Types.pm untested

filter: Statementstmt 0.0% 0 / 96 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 101 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::Locationfinder::V1::CloudLocation::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 'CloudLocation',
11 as InstanceOf['Google::Cloud::Locationfinder::V1::CloudLocation::CloudLocation'];
12  
13 coerce 'CloudLocation',
14 from HashRef, via { 'Google::Cloud::Locationfinder::V1::CloudLocation::CloudLocation'->new($_) };
15  
16 declare 'RepeatedCloudLocation',
17 as ArrayRef[CloudLocation()];
18  
19 coerce 'RepeatedCloudLocation',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Locationfinder::V1::CloudLocation::CloudLocation'->new($_) } @$_ ] };
21  
22 declare 'MapStringCloudLocation',
23 as HashRef[CloudLocation()];
24  
25 declare 'CloudProvider',
26 as (Int | Str);
27  
28 declare 'CloudLocationType',
29 as (Int | Str);
30  
31 declare 'ListCloudLocationsRequest',
32 as InstanceOf['Google::Cloud::Locationfinder::V1::CloudLocation::ListCloudLocationsRequest'];
33  
34 coerce 'ListCloudLocationsRequest',
35 from HashRef, via { 'Google::Cloud::Locationfinder::V1::CloudLocation::ListCloudLocationsRequest'->new($_) };
36  
37 declare 'RepeatedListCloudLocationsRequest',
38 as ArrayRef[ListCloudLocationsRequest()];
39  
40 coerce 'RepeatedListCloudLocationsRequest',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Locationfinder::V1::CloudLocation::ListCloudLocationsRequest'->new($_) } @$_ ] };
42  
43 declare 'MapStringListCloudLocationsRequest',
44 as HashRef[ListCloudLocationsRequest()];
45  
46 declare 'ListCloudLocationsResponse',
47 as InstanceOf['Google::Cloud::Locationfinder::V1::CloudLocation::ListCloudLocationsResponse'];
48  
49 coerce 'ListCloudLocationsResponse',
50 from HashRef, via { 'Google::Cloud::Locationfinder::V1::CloudLocation::ListCloudLocationsResponse'->new($_) };
51  
52 declare 'RepeatedListCloudLocationsResponse',
53 as ArrayRef[ListCloudLocationsResponse()];
54  
55 coerce 'RepeatedListCloudLocationsResponse',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Locationfinder::V1::CloudLocation::ListCloudLocationsResponse'->new($_) } @$_ ] };
57  
58 declare 'MapStringListCloudLocationsResponse',
59 as HashRef[ListCloudLocationsResponse()];
60  
61 declare 'GetCloudLocationRequest',
62 as InstanceOf['Google::Cloud::Locationfinder::V1::CloudLocation::GetCloudLocationRequest'];
63  
64 coerce 'GetCloudLocationRequest',
65 from HashRef, via { 'Google::Cloud::Locationfinder::V1::CloudLocation::GetCloudLocationRequest'->new($_) };
66  
67 declare 'RepeatedGetCloudLocationRequest',
68 as ArrayRef[GetCloudLocationRequest()];
69  
70 coerce 'RepeatedGetCloudLocationRequest',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Locationfinder::V1::CloudLocation::GetCloudLocationRequest'->new($_) } @$_ ] };
72  
73 declare 'MapStringGetCloudLocationRequest',
74 as HashRef[GetCloudLocationRequest()];
75  
76 declare 'SearchCloudLocationsRequest',
77 as InstanceOf['Google::Cloud::Locationfinder::V1::CloudLocation::SearchCloudLocationsRequest'];
78  
79 coerce 'SearchCloudLocationsRequest',
80 from HashRef, via { 'Google::Cloud::Locationfinder::V1::CloudLocation::SearchCloudLocationsRequest'->new($_) };
81  
82 declare 'RepeatedSearchCloudLocationsRequest',
83 as ArrayRef[SearchCloudLocationsRequest()];
84  
85 coerce 'RepeatedSearchCloudLocationsRequest',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Locationfinder::V1::CloudLocation::SearchCloudLocationsRequest'->new($_) } @$_ ] };
87  
88 declare 'MapStringSearchCloudLocationsRequest',
89 as HashRef[SearchCloudLocationsRequest()];
90  
91 declare 'SearchCloudLocationsResponse',
92 as InstanceOf['Google::Cloud::Locationfinder::V1::CloudLocation::SearchCloudLocationsResponse'];
93  
94 coerce 'SearchCloudLocationsResponse',
95 from HashRef, via { 'Google::Cloud::Locationfinder::V1::CloudLocation::SearchCloudLocationsResponse'->new($_) };
96  
97 declare 'RepeatedSearchCloudLocationsResponse',
98 as ArrayRef[SearchCloudLocationsResponse()];
99  
100 coerce 'RepeatedSearchCloudLocationsResponse',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Locationfinder::V1::CloudLocation::SearchCloudLocationsResponse'->new($_) } @$_ ] };
102  
103 declare 'MapStringSearchCloudLocationsResponse',
104 as HashRef[SearchCloudLocationsResponse()];
105  
106 1;
107  
108 __END__