| 1 | package Google::Actions::Sdk::V2::ActionsSdk::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 'WriteDraftRequest', | ||
| 11 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::WriteDraftRequest']; | ||
| 12 | |||
| 13 | coerce 'WriteDraftRequest', | ||
| 14 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::WriteDraftRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedWriteDraftRequest', | ||
| 17 | as ArrayRef[WriteDraftRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedWriteDraftRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::WriteDraftRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringWriteDraftRequest', | ||
| 23 | as HashRef[WriteDraftRequest()]; | ||
| 24 | |||
| 25 | declare 'Draft', | ||
| 26 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::Draft']; | ||
| 27 | |||
| 28 | coerce 'Draft', | ||
| 29 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::Draft'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedDraft', | ||
| 32 | as ArrayRef[Draft()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedDraft', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::Draft'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringDraft', | ||
| 38 | as HashRef[Draft()]; | ||
| 39 | |||
| 40 | declare 'WritePreviewRequest', | ||
| 41 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest']; | ||
| 42 | |||
| 43 | coerce 'WritePreviewRequest', | ||
| 44 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedWritePreviewRequest', | ||
| 47 | as ArrayRef[WritePreviewRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedWritePreviewRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringWritePreviewRequest', | ||
| 53 | as HashRef[WritePreviewRequest()]; | ||
| 54 | |||
| 55 | declare 'ContentFromDraft', | ||
| 56 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::ContentFromDraft']; | ||
| 57 | |||
| 58 | coerce 'ContentFromDraft', | ||
| 59 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::ContentFromDraft'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedContentFromDraft', | ||
| 62 | as ArrayRef[ContentFromDraft()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedContentFromDraft', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::ContentFromDraft'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringContentFromDraft', | ||
| 68 | as HashRef[ContentFromDraft()]; | ||
| 69 | |||
| 70 | declare 'ContentFromSubmittedVersion', | ||
| 71 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::ContentFromSubmittedVersion']; | ||
| 72 | |||
| 73 | coerce 'ContentFromSubmittedVersion', | ||
| 74 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::ContentFromSubmittedVersion'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedContentFromSubmittedVersion', | ||
| 77 | as ArrayRef[ContentFromSubmittedVersion()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedContentFromSubmittedVersion', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::ContentFromSubmittedVersion'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringContentFromSubmittedVersion', | ||
| 83 | as HashRef[ContentFromSubmittedVersion()]; | ||
| 84 | |||
| 85 | declare 'PreviewSettings', | ||
| 86 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::PreviewSettings']; | ||
| 87 | |||
| 88 | coerce 'PreviewSettings', | ||
| 89 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::PreviewSettings'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedPreviewSettings', | ||
| 92 | as ArrayRef[PreviewSettings()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedPreviewSettings', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest::PreviewSettings'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringPreviewSettings', | ||
| 98 | as HashRef[PreviewSettings()]; | ||
| 99 | |||
| 100 | declare 'Preview', | ||
| 101 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::Preview']; | ||
| 102 | |||
| 103 | coerce 'Preview', | ||
| 104 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::Preview'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedPreview', | ||
| 107 | as ArrayRef[Preview()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedPreview', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::Preview'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringPreview', | ||
| 113 | as HashRef[Preview()]; | ||
| 114 | |||
| 115 | declare 'CreateVersionRequest', | ||
| 116 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::CreateVersionRequest']; | ||
| 117 | |||
| 118 | coerce 'CreateVersionRequest', | ||
| 119 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::CreateVersionRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedCreateVersionRequest', | ||
| 122 | as ArrayRef[CreateVersionRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedCreateVersionRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::CreateVersionRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringCreateVersionRequest', | ||
| 128 | as HashRef[CreateVersionRequest()]; | ||
| 129 | |||
| 130 | declare 'ReadDraftRequest', | ||
| 131 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ReadDraftRequest']; | ||
| 132 | |||
| 133 | coerce 'ReadDraftRequest', | ||
| 134 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ReadDraftRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedReadDraftRequest', | ||
| 137 | as ArrayRef[ReadDraftRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedReadDraftRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ReadDraftRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringReadDraftRequest', | ||
| 143 | as HashRef[ReadDraftRequest()]; | ||
| 144 | |||
| 145 | declare 'ReadDraftResponse', | ||
| 146 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ReadDraftResponse']; | ||
| 147 | |||
| 148 | coerce 'ReadDraftResponse', | ||
| 149 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ReadDraftResponse'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedReadDraftResponse', | ||
| 152 | as ArrayRef[ReadDraftResponse()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedReadDraftResponse', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ReadDraftResponse'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringReadDraftResponse', | ||
| 158 | as HashRef[ReadDraftResponse()]; | ||
| 159 | |||
| 160 | declare 'ReadVersionRequest', | ||
| 161 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ReadVersionRequest']; | ||
| 162 | |||
| 163 | coerce 'ReadVersionRequest', | ||
| 164 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ReadVersionRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedReadVersionRequest', | ||
| 167 | as ArrayRef[ReadVersionRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedReadVersionRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ReadVersionRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringReadVersionRequest', | ||
| 173 | as HashRef[ReadVersionRequest()]; | ||
| 174 | |||
| 175 | declare 'ReadVersionResponse', | ||
| 176 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ReadVersionResponse']; | ||
| 177 | |||
| 178 | coerce 'ReadVersionResponse', | ||
| 179 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ReadVersionResponse'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedReadVersionResponse', | ||
| 182 | as ArrayRef[ReadVersionResponse()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedReadVersionResponse', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ReadVersionResponse'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringReadVersionResponse', | ||
| 188 | as HashRef[ReadVersionResponse()]; | ||
| 189 | |||
| 190 | declare 'EncryptSecretRequest', | ||
| 191 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretRequest']; | ||
| 192 | |||
| 193 | coerce 'EncryptSecretRequest', | ||
| 194 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedEncryptSecretRequest', | ||
| 197 | as ArrayRef[EncryptSecretRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedEncryptSecretRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringEncryptSecretRequest', | ||
| 203 | as HashRef[EncryptSecretRequest()]; | ||
| 204 | |||
| 205 | declare 'EncryptSecretResponse', | ||
| 206 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretResponse']; | ||
| 207 | |||
| 208 | coerce 'EncryptSecretResponse', | ||
| 209 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretResponse'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedEncryptSecretResponse', | ||
| 212 | as ArrayRef[EncryptSecretResponse()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedEncryptSecretResponse', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretResponse'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringEncryptSecretResponse', | ||
| 218 | as HashRef[EncryptSecretResponse()]; | ||
| 219 | |||
| 220 | declare 'DecryptSecretRequest', | ||
| 221 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretRequest']; | ||
| 222 | |||
| 223 | coerce 'DecryptSecretRequest', | ||
| 224 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedDecryptSecretRequest', | ||
| 227 | as ArrayRef[DecryptSecretRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedDecryptSecretRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringDecryptSecretRequest', | ||
| 233 | as HashRef[DecryptSecretRequest()]; | ||
| 234 | |||
| 235 | declare 'DecryptSecretResponse', | ||
| 236 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretResponse']; | ||
| 237 | |||
| 238 | coerce 'DecryptSecretResponse', | ||
| 239 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretResponse'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedDecryptSecretResponse', | ||
| 242 | as ArrayRef[DecryptSecretResponse()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedDecryptSecretResponse', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretResponse'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringDecryptSecretResponse', | ||
| 248 | as HashRef[DecryptSecretResponse()]; | ||
| 249 | |||
| 250 | declare 'ListSampleProjectsRequest', | ||
| 251 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsRequest']; | ||
| 252 | |||
| 253 | coerce 'ListSampleProjectsRequest', | ||
| 254 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedListSampleProjectsRequest', | ||
| 257 | as ArrayRef[ListSampleProjectsRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedListSampleProjectsRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringListSampleProjectsRequest', | ||
| 263 | as HashRef[ListSampleProjectsRequest()]; | ||
| 264 | |||
| 265 | declare 'ListSampleProjectsResponse', | ||
| 266 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsResponse']; | ||
| 267 | |||
| 268 | coerce 'ListSampleProjectsResponse', | ||
| 269 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsResponse'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedListSampleProjectsResponse', | ||
| 272 | as ArrayRef[ListSampleProjectsResponse()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedListSampleProjectsResponse', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsResponse'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringListSampleProjectsResponse', | ||
| 278 | as HashRef[ListSampleProjectsResponse()]; | ||
| 279 | |||
| 280 | declare 'SampleProject', | ||
| 281 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::SampleProject']; | ||
| 282 | |||
| 283 | coerce 'SampleProject', | ||
| 284 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::SampleProject'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedSampleProject', | ||
| 287 | as ArrayRef[SampleProject()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedSampleProject', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::SampleProject'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringSampleProject', | ||
| 293 | as HashRef[SampleProject()]; | ||
| 294 | |||
| 295 | declare 'ListReleaseChannelsRequest', | ||
| 296 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsRequest']; | ||
| 297 | |||
| 298 | coerce 'ListReleaseChannelsRequest', | ||
| 299 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsRequest'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedListReleaseChannelsRequest', | ||
| 302 | as ArrayRef[ListReleaseChannelsRequest()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedListReleaseChannelsRequest', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsRequest'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringListReleaseChannelsRequest', | ||
| 308 | as HashRef[ListReleaseChannelsRequest()]; | ||
| 309 | |||
| 310 | declare 'ListReleaseChannelsResponse', | ||
| 311 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsResponse']; | ||
| 312 | |||
| 313 | coerce 'ListReleaseChannelsResponse', | ||
| 314 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsResponse'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedListReleaseChannelsResponse', | ||
| 317 | as ArrayRef[ListReleaseChannelsResponse()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedListReleaseChannelsResponse', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsResponse'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringListReleaseChannelsResponse', | ||
| 323 | as HashRef[ListReleaseChannelsResponse()]; | ||
| 324 | |||
| 325 | declare 'ListVersionsRequest', | ||
| 326 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ListVersionsRequest']; | ||
| 327 | |||
| 328 | coerce 'ListVersionsRequest', | ||
| 329 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ListVersionsRequest'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedListVersionsRequest', | ||
| 332 | as ArrayRef[ListVersionsRequest()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedListVersionsRequest', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ListVersionsRequest'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringListVersionsRequest', | ||
| 338 | as HashRef[ListVersionsRequest()]; | ||
| 339 | |||
| 340 | declare 'ListVersionsResponse', | ||
| 341 | as InstanceOf['Google::Actions::Sdk::V2::ActionsSdk::ListVersionsResponse']; | ||
| 342 | |||
| 343 | coerce 'ListVersionsResponse', | ||
| 344 | from HashRef, via { 'Google::Actions::Sdk::V2::ActionsSdk::ListVersionsResponse'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedListVersionsResponse', | ||
| 347 | as ArrayRef[ListVersionsResponse()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedListVersionsResponse', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Actions::Sdk::V2::ActionsSdk::ListVersionsResponse'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringListVersionsResponse', | ||
| 353 | as HashRef[ListVersionsResponse()]; | ||
| 354 | |||
| 355 | 1; | ||
| 356 | |||
| 357 | __END__ |