| 1 | package Google::Cloud::Dataplex::V1::Cmek::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 'EncryptionConfig', | ||
| 11 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::EncryptionConfig']; | ||
| 12 | |||
| 13 | coerce 'EncryptionConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::EncryptionConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedEncryptionConfig', | ||
| 17 | as ArrayRef[EncryptionConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedEncryptionConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::EncryptionConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringEncryptionConfig', | ||
| 23 | as HashRef[EncryptionConfig()]; | ||
| 24 | |||
| 25 | declare 'EncryptionState', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'FailureDetails', | ||
| 29 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::EncryptionConfig::FailureDetails']; | ||
| 30 | |||
| 31 | coerce 'FailureDetails', | ||
| 32 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::EncryptionConfig::FailureDetails'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedFailureDetails', | ||
| 35 | as ArrayRef[FailureDetails()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedFailureDetails', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::EncryptionConfig::FailureDetails'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringFailureDetails', | ||
| 41 | as HashRef[FailureDetails()]; | ||
| 42 | |||
| 43 | declare 'ErrorCode', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'CreateEncryptionConfigRequest', | ||
| 47 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::CreateEncryptionConfigRequest']; | ||
| 48 | |||
| 49 | coerce 'CreateEncryptionConfigRequest', | ||
| 50 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::CreateEncryptionConfigRequest'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedCreateEncryptionConfigRequest', | ||
| 53 | as ArrayRef[CreateEncryptionConfigRequest()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedCreateEncryptionConfigRequest', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::CreateEncryptionConfigRequest'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringCreateEncryptionConfigRequest', | ||
| 59 | as HashRef[CreateEncryptionConfigRequest()]; | ||
| 60 | |||
| 61 | declare 'GetEncryptionConfigRequest', | ||
| 62 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::GetEncryptionConfigRequest']; | ||
| 63 | |||
| 64 | coerce 'GetEncryptionConfigRequest', | ||
| 65 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::GetEncryptionConfigRequest'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedGetEncryptionConfigRequest', | ||
| 68 | as ArrayRef[GetEncryptionConfigRequest()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedGetEncryptionConfigRequest', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::GetEncryptionConfigRequest'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringGetEncryptionConfigRequest', | ||
| 74 | as HashRef[GetEncryptionConfigRequest()]; | ||
| 75 | |||
| 76 | declare 'UpdateEncryptionConfigRequest', | ||
| 77 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::UpdateEncryptionConfigRequest']; | ||
| 78 | |||
| 79 | coerce 'UpdateEncryptionConfigRequest', | ||
| 80 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::UpdateEncryptionConfigRequest'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedUpdateEncryptionConfigRequest', | ||
| 83 | as ArrayRef[UpdateEncryptionConfigRequest()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedUpdateEncryptionConfigRequest', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::UpdateEncryptionConfigRequest'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringUpdateEncryptionConfigRequest', | ||
| 89 | as HashRef[UpdateEncryptionConfigRequest()]; | ||
| 90 | |||
| 91 | declare 'DeleteEncryptionConfigRequest', | ||
| 92 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::DeleteEncryptionConfigRequest']; | ||
| 93 | |||
| 94 | coerce 'DeleteEncryptionConfigRequest', | ||
| 95 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::DeleteEncryptionConfigRequest'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedDeleteEncryptionConfigRequest', | ||
| 98 | as ArrayRef[DeleteEncryptionConfigRequest()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedDeleteEncryptionConfigRequest', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::DeleteEncryptionConfigRequest'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringDeleteEncryptionConfigRequest', | ||
| 104 | as HashRef[DeleteEncryptionConfigRequest()]; | ||
| 105 | |||
| 106 | declare 'ListEncryptionConfigsRequest', | ||
| 107 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::ListEncryptionConfigsRequest']; | ||
| 108 | |||
| 109 | coerce 'ListEncryptionConfigsRequest', | ||
| 110 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::ListEncryptionConfigsRequest'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedListEncryptionConfigsRequest', | ||
| 113 | as ArrayRef[ListEncryptionConfigsRequest()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedListEncryptionConfigsRequest', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::ListEncryptionConfigsRequest'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringListEncryptionConfigsRequest', | ||
| 119 | as HashRef[ListEncryptionConfigsRequest()]; | ||
| 120 | |||
| 121 | declare 'ListEncryptionConfigsResponse', | ||
| 122 | as InstanceOf['Google::Cloud::Dataplex::V1::Cmek::ListEncryptionConfigsResponse']; | ||
| 123 | |||
| 124 | coerce 'ListEncryptionConfigsResponse', | ||
| 125 | from HashRef, via { 'Google::Cloud::Dataplex::V1::Cmek::ListEncryptionConfigsResponse'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedListEncryptionConfigsResponse', | ||
| 128 | as ArrayRef[ListEncryptionConfigsResponse()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedListEncryptionConfigsResponse', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Cmek::ListEncryptionConfigsResponse'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringListEncryptionConfigsResponse', | ||
| 134 | as HashRef[ListEncryptionConfigsResponse()]; | ||
| 135 | |||
| 136 | 1; | ||
| 137 | |||
| 138 | __END__ |