V1beta/Service/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Gkehub::V1beta::Service::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 'ListFeaturesRequest',
11 as InstanceOf['Google::Cloud::Gkehub::V1beta::Service::ListFeaturesRequest'];
12  
13 coerce 'ListFeaturesRequest',
14 from HashRef, via { 'Google::Cloud::Gkehub::V1beta::Service::ListFeaturesRequest'->new($_) };
15  
16 declare 'RepeatedListFeaturesRequest',
17 as ArrayRef[ListFeaturesRequest()];
18  
19 coerce 'RepeatedListFeaturesRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1beta::Service::ListFeaturesRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringListFeaturesRequest',
23 as HashRef[ListFeaturesRequest()];
24  
25 declare 'ListFeaturesResponse',
26 as InstanceOf['Google::Cloud::Gkehub::V1beta::Service::ListFeaturesResponse'];
27  
28 coerce 'ListFeaturesResponse',
29 from HashRef, via { 'Google::Cloud::Gkehub::V1beta::Service::ListFeaturesResponse'->new($_) };
30  
31 declare 'RepeatedListFeaturesResponse',
32 as ArrayRef[ListFeaturesResponse()];
33  
34 coerce 'RepeatedListFeaturesResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1beta::Service::ListFeaturesResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringListFeaturesResponse',
38 as HashRef[ListFeaturesResponse()];
39  
40 declare 'GetFeatureRequest',
41 as InstanceOf['Google::Cloud::Gkehub::V1beta::Service::GetFeatureRequest'];
42  
43 coerce 'GetFeatureRequest',
44 from HashRef, via { 'Google::Cloud::Gkehub::V1beta::Service::GetFeatureRequest'->new($_) };
45  
46 declare 'RepeatedGetFeatureRequest',
47 as ArrayRef[GetFeatureRequest()];
48  
49 coerce 'RepeatedGetFeatureRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1beta::Service::GetFeatureRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringGetFeatureRequest',
53 as HashRef[GetFeatureRequest()];
54  
55 declare 'CreateFeatureRequest',
56 as InstanceOf['Google::Cloud::Gkehub::V1beta::Service::CreateFeatureRequest'];
57  
58 coerce 'CreateFeatureRequest',
59 from HashRef, via { 'Google::Cloud::Gkehub::V1beta::Service::CreateFeatureRequest'->new($_) };
60  
61 declare 'RepeatedCreateFeatureRequest',
62 as ArrayRef[CreateFeatureRequest()];
63  
64 coerce 'RepeatedCreateFeatureRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1beta::Service::CreateFeatureRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringCreateFeatureRequest',
68 as HashRef[CreateFeatureRequest()];
69  
70 declare 'DeleteFeatureRequest',
71 as InstanceOf['Google::Cloud::Gkehub::V1beta::Service::DeleteFeatureRequest'];
72  
73 coerce 'DeleteFeatureRequest',
74 from HashRef, via { 'Google::Cloud::Gkehub::V1beta::Service::DeleteFeatureRequest'->new($_) };
75  
76 declare 'RepeatedDeleteFeatureRequest',
77 as ArrayRef[DeleteFeatureRequest()];
78  
79 coerce 'RepeatedDeleteFeatureRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1beta::Service::DeleteFeatureRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringDeleteFeatureRequest',
83 as HashRef[DeleteFeatureRequest()];
84  
85 declare 'UpdateFeatureRequest',
86 as InstanceOf['Google::Cloud::Gkehub::V1beta::Service::UpdateFeatureRequest'];
87  
88 coerce 'UpdateFeatureRequest',
89 from HashRef, via { 'Google::Cloud::Gkehub::V1beta::Service::UpdateFeatureRequest'->new($_) };
90  
91 declare 'RepeatedUpdateFeatureRequest',
92 as ArrayRef[UpdateFeatureRequest()];
93  
94 coerce 'RepeatedUpdateFeatureRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1beta::Service::UpdateFeatureRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringUpdateFeatureRequest',
98 as HashRef[UpdateFeatureRequest()];
99  
100 declare 'OperationMetadata',
101 as InstanceOf['Google::Cloud::Gkehub::V1beta::Service::OperationMetadata'];
102  
103 coerce 'OperationMetadata',
104 from HashRef, via { 'Google::Cloud::Gkehub::V1beta::Service::OperationMetadata'->new($_) };
105  
106 declare 'RepeatedOperationMetadata',
107 as ArrayRef[OperationMetadata()];
108  
109 coerce 'RepeatedOperationMetadata',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1beta::Service::OperationMetadata'->new($_) } @$_ ] };
111  
112 declare 'MapStringOperationMetadata',
113 as HashRef[OperationMetadata()];
114  
115 1;
116  
117 __END__