| 1 | package Google::Cloud::Netapp::V1::Kms::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 'GetKmsConfigRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::GetKmsConfigRequest']; | ||
| 12 | |||
| 13 | coerce 'GetKmsConfigRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::GetKmsConfigRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGetKmsConfigRequest', | ||
| 17 | as ArrayRef[GetKmsConfigRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGetKmsConfigRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::GetKmsConfigRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGetKmsConfigRequest', | ||
| 23 | as HashRef[GetKmsConfigRequest()]; | ||
| 24 | |||
| 25 | declare 'ListKmsConfigsRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::ListKmsConfigsRequest']; | ||
| 27 | |||
| 28 | coerce 'ListKmsConfigsRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::ListKmsConfigsRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListKmsConfigsRequest', | ||
| 32 | as ArrayRef[ListKmsConfigsRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListKmsConfigsRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::ListKmsConfigsRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListKmsConfigsRequest', | ||
| 38 | as HashRef[ListKmsConfigsRequest()]; | ||
| 39 | |||
| 40 | declare 'ListKmsConfigsResponse', | ||
| 41 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::ListKmsConfigsResponse']; | ||
| 42 | |||
| 43 | coerce 'ListKmsConfigsResponse', | ||
| 44 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::ListKmsConfigsResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListKmsConfigsResponse', | ||
| 47 | as ArrayRef[ListKmsConfigsResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListKmsConfigsResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::ListKmsConfigsResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListKmsConfigsResponse', | ||
| 53 | as HashRef[ListKmsConfigsResponse()]; | ||
| 54 | |||
| 55 | declare 'CreateKmsConfigRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::CreateKmsConfigRequest']; | ||
| 57 | |||
| 58 | coerce 'CreateKmsConfigRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::CreateKmsConfigRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCreateKmsConfigRequest', | ||
| 62 | as ArrayRef[CreateKmsConfigRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCreateKmsConfigRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::CreateKmsConfigRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCreateKmsConfigRequest', | ||
| 68 | as HashRef[CreateKmsConfigRequest()]; | ||
| 69 | |||
| 70 | declare 'UpdateKmsConfigRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::UpdateKmsConfigRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateKmsConfigRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::UpdateKmsConfigRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateKmsConfigRequest', | ||
| 77 | as ArrayRef[UpdateKmsConfigRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateKmsConfigRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::UpdateKmsConfigRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateKmsConfigRequest', | ||
| 83 | as HashRef[UpdateKmsConfigRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteKmsConfigRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::DeleteKmsConfigRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteKmsConfigRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::DeleteKmsConfigRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteKmsConfigRequest', | ||
| 92 | as ArrayRef[DeleteKmsConfigRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteKmsConfigRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::DeleteKmsConfigRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteKmsConfigRequest', | ||
| 98 | as HashRef[DeleteKmsConfigRequest()]; | ||
| 99 | |||
| 100 | declare 'EncryptVolumesRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::EncryptVolumesRequest']; | ||
| 102 | |||
| 103 | coerce 'EncryptVolumesRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::EncryptVolumesRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedEncryptVolumesRequest', | ||
| 107 | as ArrayRef[EncryptVolumesRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedEncryptVolumesRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::EncryptVolumesRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringEncryptVolumesRequest', | ||
| 113 | as HashRef[EncryptVolumesRequest()]; | ||
| 114 | |||
| 115 | declare 'VerifyKmsConfigRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigRequest']; | ||
| 117 | |||
| 118 | coerce 'VerifyKmsConfigRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedVerifyKmsConfigRequest', | ||
| 122 | as ArrayRef[VerifyKmsConfigRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedVerifyKmsConfigRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringVerifyKmsConfigRequest', | ||
| 128 | as HashRef[VerifyKmsConfigRequest()]; | ||
| 129 | |||
| 130 | declare 'VerifyKmsConfigResponse', | ||
| 131 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigResponse']; | ||
| 132 | |||
| 133 | coerce 'VerifyKmsConfigResponse', | ||
| 134 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigResponse'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedVerifyKmsConfigResponse', | ||
| 137 | as ArrayRef[VerifyKmsConfigResponse()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedVerifyKmsConfigResponse', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::VerifyKmsConfigResponse'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringVerifyKmsConfigResponse', | ||
| 143 | as HashRef[VerifyKmsConfigResponse()]; | ||
| 144 | |||
| 145 | declare 'KmsConfig', | ||
| 146 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::KmsConfig']; | ||
| 147 | |||
| 148 | coerce 'KmsConfig', | ||
| 149 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::KmsConfig'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedKmsConfig', | ||
| 152 | as ArrayRef[KmsConfig()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedKmsConfig', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::KmsConfig'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringKmsConfig', | ||
| 158 | as HashRef[KmsConfig()]; | ||
| 159 | |||
| 160 | declare 'State', | ||
| 161 | as (Int | Str); | ||
| 162 | |||
| 163 | declare 'LabelsEntry', | ||
| 164 | as InstanceOf['Google::Cloud::Netapp::V1::Kms::KmsConfig::LabelsEntry']; | ||
| 165 | |||
| 166 | coerce 'LabelsEntry', | ||
| 167 | from HashRef, via { 'Google::Cloud::Netapp::V1::Kms::KmsConfig::LabelsEntry'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedLabelsEntry', | ||
| 170 | as ArrayRef[LabelsEntry()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedLabelsEntry', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Kms::KmsConfig::LabelsEntry'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringLabelsEntry', | ||
| 176 | as HashRef[LabelsEntry()]; | ||
| 177 | |||
| 178 | 1; | ||
| 179 | |||
| 180 | __END__ |