V1/Ids/Types.pm untested

filter: Statementstmt 0.0% 0 / 122 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 127 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::Ids::V1::Ids::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 'Endpoint',
11 as InstanceOf['Google::Cloud::Ids::V1::Ids::Endpoint'];
12  
13 coerce 'Endpoint',
14 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::Endpoint'->new($_) };
15  
16 declare 'RepeatedEndpoint',
17 as ArrayRef[Endpoint()];
18  
19 coerce 'RepeatedEndpoint',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::Endpoint'->new($_) } @$_ ] };
21  
22 declare 'MapStringEndpoint',
23 as HashRef[Endpoint()];
24  
25 declare 'Severity',
26 as (Int | Str);
27  
28 declare 'State',
29 as (Int | Str);
30  
31 declare 'LabelsEntry',
32 as InstanceOf['Google::Cloud::Ids::V1::Ids::Endpoint::LabelsEntry'];
33  
34 coerce 'LabelsEntry',
35 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::Endpoint::LabelsEntry'->new($_) };
36  
37 declare 'RepeatedLabelsEntry',
38 as ArrayRef[LabelsEntry()];
39  
40 coerce 'RepeatedLabelsEntry',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::Endpoint::LabelsEntry'->new($_) } @$_ ] };
42  
43 declare 'MapStringLabelsEntry',
44 as HashRef[LabelsEntry()];
45  
46 declare 'ListEndpointsRequest',
47 as InstanceOf['Google::Cloud::Ids::V1::Ids::ListEndpointsRequest'];
48  
49 coerce 'ListEndpointsRequest',
50 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::ListEndpointsRequest'->new($_) };
51  
52 declare 'RepeatedListEndpointsRequest',
53 as ArrayRef[ListEndpointsRequest()];
54  
55 coerce 'RepeatedListEndpointsRequest',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::ListEndpointsRequest'->new($_) } @$_ ] };
57  
58 declare 'MapStringListEndpointsRequest',
59 as HashRef[ListEndpointsRequest()];
60  
61 declare 'ListEndpointsResponse',
62 as InstanceOf['Google::Cloud::Ids::V1::Ids::ListEndpointsResponse'];
63  
64 coerce 'ListEndpointsResponse',
65 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::ListEndpointsResponse'->new($_) };
66  
67 declare 'RepeatedListEndpointsResponse',
68 as ArrayRef[ListEndpointsResponse()];
69  
70 coerce 'RepeatedListEndpointsResponse',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::ListEndpointsResponse'->new($_) } @$_ ] };
72  
73 declare 'MapStringListEndpointsResponse',
74 as HashRef[ListEndpointsResponse()];
75  
76 declare 'GetEndpointRequest',
77 as InstanceOf['Google::Cloud::Ids::V1::Ids::GetEndpointRequest'];
78  
79 coerce 'GetEndpointRequest',
80 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::GetEndpointRequest'->new($_) };
81  
82 declare 'RepeatedGetEndpointRequest',
83 as ArrayRef[GetEndpointRequest()];
84  
85 coerce 'RepeatedGetEndpointRequest',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::GetEndpointRequest'->new($_) } @$_ ] };
87  
88 declare 'MapStringGetEndpointRequest',
89 as HashRef[GetEndpointRequest()];
90  
91 declare 'CreateEndpointRequest',
92 as InstanceOf['Google::Cloud::Ids::V1::Ids::CreateEndpointRequest'];
93  
94 coerce 'CreateEndpointRequest',
95 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::CreateEndpointRequest'->new($_) };
96  
97 declare 'RepeatedCreateEndpointRequest',
98 as ArrayRef[CreateEndpointRequest()];
99  
100 coerce 'RepeatedCreateEndpointRequest',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::CreateEndpointRequest'->new($_) } @$_ ] };
102  
103 declare 'MapStringCreateEndpointRequest',
104 as HashRef[CreateEndpointRequest()];
105  
106 declare 'DeleteEndpointRequest',
107 as InstanceOf['Google::Cloud::Ids::V1::Ids::DeleteEndpointRequest'];
108  
109 coerce 'DeleteEndpointRequest',
110 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::DeleteEndpointRequest'->new($_) };
111  
112 declare 'RepeatedDeleteEndpointRequest',
113 as ArrayRef[DeleteEndpointRequest()];
114  
115 coerce 'RepeatedDeleteEndpointRequest',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::DeleteEndpointRequest'->new($_) } @$_ ] };
117  
118 declare 'MapStringDeleteEndpointRequest',
119 as HashRef[DeleteEndpointRequest()];
120  
121 declare 'OperationMetadata',
122 as InstanceOf['Google::Cloud::Ids::V1::Ids::OperationMetadata'];
123  
124 coerce 'OperationMetadata',
125 from HashRef, via { 'Google::Cloud::Ids::V1::Ids::OperationMetadata'->new($_) };
126  
127 declare 'RepeatedOperationMetadata',
128 as ArrayRef[OperationMetadata()];
129  
130 coerce 'RepeatedOperationMetadata',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ids::V1::Ids::OperationMetadata'->new($_) } @$_ ] };
132  
133 declare 'MapStringOperationMetadata',
134 as HashRef[OperationMetadata()];
135  
136 1;
137  
138 __END__