V1beta4/CloudSqlBlueGreenDeployments/Types.pm untested

filter: Statementstmt 0.0% 0 / 204 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 209 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::Sql::V1beta4::CloudSqlBlueGreenDeployments::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 'BlueGreenDeployment',
11 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment'];
12  
13 coerce 'BlueGreenDeployment',
14 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment'->new($_) };
15  
16 declare 'RepeatedBlueGreenDeployment',
17 as ArrayRef[BlueGreenDeployment()];
18  
19 coerce 'RepeatedBlueGreenDeployment',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment'->new($_) } @$_ ] };
21  
22 declare 'MapStringBlueGreenDeployment',
23 as HashRef[BlueGreenDeployment()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'TargetConfig',
29 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::TargetConfig'];
30  
31 coerce 'TargetConfig',
32 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::TargetConfig'->new($_) };
33  
34 declare 'RepeatedTargetConfig',
35 as ArrayRef[TargetConfig()];
36  
37 coerce 'RepeatedTargetConfig',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::TargetConfig'->new($_) } @$_ ] };
39  
40 declare 'MapStringTargetConfig',
41 as HashRef[TargetConfig()];
42  
43 declare 'DeploymentTasks',
44 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::DeploymentTasks'];
45  
46 coerce 'DeploymentTasks',
47 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::DeploymentTasks'->new($_) };
48  
49 declare 'RepeatedDeploymentTasks',
50 as ArrayRef[DeploymentTasks()];
51  
52 coerce 'RepeatedDeploymentTasks',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::DeploymentTasks'->new($_) } @$_ ] };
54  
55 declare 'MapStringDeploymentTasks',
56 as HashRef[DeploymentTasks()];
57  
58 declare 'RequestedConfig',
59 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::RequestedConfig'];
60  
61 coerce 'RequestedConfig',
62 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::RequestedConfig'->new($_) };
63  
64 declare 'RepeatedRequestedConfig',
65 as ArrayRef[RequestedConfig()];
66  
67 coerce 'RepeatedRequestedConfig',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::RequestedConfig'->new($_) } @$_ ] };
69  
70 declare 'MapStringRequestedConfig',
71 as HashRef[RequestedConfig()];
72  
73 declare 'SourceTargetPairedNode',
74 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode'];
75  
76 coerce 'SourceTargetPairedNode',
77 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode'->new($_) };
78  
79 declare 'RepeatedSourceTargetPairedNode',
80 as ArrayRef[SourceTargetPairedNode()];
81  
82 coerce 'RepeatedSourceTargetPairedNode',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode'->new($_) } @$_ ] };
84  
85 declare 'MapStringSourceTargetPairedNode',
86 as HashRef[SourceTargetPairedNode()];
87  
88 declare 'State',
89 as (Int | Str);
90  
91 declare 'CurrentlyServingTraffic',
92 as (Int | Str);
93  
94 declare 'NodeInfo',
95 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo'];
96  
97 coerce 'NodeInfo',
98 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo'->new($_) };
99  
100 declare 'RepeatedNodeInfo',
101 as ArrayRef[NodeInfo()];
102  
103 coerce 'RepeatedNodeInfo',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo'->new($_) } @$_ ] };
105  
106 declare 'MapStringNodeInfo',
107 as HashRef[NodeInfo()];
108  
109 declare 'DeploymentTask',
110 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask'];
111  
112 coerce 'DeploymentTask',
113 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask'->new($_) };
114  
115 declare 'RepeatedDeploymentTask',
116 as ArrayRef[DeploymentTask()];
117  
118 coerce 'RepeatedDeploymentTask',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask'->new($_) } @$_ ] };
120  
121 declare 'MapStringDeploymentTask',
122 as HashRef[DeploymentTask()];
123  
124 declare 'Type',
125 as (Int | Str);
126  
127 declare 'State',
128 as (Int | Str);
129  
130 declare 'ConfigDiff',
131 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::ConfigDiff'];
132  
133 coerce 'ConfigDiff',
134 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::ConfigDiff'->new($_) };
135  
136 declare 'RepeatedConfigDiff',
137 as ArrayRef[ConfigDiff()];
138  
139 coerce 'RepeatedConfigDiff',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::BlueGreenDeployment::SourceTargetPairedNode::ConfigDiff'->new($_) } @$_ ] };
141  
142 declare 'MapStringConfigDiff',
143 as HashRef[ConfigDiff()];
144  
145 declare 'CreateBlueGreenDeploymentRequest',
146 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::CreateBlueGreenDeploymentRequest'];
147  
148 coerce 'CreateBlueGreenDeploymentRequest',
149 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::CreateBlueGreenDeploymentRequest'->new($_) };
150  
151 declare 'RepeatedCreateBlueGreenDeploymentRequest',
152 as ArrayRef[CreateBlueGreenDeploymentRequest()];
153  
154 coerce 'RepeatedCreateBlueGreenDeploymentRequest',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::CreateBlueGreenDeploymentRequest'->new($_) } @$_ ] };
156  
157 declare 'MapStringCreateBlueGreenDeploymentRequest',
158 as HashRef[CreateBlueGreenDeploymentRequest()];
159  
160 declare 'GetBlueGreenDeploymentRequest',
161 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::GetBlueGreenDeploymentRequest'];
162  
163 coerce 'GetBlueGreenDeploymentRequest',
164 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::GetBlueGreenDeploymentRequest'->new($_) };
165  
166 declare 'RepeatedGetBlueGreenDeploymentRequest',
167 as ArrayRef[GetBlueGreenDeploymentRequest()];
168  
169 coerce 'RepeatedGetBlueGreenDeploymentRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::GetBlueGreenDeploymentRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringGetBlueGreenDeploymentRequest',
173 as HashRef[GetBlueGreenDeploymentRequest()];
174  
175 declare 'BlueGreenDeploymentView',
176 as (Int | Str);
177  
178 declare 'ListBlueGreenDeploymentsRequest',
179 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::ListBlueGreenDeploymentsRequest'];
180  
181 coerce 'ListBlueGreenDeploymentsRequest',
182 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::ListBlueGreenDeploymentsRequest'->new($_) };
183  
184 declare 'RepeatedListBlueGreenDeploymentsRequest',
185 as ArrayRef[ListBlueGreenDeploymentsRequest()];
186  
187 coerce 'RepeatedListBlueGreenDeploymentsRequest',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::ListBlueGreenDeploymentsRequest'->new($_) } @$_ ] };
189  
190 declare 'MapStringListBlueGreenDeploymentsRequest',
191 as HashRef[ListBlueGreenDeploymentsRequest()];
192  
193 declare 'SwitchoverBlueGreenDeploymentRequest',
194 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::SwitchoverBlueGreenDeploymentRequest'];
195  
196 coerce 'SwitchoverBlueGreenDeploymentRequest',
197 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::SwitchoverBlueGreenDeploymentRequest'->new($_) };
198  
199 declare 'RepeatedSwitchoverBlueGreenDeploymentRequest',
200 as ArrayRef[SwitchoverBlueGreenDeploymentRequest()];
201  
202 coerce 'RepeatedSwitchoverBlueGreenDeploymentRequest',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::SwitchoverBlueGreenDeploymentRequest'->new($_) } @$_ ] };
204  
205 declare 'MapStringSwitchoverBlueGreenDeploymentRequest',
206 as HashRef[SwitchoverBlueGreenDeploymentRequest()];
207  
208 declare 'DeleteBlueGreenDeploymentRequest',
209 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::DeleteBlueGreenDeploymentRequest'];
210  
211 coerce 'DeleteBlueGreenDeploymentRequest',
212 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::DeleteBlueGreenDeploymentRequest'->new($_) };
213  
214 declare 'RepeatedDeleteBlueGreenDeploymentRequest',
215 as ArrayRef[DeleteBlueGreenDeploymentRequest()];
216  
217 coerce 'RepeatedDeleteBlueGreenDeploymentRequest',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::DeleteBlueGreenDeploymentRequest'->new($_) } @$_ ] };
219  
220 declare 'MapStringDeleteBlueGreenDeploymentRequest',
221 as HashRef[DeleteBlueGreenDeploymentRequest()];
222  
223 declare 'ListBlueGreenDeploymentsResponse',
224 as InstanceOf['Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::ListBlueGreenDeploymentsResponse'];
225  
226 coerce 'ListBlueGreenDeploymentsResponse',
227 from HashRef, via { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::ListBlueGreenDeploymentsResponse'->new($_) };
228  
229 declare 'RepeatedListBlueGreenDeploymentsResponse',
230 as ArrayRef[ListBlueGreenDeploymentsResponse()];
231  
232 coerce 'RepeatedListBlueGreenDeploymentsResponse',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Sql::V1beta4::CloudSqlBlueGreenDeployments::ListBlueGreenDeploymentsResponse'->new($_) } @$_ ] };
234  
235 declare 'MapStringListBlueGreenDeploymentsResponse',
236 as HashRef[ListBlueGreenDeploymentsResponse()];
237  
238 1;
239  
240 __END__