| 1 | package Google::Cloud::Dialogflow::V2::EncryptionSpec::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 'GetEncryptionSpecRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Dialogflow::V2::EncryptionSpec::GetEncryptionSpecRequest']; | ||
| 12 | |||
| 13 | coerce 'GetEncryptionSpecRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::GetEncryptionSpecRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGetEncryptionSpecRequest', | ||
| 17 | as ArrayRef[GetEncryptionSpecRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGetEncryptionSpecRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::GetEncryptionSpecRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGetEncryptionSpecRequest', | ||
| 23 | as HashRef[GetEncryptionSpecRequest()]; | ||
| 24 | |||
| 25 | declare 'EncryptionSpec', | ||
| 26 | as InstanceOf['Google::Cloud::Dialogflow::V2::EncryptionSpec::EncryptionSpec']; | ||
| 27 | |||
| 28 | coerce 'EncryptionSpec', | ||
| 29 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::EncryptionSpec'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedEncryptionSpec', | ||
| 32 | as ArrayRef[EncryptionSpec()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedEncryptionSpec', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::EncryptionSpec'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringEncryptionSpec', | ||
| 38 | as HashRef[EncryptionSpec()]; | ||
| 39 | |||
| 40 | declare 'InitializeEncryptionSpecRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecRequest']; | ||
| 42 | |||
| 43 | coerce 'InitializeEncryptionSpecRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedInitializeEncryptionSpecRequest', | ||
| 47 | as ArrayRef[InitializeEncryptionSpecRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedInitializeEncryptionSpecRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringInitializeEncryptionSpecRequest', | ||
| 53 | as HashRef[InitializeEncryptionSpecRequest()]; | ||
| 54 | |||
| 55 | declare 'InitializeEncryptionSpecResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecResponse']; | ||
| 57 | |||
| 58 | coerce 'InitializeEncryptionSpecResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedInitializeEncryptionSpecResponse', | ||
| 62 | as ArrayRef[InitializeEncryptionSpecResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedInitializeEncryptionSpecResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringInitializeEncryptionSpecResponse', | ||
| 68 | as HashRef[InitializeEncryptionSpecResponse()]; | ||
| 69 | |||
| 70 | declare 'InitializeEncryptionSpecMetadata', | ||
| 71 | as InstanceOf['Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecMetadata']; | ||
| 72 | |||
| 73 | coerce 'InitializeEncryptionSpecMetadata', | ||
| 74 | from HashRef, via { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecMetadata'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedInitializeEncryptionSpecMetadata', | ||
| 77 | as ArrayRef[InitializeEncryptionSpecMetadata()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedInitializeEncryptionSpecMetadata', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::EncryptionSpec::InitializeEncryptionSpecMetadata'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringInitializeEncryptionSpecMetadata', | ||
| 83 | as HashRef[InitializeEncryptionSpecMetadata()]; | ||
| 84 | |||
| 85 | 1; | ||
| 86 | |||
| 87 | __END__ |