| 1 | package Google::Cloud::Discoveryengine::V1alpha::EngineService::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 'CreateEngineRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::CreateEngineRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateEngineRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::CreateEngineRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateEngineRequest', | ||
| 17 | as ArrayRef[CreateEngineRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateEngineRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::CreateEngineRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateEngineRequest', | ||
| 23 | as HashRef[CreateEngineRequest()]; | ||
| 24 | |||
| 25 | declare 'CreateEngineMetadata', | ||
| 26 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::CreateEngineMetadata']; | ||
| 27 | |||
| 28 | coerce 'CreateEngineMetadata', | ||
| 29 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::CreateEngineMetadata'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedCreateEngineMetadata', | ||
| 32 | as ArrayRef[CreateEngineMetadata()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedCreateEngineMetadata', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::CreateEngineMetadata'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringCreateEngineMetadata', | ||
| 38 | as HashRef[CreateEngineMetadata()]; | ||
| 39 | |||
| 40 | declare 'DeleteEngineRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::DeleteEngineRequest']; | ||
| 42 | |||
| 43 | coerce 'DeleteEngineRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::DeleteEngineRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedDeleteEngineRequest', | ||
| 47 | as ArrayRef[DeleteEngineRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedDeleteEngineRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::DeleteEngineRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringDeleteEngineRequest', | ||
| 53 | as HashRef[DeleteEngineRequest()]; | ||
| 54 | |||
| 55 | declare 'DeleteEngineMetadata', | ||
| 56 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::DeleteEngineMetadata']; | ||
| 57 | |||
| 58 | coerce 'DeleteEngineMetadata', | ||
| 59 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::DeleteEngineMetadata'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedDeleteEngineMetadata', | ||
| 62 | as ArrayRef[DeleteEngineMetadata()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedDeleteEngineMetadata', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::DeleteEngineMetadata'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringDeleteEngineMetadata', | ||
| 68 | as HashRef[DeleteEngineMetadata()]; | ||
| 69 | |||
| 70 | declare 'GetEngineRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::GetEngineRequest']; | ||
| 72 | |||
| 73 | coerce 'GetEngineRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::GetEngineRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedGetEngineRequest', | ||
| 77 | as ArrayRef[GetEngineRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedGetEngineRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::GetEngineRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringGetEngineRequest', | ||
| 83 | as HashRef[GetEngineRequest()]; | ||
| 84 | |||
| 85 | declare 'ListEnginesRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::ListEnginesRequest']; | ||
| 87 | |||
| 88 | coerce 'ListEnginesRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::ListEnginesRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedListEnginesRequest', | ||
| 92 | as ArrayRef[ListEnginesRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedListEnginesRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::ListEnginesRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringListEnginesRequest', | ||
| 98 | as HashRef[ListEnginesRequest()]; | ||
| 99 | |||
| 100 | declare 'ListEnginesResponse', | ||
| 101 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::ListEnginesResponse']; | ||
| 102 | |||
| 103 | coerce 'ListEnginesResponse', | ||
| 104 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::ListEnginesResponse'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListEnginesResponse', | ||
| 107 | as ArrayRef[ListEnginesResponse()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListEnginesResponse', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::ListEnginesResponse'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListEnginesResponse', | ||
| 113 | as HashRef[ListEnginesResponse()]; | ||
| 114 | |||
| 115 | declare 'UpdateEngineRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::UpdateEngineRequest']; | ||
| 117 | |||
| 118 | coerce 'UpdateEngineRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::UpdateEngineRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedUpdateEngineRequest', | ||
| 122 | as ArrayRef[UpdateEngineRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedUpdateEngineRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::UpdateEngineRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringUpdateEngineRequest', | ||
| 128 | as HashRef[UpdateEngineRequest()]; | ||
| 129 | |||
| 130 | declare 'PauseEngineRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::PauseEngineRequest']; | ||
| 132 | |||
| 133 | coerce 'PauseEngineRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::PauseEngineRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedPauseEngineRequest', | ||
| 137 | as ArrayRef[PauseEngineRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedPauseEngineRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::PauseEngineRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringPauseEngineRequest', | ||
| 143 | as HashRef[PauseEngineRequest()]; | ||
| 144 | |||
| 145 | declare 'ResumeEngineRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::ResumeEngineRequest']; | ||
| 147 | |||
| 148 | coerce 'ResumeEngineRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::ResumeEngineRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedResumeEngineRequest', | ||
| 152 | as ArrayRef[ResumeEngineRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedResumeEngineRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::ResumeEngineRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringResumeEngineRequest', | ||
| 158 | as HashRef[ResumeEngineRequest()]; | ||
| 159 | |||
| 160 | declare 'TuneEngineRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineRequest']; | ||
| 162 | |||
| 163 | coerce 'TuneEngineRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedTuneEngineRequest', | ||
| 167 | as ArrayRef[TuneEngineRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedTuneEngineRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringTuneEngineRequest', | ||
| 173 | as HashRef[TuneEngineRequest()]; | ||
| 174 | |||
| 175 | declare 'TuneEngineMetadata', | ||
| 176 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineMetadata']; | ||
| 177 | |||
| 178 | coerce 'TuneEngineMetadata', | ||
| 179 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineMetadata'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedTuneEngineMetadata', | ||
| 182 | as ArrayRef[TuneEngineMetadata()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedTuneEngineMetadata', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineMetadata'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringTuneEngineMetadata', | ||
| 188 | as HashRef[TuneEngineMetadata()]; | ||
| 189 | |||
| 190 | declare 'TuneEngineResponse', | ||
| 191 | as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineResponse']; | ||
| 192 | |||
| 193 | coerce 'TuneEngineResponse', | ||
| 194 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineResponse'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedTuneEngineResponse', | ||
| 197 | as ArrayRef[TuneEngineResponse()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedTuneEngineResponse', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::EngineService::TuneEngineResponse'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringTuneEngineResponse', | ||
| 203 | as HashRef[TuneEngineResponse()]; | ||
| 204 | |||
| 205 | 1; | ||
| 206 | |||
| 207 | __END__ |