V2alpha/ProjectService/Types.pm untested

filter: Statementstmt 0.0% 0 / 159 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 164 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::Retail::V2alpha::ProjectService::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 'GetProjectRequest',
11 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::GetProjectRequest'];
12  
13 coerce 'GetProjectRequest',
14 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::GetProjectRequest'->new($_) };
15  
16 declare 'RepeatedGetProjectRequest',
17 as ArrayRef[GetProjectRequest()];
18  
19 coerce 'RepeatedGetProjectRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::GetProjectRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringGetProjectRequest',
23 as HashRef[GetProjectRequest()];
24  
25 declare 'AcceptTermsRequest',
26 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::AcceptTermsRequest'];
27  
28 coerce 'AcceptTermsRequest',
29 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::AcceptTermsRequest'->new($_) };
30  
31 declare 'RepeatedAcceptTermsRequest',
32 as ArrayRef[AcceptTermsRequest()];
33  
34 coerce 'RepeatedAcceptTermsRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::AcceptTermsRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringAcceptTermsRequest',
38 as HashRef[AcceptTermsRequest()];
39  
40 declare 'EnrollSolutionRequest',
41 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionRequest'];
42  
43 coerce 'EnrollSolutionRequest',
44 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionRequest'->new($_) };
45  
46 declare 'RepeatedEnrollSolutionRequest',
47 as ArrayRef[EnrollSolutionRequest()];
48  
49 coerce 'RepeatedEnrollSolutionRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringEnrollSolutionRequest',
53 as HashRef[EnrollSolutionRequest()];
54  
55 declare 'EnrollSolutionResponse',
56 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionResponse'];
57  
58 coerce 'EnrollSolutionResponse',
59 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionResponse'->new($_) };
60  
61 declare 'RepeatedEnrollSolutionResponse',
62 as ArrayRef[EnrollSolutionResponse()];
63  
64 coerce 'RepeatedEnrollSolutionResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringEnrollSolutionResponse',
68 as HashRef[EnrollSolutionResponse()];
69  
70 declare 'EnrollSolutionMetadata',
71 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionMetadata'];
72  
73 coerce 'EnrollSolutionMetadata',
74 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionMetadata'->new($_) };
75  
76 declare 'RepeatedEnrollSolutionMetadata',
77 as ArrayRef[EnrollSolutionMetadata()];
78  
79 coerce 'RepeatedEnrollSolutionMetadata',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::EnrollSolutionMetadata'->new($_) } @$_ ] };
81  
82 declare 'MapStringEnrollSolutionMetadata',
83 as HashRef[EnrollSolutionMetadata()];
84  
85 declare 'ListEnrolledSolutionsRequest',
86 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::ListEnrolledSolutionsRequest'];
87  
88 coerce 'ListEnrolledSolutionsRequest',
89 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::ListEnrolledSolutionsRequest'->new($_) };
90  
91 declare 'RepeatedListEnrolledSolutionsRequest',
92 as ArrayRef[ListEnrolledSolutionsRequest()];
93  
94 coerce 'RepeatedListEnrolledSolutionsRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::ListEnrolledSolutionsRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringListEnrolledSolutionsRequest',
98 as HashRef[ListEnrolledSolutionsRequest()];
99  
100 declare 'ListEnrolledSolutionsResponse',
101 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::ListEnrolledSolutionsResponse'];
102  
103 coerce 'ListEnrolledSolutionsResponse',
104 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::ListEnrolledSolutionsResponse'->new($_) };
105  
106 declare 'RepeatedListEnrolledSolutionsResponse',
107 as ArrayRef[ListEnrolledSolutionsResponse()];
108  
109 coerce 'RepeatedListEnrolledSolutionsResponse',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::ListEnrolledSolutionsResponse'->new($_) } @$_ ] };
111  
112 declare 'MapStringListEnrolledSolutionsResponse',
113 as HashRef[ListEnrolledSolutionsResponse()];
114  
115 declare 'GetLoggingConfigRequest',
116 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::GetLoggingConfigRequest'];
117  
118 coerce 'GetLoggingConfigRequest',
119 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::GetLoggingConfigRequest'->new($_) };
120  
121 declare 'RepeatedGetLoggingConfigRequest',
122 as ArrayRef[GetLoggingConfigRequest()];
123  
124 coerce 'RepeatedGetLoggingConfigRequest',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::GetLoggingConfigRequest'->new($_) } @$_ ] };
126  
127 declare 'MapStringGetLoggingConfigRequest',
128 as HashRef[GetLoggingConfigRequest()];
129  
130 declare 'UpdateLoggingConfigRequest',
131 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::UpdateLoggingConfigRequest'];
132  
133 coerce 'UpdateLoggingConfigRequest',
134 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::UpdateLoggingConfigRequest'->new($_) };
135  
136 declare 'RepeatedUpdateLoggingConfigRequest',
137 as ArrayRef[UpdateLoggingConfigRequest()];
138  
139 coerce 'RepeatedUpdateLoggingConfigRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::UpdateLoggingConfigRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringUpdateLoggingConfigRequest',
143 as HashRef[UpdateLoggingConfigRequest()];
144  
145 declare 'GetAlertConfigRequest',
146 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::GetAlertConfigRequest'];
147  
148 coerce 'GetAlertConfigRequest',
149 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::GetAlertConfigRequest'->new($_) };
150  
151 declare 'RepeatedGetAlertConfigRequest',
152 as ArrayRef[GetAlertConfigRequest()];
153  
154 coerce 'RepeatedGetAlertConfigRequest',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::GetAlertConfigRequest'->new($_) } @$_ ] };
156  
157 declare 'MapStringGetAlertConfigRequest',
158 as HashRef[GetAlertConfigRequest()];
159  
160 declare 'UpdateAlertConfigRequest',
161 as InstanceOf['Google::Cloud::Retail::V2alpha::ProjectService::UpdateAlertConfigRequest'];
162  
163 coerce 'UpdateAlertConfigRequest',
164 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ProjectService::UpdateAlertConfigRequest'->new($_) };
165  
166 declare 'RepeatedUpdateAlertConfigRequest',
167 as ArrayRef[UpdateAlertConfigRequest()];
168  
169 coerce 'RepeatedUpdateAlertConfigRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ProjectService::UpdateAlertConfigRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringUpdateAlertConfigRequest',
173 as HashRef[UpdateAlertConfigRequest()];
174  
175 1;
176  
177 __END__