V1/Auth/Types.pm untested

filter: Statementstmt 0.0% 0 / 135 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 140 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::Ces::V1::Auth::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 'ApiKeyConfig',
11 as InstanceOf['Google::Cloud::Ces::V1::Auth::ApiKeyConfig'];
12  
13 coerce 'ApiKeyConfig',
14 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::ApiKeyConfig'->new($_) };
15  
16 declare 'RepeatedApiKeyConfig',
17 as ArrayRef[ApiKeyConfig()];
18  
19 coerce 'RepeatedApiKeyConfig',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::ApiKeyConfig'->new($_) } @$_ ] };
21  
22 declare 'MapStringApiKeyConfig',
23 as HashRef[ApiKeyConfig()];
24  
25 declare 'RequestLocation',
26 as (Int | Str);
27  
28 declare 'OAuthConfig',
29 as InstanceOf['Google::Cloud::Ces::V1::Auth::OAuthConfig'];
30  
31 coerce 'OAuthConfig',
32 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::OAuthConfig'->new($_) };
33  
34 declare 'RepeatedOAuthConfig',
35 as ArrayRef[OAuthConfig()];
36  
37 coerce 'RepeatedOAuthConfig',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::OAuthConfig'->new($_) } @$_ ] };
39  
40 declare 'MapStringOAuthConfig',
41 as HashRef[OAuthConfig()];
42  
43 declare 'OauthGrantType',
44 as (Int | Str);
45  
46 declare 'ServiceAgentIdTokenAuthConfig',
47 as InstanceOf['Google::Cloud::Ces::V1::Auth::ServiceAgentIdTokenAuthConfig'];
48  
49 coerce 'ServiceAgentIdTokenAuthConfig',
50 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::ServiceAgentIdTokenAuthConfig'->new($_) };
51  
52 declare 'RepeatedServiceAgentIdTokenAuthConfig',
53 as ArrayRef[ServiceAgentIdTokenAuthConfig()];
54  
55 coerce 'RepeatedServiceAgentIdTokenAuthConfig',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::ServiceAgentIdTokenAuthConfig'->new($_) } @$_ ] };
57  
58 declare 'MapStringServiceAgentIdTokenAuthConfig',
59 as HashRef[ServiceAgentIdTokenAuthConfig()];
60  
61 declare 'ServiceAccountAuthConfig',
62 as InstanceOf['Google::Cloud::Ces::V1::Auth::ServiceAccountAuthConfig'];
63  
64 coerce 'ServiceAccountAuthConfig',
65 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::ServiceAccountAuthConfig'->new($_) };
66  
67 declare 'RepeatedServiceAccountAuthConfig',
68 as ArrayRef[ServiceAccountAuthConfig()];
69  
70 coerce 'RepeatedServiceAccountAuthConfig',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::ServiceAccountAuthConfig'->new($_) } @$_ ] };
72  
73 declare 'MapStringServiceAccountAuthConfig',
74 as HashRef[ServiceAccountAuthConfig()];
75  
76 declare 'BearerTokenConfig',
77 as InstanceOf['Google::Cloud::Ces::V1::Auth::BearerTokenConfig'];
78  
79 coerce 'BearerTokenConfig',
80 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::BearerTokenConfig'->new($_) };
81  
82 declare 'RepeatedBearerTokenConfig',
83 as ArrayRef[BearerTokenConfig()];
84  
85 coerce 'RepeatedBearerTokenConfig',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::BearerTokenConfig'->new($_) } @$_ ] };
87  
88 declare 'MapStringBearerTokenConfig',
89 as HashRef[BearerTokenConfig()];
90  
91 declare 'EndUserAuthConfig',
92 as InstanceOf['Google::Cloud::Ces::V1::Auth::EndUserAuthConfig'];
93  
94 coerce 'EndUserAuthConfig',
95 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::EndUserAuthConfig'->new($_) };
96  
97 declare 'RepeatedEndUserAuthConfig',
98 as ArrayRef[EndUserAuthConfig()];
99  
100 coerce 'RepeatedEndUserAuthConfig',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::EndUserAuthConfig'->new($_) } @$_ ] };
102  
103 declare 'MapStringEndUserAuthConfig',
104 as HashRef[EndUserAuthConfig()];
105  
106 declare 'Oauth2AuthCodeConfig',
107 as InstanceOf['Google::Cloud::Ces::V1::Auth::EndUserAuthConfig::Oauth2AuthCodeConfig'];
108  
109 coerce 'Oauth2AuthCodeConfig',
110 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::EndUserAuthConfig::Oauth2AuthCodeConfig'->new($_) };
111  
112 declare 'RepeatedOauth2AuthCodeConfig',
113 as ArrayRef[Oauth2AuthCodeConfig()];
114  
115 coerce 'RepeatedOauth2AuthCodeConfig',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::EndUserAuthConfig::Oauth2AuthCodeConfig'->new($_) } @$_ ] };
117  
118 declare 'MapStringOauth2AuthCodeConfig',
119 as HashRef[Oauth2AuthCodeConfig()];
120  
121 declare 'Oauth2JwtBearerConfig',
122 as InstanceOf['Google::Cloud::Ces::V1::Auth::EndUserAuthConfig::Oauth2JwtBearerConfig'];
123  
124 coerce 'Oauth2JwtBearerConfig',
125 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::EndUserAuthConfig::Oauth2JwtBearerConfig'->new($_) };
126  
127 declare 'RepeatedOauth2JwtBearerConfig',
128 as ArrayRef[Oauth2JwtBearerConfig()];
129  
130 coerce 'RepeatedOauth2JwtBearerConfig',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::EndUserAuthConfig::Oauth2JwtBearerConfig'->new($_) } @$_ ] };
132  
133 declare 'MapStringOauth2JwtBearerConfig',
134 as HashRef[Oauth2JwtBearerConfig()];
135  
136 declare 'ApiAuthentication',
137 as InstanceOf['Google::Cloud::Ces::V1::Auth::ApiAuthentication'];
138  
139 coerce 'ApiAuthentication',
140 from HashRef, via { 'Google::Cloud::Ces::V1::Auth::ApiAuthentication'->new($_) };
141  
142 declare 'RepeatedApiAuthentication',
143 as ArrayRef[ApiAuthentication()];
144  
145 coerce 'RepeatedApiAuthentication',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::Auth::ApiAuthentication'->new($_) } @$_ ] };
147  
148 declare 'MapStringApiAuthentication',
149 as HashRef[ApiAuthentication()];
150  
151 1;
152  
153 __END__