V1/Project/Types.pm untested

filter: Statementstmt 0.0% 0 / 161 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 166 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::Discoveryengine::V1::Project::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 'Project',
11 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project'];
12  
13 coerce 'Project',
14 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project'->new($_) };
15  
16 declare 'RepeatedProject',
17 as ArrayRef[Project()];
18  
19 coerce 'RepeatedProject',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project'->new($_) } @$_ ] };
21  
22 declare 'MapStringProject',
23 as HashRef[Project()];
24  
25 declare 'ServiceTerms',
26 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::ServiceTerms'];
27  
28 coerce 'ServiceTerms',
29 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::ServiceTerms'->new($_) };
30  
31 declare 'RepeatedServiceTerms',
32 as ArrayRef[ServiceTerms()];
33  
34 coerce 'RepeatedServiceTerms',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::ServiceTerms'->new($_) } @$_ ] };
36  
37 declare 'MapStringServiceTerms',
38 as HashRef[ServiceTerms()];
39  
40 declare 'State',
41 as (Int | Str);
42  
43 declare 'CustomerProvidedConfig',
44 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig'];
45  
46 coerce 'CustomerProvidedConfig',
47 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig'->new($_) };
48  
49 declare 'RepeatedCustomerProvidedConfig',
50 as ArrayRef[CustomerProvidedConfig()];
51  
52 coerce 'RepeatedCustomerProvidedConfig',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig'->new($_) } @$_ ] };
54  
55 declare 'MapStringCustomerProvidedConfig',
56 as HashRef[CustomerProvidedConfig()];
57  
58 declare 'NotebooklmConfig',
59 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig'];
60  
61 coerce 'NotebooklmConfig',
62 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig'->new($_) };
63  
64 declare 'RepeatedNotebooklmConfig',
65 as ArrayRef[NotebooklmConfig()];
66  
67 coerce 'RepeatedNotebooklmConfig',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig'->new($_) } @$_ ] };
69  
70 declare 'MapStringNotebooklmConfig',
71 as HashRef[NotebooklmConfig()];
72  
73 declare 'ModelArmorConfig',
74 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig'];
75  
76 coerce 'ModelArmorConfig',
77 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig'->new($_) };
78  
79 declare 'RepeatedModelArmorConfig',
80 as ArrayRef[ModelArmorConfig()];
81  
82 coerce 'RepeatedModelArmorConfig',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig'->new($_) } @$_ ] };
84  
85 declare 'MapStringModelArmorConfig',
86 as HashRef[ModelArmorConfig()];
87  
88 declare 'DataProtectionPolicy',
89 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy'];
90  
91 coerce 'DataProtectionPolicy',
92 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy'->new($_) };
93  
94 declare 'RepeatedDataProtectionPolicy',
95 as ArrayRef[DataProtectionPolicy()];
96  
97 coerce 'RepeatedDataProtectionPolicy',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy'->new($_) } @$_ ] };
99  
100 declare 'MapStringDataProtectionPolicy',
101 as HashRef[DataProtectionPolicy()];
102  
103 declare 'SensitiveDataProtectionPolicy',
104 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy'];
105  
106 coerce 'SensitiveDataProtectionPolicy',
107 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy'->new($_) };
108  
109 declare 'RepeatedSensitiveDataProtectionPolicy',
110 as ArrayRef[SensitiveDataProtectionPolicy()];
111  
112 coerce 'RepeatedSensitiveDataProtectionPolicy',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy'->new($_) } @$_ ] };
114  
115 declare 'MapStringSensitiveDataProtectionPolicy',
116 as HashRef[SensitiveDataProtectionPolicy()];
117  
118 declare 'ResourceAccessControlConfig',
119 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::ResourceAccessControlConfig'];
120  
121 coerce 'ResourceAccessControlConfig',
122 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::ResourceAccessControlConfig'->new($_) };
123  
124 declare 'RepeatedResourceAccessControlConfig',
125 as ArrayRef[ResourceAccessControlConfig()];
126  
127 coerce 'RepeatedResourceAccessControlConfig',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::CustomerProvidedConfig::ResourceAccessControlConfig'->new($_) } @$_ ] };
129  
130 declare 'MapStringResourceAccessControlConfig',
131 as HashRef[ResourceAccessControlConfig()];
132  
133 declare 'ConfigurableBillingStatus',
134 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::ConfigurableBillingStatus'];
135  
136 coerce 'ConfigurableBillingStatus',
137 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::ConfigurableBillingStatus'->new($_) };
138  
139 declare 'RepeatedConfigurableBillingStatus',
140 as ArrayRef[ConfigurableBillingStatus()];
141  
142 coerce 'RepeatedConfigurableBillingStatus',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::ConfigurableBillingStatus'->new($_) } @$_ ] };
144  
145 declare 'MapStringConfigurableBillingStatus',
146 as HashRef[ConfigurableBillingStatus()];
147  
148 declare 'UpdateType',
149 as (Int | Str);
150  
151 declare 'AgentSearchTokenSubscriptionStatus',
152 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus'];
153  
154 coerce 'AgentSearchTokenSubscriptionStatus',
155 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus'->new($_) };
156  
157 declare 'RepeatedAgentSearchTokenSubscriptionStatus',
158 as ArrayRef[AgentSearchTokenSubscriptionStatus()];
159  
160 coerce 'RepeatedAgentSearchTokenSubscriptionStatus',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus'->new($_) } @$_ ] };
162  
163 declare 'MapStringAgentSearchTokenSubscriptionStatus',
164 as HashRef[AgentSearchTokenSubscriptionStatus()];
165  
166 declare 'ServiceTermsMapEntry',
167 as InstanceOf['Google::Cloud::Discoveryengine::V1::Project::Project::ServiceTermsMapEntry'];
168  
169 coerce 'ServiceTermsMapEntry',
170 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Project::Project::ServiceTermsMapEntry'->new($_) };
171  
172 declare 'RepeatedServiceTermsMapEntry',
173 as ArrayRef[ServiceTermsMapEntry()];
174  
175 coerce 'RepeatedServiceTermsMapEntry',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Project::Project::ServiceTermsMapEntry'->new($_) } @$_ ] };
177  
178 declare 'MapStringServiceTermsMapEntry',
179 as HashRef[ServiceTermsMapEntry()];
180  
181 1;
182  
183 __END__