V1/OperationsService/Types.pm untested

filter: Statementstmt 0.0% 0 / 160 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 165 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::Secretmanager::V1::OperationsService::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 'ListBackupsRequest',
11 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::ListBackupsRequest'];
12  
13 coerce 'ListBackupsRequest',
14 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::ListBackupsRequest'->new($_) };
15  
16 declare 'RepeatedListBackupsRequest',
17 as ArrayRef[ListBackupsRequest()];
18  
19 coerce 'RepeatedListBackupsRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::ListBackupsRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringListBackupsRequest',
23 as HashRef[ListBackupsRequest()];
24  
25 declare 'ListBackupsResponse',
26 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::ListBackupsResponse'];
27  
28 coerce 'ListBackupsResponse',
29 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::ListBackupsResponse'->new($_) };
30  
31 declare 'RepeatedListBackupsResponse',
32 as ArrayRef[ListBackupsResponse()];
33  
34 coerce 'RepeatedListBackupsResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::ListBackupsResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringListBackupsResponse',
38 as HashRef[ListBackupsResponse()];
39  
40 declare 'GetBackupRequest',
41 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::GetBackupRequest'];
42  
43 coerce 'GetBackupRequest',
44 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::GetBackupRequest'->new($_) };
45  
46 declare 'RepeatedGetBackupRequest',
47 as ArrayRef[GetBackupRequest()];
48  
49 coerce 'RepeatedGetBackupRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::GetBackupRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringGetBackupRequest',
53 as HashRef[GetBackupRequest()];
54  
55 declare 'CreateBackupRequest',
56 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::CreateBackupRequest'];
57  
58 coerce 'CreateBackupRequest',
59 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::CreateBackupRequest'->new($_) };
60  
61 declare 'RepeatedCreateBackupRequest',
62 as ArrayRef[CreateBackupRequest()];
63  
64 coerce 'RepeatedCreateBackupRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::CreateBackupRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringCreateBackupRequest',
68 as HashRef[CreateBackupRequest()];
69  
70 declare 'UpdateBackupRequest',
71 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::UpdateBackupRequest'];
72  
73 coerce 'UpdateBackupRequest',
74 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::UpdateBackupRequest'->new($_) };
75  
76 declare 'RepeatedUpdateBackupRequest',
77 as ArrayRef[UpdateBackupRequest()];
78  
79 coerce 'RepeatedUpdateBackupRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::UpdateBackupRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringUpdateBackupRequest',
83 as HashRef[UpdateBackupRequest()];
84  
85 declare 'DeleteBackupRequest',
86 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::DeleteBackupRequest'];
87  
88 coerce 'DeleteBackupRequest',
89 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::DeleteBackupRequest'->new($_) };
90  
91 declare 'RepeatedDeleteBackupRequest',
92 as ArrayRef[DeleteBackupRequest()];
93  
94 coerce 'RepeatedDeleteBackupRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::DeleteBackupRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringDeleteBackupRequest',
98 as HashRef[DeleteBackupRequest()];
99  
100 declare 'RestoreBackupRequest',
101 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::RestoreBackupRequest'];
102  
103 coerce 'RestoreBackupRequest',
104 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::RestoreBackupRequest'->new($_) };
105  
106 declare 'RepeatedRestoreBackupRequest',
107 as ArrayRef[RestoreBackupRequest()];
108  
109 coerce 'RepeatedRestoreBackupRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::RestoreBackupRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringRestoreBackupRequest',
113 as HashRef[RestoreBackupRequest()];
114  
115 declare 'OperationMetadata',
116 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::OperationMetadata'];
117  
118 coerce 'OperationMetadata',
119 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::OperationMetadata'->new($_) };
120  
121 declare 'RepeatedOperationMetadata',
122 as ArrayRef[OperationMetadata()];
123  
124 coerce 'RepeatedOperationMetadata',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::OperationMetadata'->new($_) } @$_ ] };
126  
127 declare 'MapStringOperationMetadata',
128 as HashRef[OperationMetadata()];
129  
130 declare 'Progress',
131 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::OperationMetadata::Progress'];
132  
133 coerce 'Progress',
134 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::OperationMetadata::Progress'->new($_) };
135  
136 declare 'RepeatedProgress',
137 as ArrayRef[Progress()];
138  
139 coerce 'RepeatedProgress',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::OperationMetadata::Progress'->new($_) } @$_ ] };
141  
142 declare 'MapStringProgress',
143 as HashRef[Progress()];
144  
145 declare 'Backup',
146 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::Backup'];
147  
148 coerce 'Backup',
149 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::Backup'->new($_) };
150  
151 declare 'RepeatedBackup',
152 as ArrayRef[Backup()];
153  
154 coerce 'RepeatedBackup',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::Backup'->new($_) } @$_ ] };
156  
157 declare 'MapStringBackup',
158 as HashRef[Backup()];
159  
160 declare 'State',
161 as (Int | Str);
162  
163 declare 'LabelsEntry',
164 as InstanceOf['Google::Cloud::Secretmanager::V1::OperationsService::Backup::LabelsEntry'];
165  
166 coerce 'LabelsEntry',
167 from HashRef, via { 'Google::Cloud::Secretmanager::V1::OperationsService::Backup::LabelsEntry'->new($_) };
168  
169 declare 'RepeatedLabelsEntry',
170 as ArrayRef[LabelsEntry()];
171  
172 coerce 'RepeatedLabelsEntry',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1::OperationsService::Backup::LabelsEntry'->new($_) } @$_ ] };
174  
175 declare 'MapStringLabelsEntry',
176 as HashRef[LabelsEntry()];
177  
178 1;
179  
180 __END__