V1/Instance/Types.pm untested

filter: Statementstmt 0.0% 0 / 174 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 179 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::Financialservices::V1::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::Cloud::Financialservices::V1::Instance::Instance'];
12  
13 coerce 'Instance',
14 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::Instance'->new($_) };
15  
16 declare 'RepeatedInstance',
17 as ArrayRef[Instance()];
18  
19 coerce 'RepeatedInstance',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::Instance'->new($_) } @$_ ] };
21  
22 declare 'MapStringInstance',
23 as HashRef[Instance()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'LabelsEntry',
29 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::Instance::LabelsEntry'];
30  
31 coerce 'LabelsEntry',
32 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::Instance::LabelsEntry'->new($_) };
33  
34 declare 'RepeatedLabelsEntry',
35 as ArrayRef[LabelsEntry()];
36  
37 coerce 'RepeatedLabelsEntry',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::Instance::LabelsEntry'->new($_) } @$_ ] };
39  
40 declare 'MapStringLabelsEntry',
41 as HashRef[LabelsEntry()];
42  
43 declare 'ListInstancesRequest',
44 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::ListInstancesRequest'];
45  
46 coerce 'ListInstancesRequest',
47 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::ListInstancesRequest'->new($_) };
48  
49 declare 'RepeatedListInstancesRequest',
50 as ArrayRef[ListInstancesRequest()];
51  
52 coerce 'RepeatedListInstancesRequest',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::ListInstancesRequest'->new($_) } @$_ ] };
54  
55 declare 'MapStringListInstancesRequest',
56 as HashRef[ListInstancesRequest()];
57  
58 declare 'ListInstancesResponse',
59 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::ListInstancesResponse'];
60  
61 coerce 'ListInstancesResponse',
62 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::ListInstancesResponse'->new($_) };
63  
64 declare 'RepeatedListInstancesResponse',
65 as ArrayRef[ListInstancesResponse()];
66  
67 coerce 'RepeatedListInstancesResponse',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::ListInstancesResponse'->new($_) } @$_ ] };
69  
70 declare 'MapStringListInstancesResponse',
71 as HashRef[ListInstancesResponse()];
72  
73 declare 'GetInstanceRequest',
74 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::GetInstanceRequest'];
75  
76 coerce 'GetInstanceRequest',
77 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::GetInstanceRequest'->new($_) };
78  
79 declare 'RepeatedGetInstanceRequest',
80 as ArrayRef[GetInstanceRequest()];
81  
82 coerce 'RepeatedGetInstanceRequest',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::GetInstanceRequest'->new($_) } @$_ ] };
84  
85 declare 'MapStringGetInstanceRequest',
86 as HashRef[GetInstanceRequest()];
87  
88 declare 'CreateInstanceRequest',
89 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::CreateInstanceRequest'];
90  
91 coerce 'CreateInstanceRequest',
92 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::CreateInstanceRequest'->new($_) };
93  
94 declare 'RepeatedCreateInstanceRequest',
95 as ArrayRef[CreateInstanceRequest()];
96  
97 coerce 'RepeatedCreateInstanceRequest',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::CreateInstanceRequest'->new($_) } @$_ ] };
99  
100 declare 'MapStringCreateInstanceRequest',
101 as HashRef[CreateInstanceRequest()];
102  
103 declare 'UpdateInstanceRequest',
104 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::UpdateInstanceRequest'];
105  
106 coerce 'UpdateInstanceRequest',
107 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::UpdateInstanceRequest'->new($_) };
108  
109 declare 'RepeatedUpdateInstanceRequest',
110 as ArrayRef[UpdateInstanceRequest()];
111  
112 coerce 'RepeatedUpdateInstanceRequest',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::UpdateInstanceRequest'->new($_) } @$_ ] };
114  
115 declare 'MapStringUpdateInstanceRequest',
116 as HashRef[UpdateInstanceRequest()];
117  
118 declare 'DeleteInstanceRequest',
119 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::DeleteInstanceRequest'];
120  
121 coerce 'DeleteInstanceRequest',
122 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::DeleteInstanceRequest'->new($_) };
123  
124 declare 'RepeatedDeleteInstanceRequest',
125 as ArrayRef[DeleteInstanceRequest()];
126  
127 coerce 'RepeatedDeleteInstanceRequest',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::DeleteInstanceRequest'->new($_) } @$_ ] };
129  
130 declare 'MapStringDeleteInstanceRequest',
131 as HashRef[DeleteInstanceRequest()];
132  
133 declare 'ImportRegisteredPartiesRequest',
134 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::ImportRegisteredPartiesRequest'];
135  
136 coerce 'ImportRegisteredPartiesRequest',
137 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::ImportRegisteredPartiesRequest'->new($_) };
138  
139 declare 'RepeatedImportRegisteredPartiesRequest',
140 as ArrayRef[ImportRegisteredPartiesRequest()];
141  
142 coerce 'RepeatedImportRegisteredPartiesRequest',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::ImportRegisteredPartiesRequest'->new($_) } @$_ ] };
144  
145 declare 'MapStringImportRegisteredPartiesRequest',
146 as HashRef[ImportRegisteredPartiesRequest()];
147  
148 declare 'UpdateMode',
149 as (Int | Str);
150  
151 declare 'ImportRegisteredPartiesResponse',
152 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::ImportRegisteredPartiesResponse'];
153  
154 coerce 'ImportRegisteredPartiesResponse',
155 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::ImportRegisteredPartiesResponse'->new($_) };
156  
157 declare 'RepeatedImportRegisteredPartiesResponse',
158 as ArrayRef[ImportRegisteredPartiesResponse()];
159  
160 coerce 'RepeatedImportRegisteredPartiesResponse',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::ImportRegisteredPartiesResponse'->new($_) } @$_ ] };
162  
163 declare 'MapStringImportRegisteredPartiesResponse',
164 as HashRef[ImportRegisteredPartiesResponse()];
165  
166 declare 'ExportRegisteredPartiesRequest',
167 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::ExportRegisteredPartiesRequest'];
168  
169 coerce 'ExportRegisteredPartiesRequest',
170 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::ExportRegisteredPartiesRequest'->new($_) };
171  
172 declare 'RepeatedExportRegisteredPartiesRequest',
173 as ArrayRef[ExportRegisteredPartiesRequest()];
174  
175 coerce 'RepeatedExportRegisteredPartiesRequest',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::ExportRegisteredPartiesRequest'->new($_) } @$_ ] };
177  
178 declare 'MapStringExportRegisteredPartiesRequest',
179 as HashRef[ExportRegisteredPartiesRequest()];
180  
181 declare 'ExportRegisteredPartiesResponse',
182 as InstanceOf['Google::Cloud::Financialservices::V1::Instance::ExportRegisteredPartiesResponse'];
183  
184 coerce 'ExportRegisteredPartiesResponse',
185 from HashRef, via { 'Google::Cloud::Financialservices::V1::Instance::ExportRegisteredPartiesResponse'->new($_) };
186  
187 declare 'RepeatedExportRegisteredPartiesResponse',
188 as ArrayRef[ExportRegisteredPartiesResponse()];
189  
190 coerce 'RepeatedExportRegisteredPartiesResponse',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::Instance::ExportRegisteredPartiesResponse'->new($_) } @$_ ] };
192  
193 declare 'MapStringExportRegisteredPartiesResponse',
194 as HashRef[ExportRegisteredPartiesResponse()];
195  
196 1;
197  
198 __END__