| 1 | package Google::Cloud::Dialogflow::Cx::V3beta1::Environment::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 'Environment', | ||
| 11 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment']; | ||
| 12 | |||
| 13 | coerce 'Environment', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedEnvironment', | ||
| 17 | as ArrayRef[Environment()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedEnvironment', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringEnvironment', | ||
| 23 | as HashRef[Environment()]; | ||
| 24 | |||
| 25 | declare 'VersionConfig', | ||
| 26 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::VersionConfig']; | ||
| 27 | |||
| 28 | coerce 'VersionConfig', | ||
| 29 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::VersionConfig'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedVersionConfig', | ||
| 32 | as ArrayRef[VersionConfig()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedVersionConfig', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::VersionConfig'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringVersionConfig', | ||
| 38 | as HashRef[VersionConfig()]; | ||
| 39 | |||
| 40 | declare 'TestCasesConfig', | ||
| 41 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::TestCasesConfig']; | ||
| 42 | |||
| 43 | coerce 'TestCasesConfig', | ||
| 44 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::TestCasesConfig'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedTestCasesConfig', | ||
| 47 | as ArrayRef[TestCasesConfig()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedTestCasesConfig', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::TestCasesConfig'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringTestCasesConfig', | ||
| 53 | as HashRef[TestCasesConfig()]; | ||
| 54 | |||
| 55 | declare 'WebhookConfig', | ||
| 56 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::WebhookConfig']; | ||
| 57 | |||
| 58 | coerce 'WebhookConfig', | ||
| 59 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::WebhookConfig'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedWebhookConfig', | ||
| 62 | as ArrayRef[WebhookConfig()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedWebhookConfig', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::Environment::WebhookConfig'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringWebhookConfig', | ||
| 68 | as HashRef[WebhookConfig()]; | ||
| 69 | |||
| 70 | declare 'ListEnvironmentsRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListEnvironmentsRequest']; | ||
| 72 | |||
| 73 | coerce 'ListEnvironmentsRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListEnvironmentsRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedListEnvironmentsRequest', | ||
| 77 | as ArrayRef[ListEnvironmentsRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedListEnvironmentsRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListEnvironmentsRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringListEnvironmentsRequest', | ||
| 83 | as HashRef[ListEnvironmentsRequest()]; | ||
| 84 | |||
| 85 | declare 'ListEnvironmentsResponse', | ||
| 86 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListEnvironmentsResponse']; | ||
| 87 | |||
| 88 | coerce 'ListEnvironmentsResponse', | ||
| 89 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListEnvironmentsResponse'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedListEnvironmentsResponse', | ||
| 92 | as ArrayRef[ListEnvironmentsResponse()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedListEnvironmentsResponse', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListEnvironmentsResponse'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringListEnvironmentsResponse', | ||
| 98 | as HashRef[ListEnvironmentsResponse()]; | ||
| 99 | |||
| 100 | declare 'GetEnvironmentRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::GetEnvironmentRequest']; | ||
| 102 | |||
| 103 | coerce 'GetEnvironmentRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::GetEnvironmentRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedGetEnvironmentRequest', | ||
| 107 | as ArrayRef[GetEnvironmentRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedGetEnvironmentRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::GetEnvironmentRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringGetEnvironmentRequest', | ||
| 113 | as HashRef[GetEnvironmentRequest()]; | ||
| 114 | |||
| 115 | declare 'CreateEnvironmentRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::CreateEnvironmentRequest']; | ||
| 117 | |||
| 118 | coerce 'CreateEnvironmentRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::CreateEnvironmentRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedCreateEnvironmentRequest', | ||
| 122 | as ArrayRef[CreateEnvironmentRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedCreateEnvironmentRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::CreateEnvironmentRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringCreateEnvironmentRequest', | ||
| 128 | as HashRef[CreateEnvironmentRequest()]; | ||
| 129 | |||
| 130 | declare 'UpdateEnvironmentRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::UpdateEnvironmentRequest']; | ||
| 132 | |||
| 133 | coerce 'UpdateEnvironmentRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::UpdateEnvironmentRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedUpdateEnvironmentRequest', | ||
| 137 | as ArrayRef[UpdateEnvironmentRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedUpdateEnvironmentRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::UpdateEnvironmentRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringUpdateEnvironmentRequest', | ||
| 143 | as HashRef[UpdateEnvironmentRequest()]; | ||
| 144 | |||
| 145 | declare 'DeleteEnvironmentRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeleteEnvironmentRequest']; | ||
| 147 | |||
| 148 | coerce 'DeleteEnvironmentRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeleteEnvironmentRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedDeleteEnvironmentRequest', | ||
| 152 | as ArrayRef[DeleteEnvironmentRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedDeleteEnvironmentRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeleteEnvironmentRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringDeleteEnvironmentRequest', | ||
| 158 | as HashRef[DeleteEnvironmentRequest()]; | ||
| 159 | |||
| 160 | declare 'LookupEnvironmentHistoryRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::LookupEnvironmentHistoryRequest']; | ||
| 162 | |||
| 163 | coerce 'LookupEnvironmentHistoryRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::LookupEnvironmentHistoryRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedLookupEnvironmentHistoryRequest', | ||
| 167 | as ArrayRef[LookupEnvironmentHistoryRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedLookupEnvironmentHistoryRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::LookupEnvironmentHistoryRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringLookupEnvironmentHistoryRequest', | ||
| 173 | as HashRef[LookupEnvironmentHistoryRequest()]; | ||
| 174 | |||
| 175 | declare 'LookupEnvironmentHistoryResponse', | ||
| 176 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::LookupEnvironmentHistoryResponse']; | ||
| 177 | |||
| 178 | coerce 'LookupEnvironmentHistoryResponse', | ||
| 179 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::LookupEnvironmentHistoryResponse'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedLookupEnvironmentHistoryResponse', | ||
| 182 | as ArrayRef[LookupEnvironmentHistoryResponse()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedLookupEnvironmentHistoryResponse', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::LookupEnvironmentHistoryResponse'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringLookupEnvironmentHistoryResponse', | ||
| 188 | as HashRef[LookupEnvironmentHistoryResponse()]; | ||
| 189 | |||
| 190 | declare 'ContinuousTestResult', | ||
| 191 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ContinuousTestResult']; | ||
| 192 | |||
| 193 | coerce 'ContinuousTestResult', | ||
| 194 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ContinuousTestResult'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedContinuousTestResult', | ||
| 197 | as ArrayRef[ContinuousTestResult()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedContinuousTestResult', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ContinuousTestResult'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringContinuousTestResult', | ||
| 203 | as HashRef[ContinuousTestResult()]; | ||
| 204 | |||
| 205 | declare 'AggregatedTestResult', | ||
| 206 | as (Int | Str); | ||
| 207 | |||
| 208 | declare 'RunContinuousTestRequest', | ||
| 209 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestRequest']; | ||
| 210 | |||
| 211 | coerce 'RunContinuousTestRequest', | ||
| 212 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestRequest'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedRunContinuousTestRequest', | ||
| 215 | as ArrayRef[RunContinuousTestRequest()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedRunContinuousTestRequest', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestRequest'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringRunContinuousTestRequest', | ||
| 221 | as HashRef[RunContinuousTestRequest()]; | ||
| 222 | |||
| 223 | declare 'RunContinuousTestResponse', | ||
| 224 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestResponse']; | ||
| 225 | |||
| 226 | coerce 'RunContinuousTestResponse', | ||
| 227 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestResponse'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedRunContinuousTestResponse', | ||
| 230 | as ArrayRef[RunContinuousTestResponse()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedRunContinuousTestResponse', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestResponse'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringRunContinuousTestResponse', | ||
| 236 | as HashRef[RunContinuousTestResponse()]; | ||
| 237 | |||
| 238 | declare 'RunContinuousTestMetadata', | ||
| 239 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestMetadata']; | ||
| 240 | |||
| 241 | coerce 'RunContinuousTestMetadata', | ||
| 242 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestMetadata'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedRunContinuousTestMetadata', | ||
| 245 | as ArrayRef[RunContinuousTestMetadata()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedRunContinuousTestMetadata', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::RunContinuousTestMetadata'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringRunContinuousTestMetadata', | ||
| 251 | as HashRef[RunContinuousTestMetadata()]; | ||
| 252 | |||
| 253 | declare 'ListContinuousTestResultsRequest', | ||
| 254 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListContinuousTestResultsRequest']; | ||
| 255 | |||
| 256 | coerce 'ListContinuousTestResultsRequest', | ||
| 257 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListContinuousTestResultsRequest'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedListContinuousTestResultsRequest', | ||
| 260 | as ArrayRef[ListContinuousTestResultsRequest()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedListContinuousTestResultsRequest', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListContinuousTestResultsRequest'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringListContinuousTestResultsRequest', | ||
| 266 | as HashRef[ListContinuousTestResultsRequest()]; | ||
| 267 | |||
| 268 | declare 'ListContinuousTestResultsResponse', | ||
| 269 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListContinuousTestResultsResponse']; | ||
| 270 | |||
| 271 | coerce 'ListContinuousTestResultsResponse', | ||
| 272 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListContinuousTestResultsResponse'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedListContinuousTestResultsResponse', | ||
| 275 | as ArrayRef[ListContinuousTestResultsResponse()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedListContinuousTestResultsResponse', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::ListContinuousTestResultsResponse'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringListContinuousTestResultsResponse', | ||
| 281 | as HashRef[ListContinuousTestResultsResponse()]; | ||
| 282 | |||
| 283 | declare 'DeployFlowRequest', | ||
| 284 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowRequest']; | ||
| 285 | |||
| 286 | coerce 'DeployFlowRequest', | ||
| 287 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowRequest'->new($_) }; | ||
| 288 | |||
| 289 | declare 'RepeatedDeployFlowRequest', | ||
| 290 | as ArrayRef[DeployFlowRequest()]; | ||
| 291 | |||
| 292 | coerce 'RepeatedDeployFlowRequest', | ||
| 293 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowRequest'->new($_) } @$_ ] }; | ||
| 294 | |||
| 295 | declare 'MapStringDeployFlowRequest', | ||
| 296 | as HashRef[DeployFlowRequest()]; | ||
| 297 | |||
| 298 | declare 'DeployFlowResponse', | ||
| 299 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowResponse']; | ||
| 300 | |||
| 301 | coerce 'DeployFlowResponse', | ||
| 302 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowResponse'->new($_) }; | ||
| 303 | |||
| 304 | declare 'RepeatedDeployFlowResponse', | ||
| 305 | as ArrayRef[DeployFlowResponse()]; | ||
| 306 | |||
| 307 | coerce 'RepeatedDeployFlowResponse', | ||
| 308 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowResponse'->new($_) } @$_ ] }; | ||
| 309 | |||
| 310 | declare 'MapStringDeployFlowResponse', | ||
| 311 | as HashRef[DeployFlowResponse()]; | ||
| 312 | |||
| 313 | declare 'DeployFlowMetadata', | ||
| 314 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowMetadata']; | ||
| 315 | |||
| 316 | coerce 'DeployFlowMetadata', | ||
| 317 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowMetadata'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedDeployFlowMetadata', | ||
| 320 | as ArrayRef[DeployFlowMetadata()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedDeployFlowMetadata', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::Environment::DeployFlowMetadata'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringDeployFlowMetadata', | ||
| 326 | as HashRef[DeployFlowMetadata()]; | ||
| 327 | |||
| 328 | 1; | ||
| 329 | |||
| 330 | __END__ |