| 1 | package Google::Cloud::Discoveryengine::V1beta::Engine::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 'Engine', | ||
| 11 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine']; | ||
| 12 | |||
| 13 | coerce 'Engine', | ||
| 14 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedEngine', | ||
| 17 | as ArrayRef[Engine()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedEngine', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringEngine', | ||
| 23 | as HashRef[Engine()]; | ||
| 24 | |||
| 25 | declare 'AppType', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'FeatureState', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'ConfigurableBillingApproach', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'ModelState', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'MarketplaceAgentVisibility', | ||
| 38 | as (Int | Str); | ||
| 39 | |||
| 40 | declare 'SearchEngineConfig', | ||
| 41 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::SearchEngineConfig']; | ||
| 42 | |||
| 43 | coerce 'SearchEngineConfig', | ||
| 44 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::SearchEngineConfig'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedSearchEngineConfig', | ||
| 47 | as ArrayRef[SearchEngineConfig()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedSearchEngineConfig', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::SearchEngineConfig'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringSearchEngineConfig', | ||
| 53 | as HashRef[SearchEngineConfig()]; | ||
| 54 | |||
| 55 | declare 'MediaRecommendationEngineConfig', | ||
| 56 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig']; | ||
| 57 | |||
| 58 | coerce 'MediaRecommendationEngineConfig', | ||
| 59 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedMediaRecommendationEngineConfig', | ||
| 62 | as ArrayRef[MediaRecommendationEngineConfig()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedMediaRecommendationEngineConfig', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringMediaRecommendationEngineConfig', | ||
| 68 | as HashRef[MediaRecommendationEngineConfig()]; | ||
| 69 | |||
| 70 | declare 'TrainingState', | ||
| 71 | as (Int | Str); | ||
| 72 | |||
| 73 | declare 'OptimizationObjectiveConfig', | ||
| 74 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::OptimizationObjectiveConfig']; | ||
| 75 | |||
| 76 | coerce 'OptimizationObjectiveConfig', | ||
| 77 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::OptimizationObjectiveConfig'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedOptimizationObjectiveConfig', | ||
| 80 | as ArrayRef[OptimizationObjectiveConfig()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedOptimizationObjectiveConfig', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::OptimizationObjectiveConfig'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringOptimizationObjectiveConfig', | ||
| 86 | as HashRef[OptimizationObjectiveConfig()]; | ||
| 87 | |||
| 88 | declare 'EngineFeaturesConfig', | ||
| 89 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::EngineFeaturesConfig']; | ||
| 90 | |||
| 91 | coerce 'EngineFeaturesConfig', | ||
| 92 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::EngineFeaturesConfig'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedEngineFeaturesConfig', | ||
| 95 | as ArrayRef[EngineFeaturesConfig()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedEngineFeaturesConfig', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::EngineFeaturesConfig'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringEngineFeaturesConfig', | ||
| 101 | as HashRef[EngineFeaturesConfig()]; | ||
| 102 | |||
| 103 | declare 'RecommendedForYouFeatureConfig', | ||
| 104 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::RecommendedForYouFeatureConfig']; | ||
| 105 | |||
| 106 | coerce 'RecommendedForYouFeatureConfig', | ||
| 107 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::RecommendedForYouFeatureConfig'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedRecommendedForYouFeatureConfig', | ||
| 110 | as ArrayRef[RecommendedForYouFeatureConfig()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedRecommendedForYouFeatureConfig', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::RecommendedForYouFeatureConfig'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringRecommendedForYouFeatureConfig', | ||
| 116 | as HashRef[RecommendedForYouFeatureConfig()]; | ||
| 117 | |||
| 118 | declare 'MostPopularFeatureConfig', | ||
| 119 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::MostPopularFeatureConfig']; | ||
| 120 | |||
| 121 | coerce 'MostPopularFeatureConfig', | ||
| 122 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::MostPopularFeatureConfig'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedMostPopularFeatureConfig', | ||
| 125 | as ArrayRef[MostPopularFeatureConfig()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedMostPopularFeatureConfig', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::MediaRecommendationEngineConfig::MostPopularFeatureConfig'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringMostPopularFeatureConfig', | ||
| 131 | as HashRef[MostPopularFeatureConfig()]; | ||
| 132 | |||
| 133 | declare 'ChatEngineConfig', | ||
| 134 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineConfig']; | ||
| 135 | |||
| 136 | coerce 'ChatEngineConfig', | ||
| 137 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineConfig'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedChatEngineConfig', | ||
| 140 | as ArrayRef[ChatEngineConfig()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedChatEngineConfig', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineConfig'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringChatEngineConfig', | ||
| 146 | as HashRef[ChatEngineConfig()]; | ||
| 147 | |||
| 148 | declare 'AgentCreationConfig', | ||
| 149 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineConfig::AgentCreationConfig']; | ||
| 150 | |||
| 151 | coerce 'AgentCreationConfig', | ||
| 152 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineConfig::AgentCreationConfig'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedAgentCreationConfig', | ||
| 155 | as ArrayRef[AgentCreationConfig()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedAgentCreationConfig', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineConfig::AgentCreationConfig'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringAgentCreationConfig', | ||
| 161 | as HashRef[AgentCreationConfig()]; | ||
| 162 | |||
| 163 | declare 'CommonConfig', | ||
| 164 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::CommonConfig']; | ||
| 165 | |||
| 166 | coerce 'CommonConfig', | ||
| 167 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::CommonConfig'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedCommonConfig', | ||
| 170 | as ArrayRef[CommonConfig()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedCommonConfig', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::CommonConfig'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringCommonConfig', | ||
| 176 | as HashRef[CommonConfig()]; | ||
| 177 | |||
| 178 | declare 'KnowledgeGraphConfig', | ||
| 179 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::KnowledgeGraphConfig']; | ||
| 180 | |||
| 181 | coerce 'KnowledgeGraphConfig', | ||
| 182 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::KnowledgeGraphConfig'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedKnowledgeGraphConfig', | ||
| 185 | as ArrayRef[KnowledgeGraphConfig()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedKnowledgeGraphConfig', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::KnowledgeGraphConfig'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringKnowledgeGraphConfig', | ||
| 191 | as HashRef[KnowledgeGraphConfig()]; | ||
| 192 | |||
| 193 | declare 'FeatureConfig', | ||
| 194 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::KnowledgeGraphConfig::FeatureConfig']; | ||
| 195 | |||
| 196 | coerce 'FeatureConfig', | ||
| 197 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::KnowledgeGraphConfig::FeatureConfig'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedFeatureConfig', | ||
| 200 | as ArrayRef[FeatureConfig()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedFeatureConfig', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::KnowledgeGraphConfig::FeatureConfig'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringFeatureConfig', | ||
| 206 | as HashRef[FeatureConfig()]; | ||
| 207 | |||
| 208 | declare 'ChatEngineMetadata', | ||
| 209 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineMetadata']; | ||
| 210 | |||
| 211 | coerce 'ChatEngineMetadata', | ||
| 212 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineMetadata'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedChatEngineMetadata', | ||
| 215 | as ArrayRef[ChatEngineMetadata()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedChatEngineMetadata', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ChatEngineMetadata'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringChatEngineMetadata', | ||
| 221 | as HashRef[ChatEngineMetadata()]; | ||
| 222 | |||
| 223 | declare 'FeaturesEntry', | ||
| 224 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::FeaturesEntry']; | ||
| 225 | |||
| 226 | coerce 'FeaturesEntry', | ||
| 227 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::FeaturesEntry'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedFeaturesEntry', | ||
| 230 | as ArrayRef[FeaturesEntry()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedFeaturesEntry', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::FeaturesEntry'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringFeaturesEntry', | ||
| 236 | as HashRef[FeaturesEntry()]; | ||
| 237 | |||
| 238 | declare 'ModelConfigsEntry', | ||
| 239 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ModelConfigsEntry']; | ||
| 240 | |||
| 241 | coerce 'ModelConfigsEntry', | ||
| 242 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ModelConfigsEntry'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedModelConfigsEntry', | ||
| 245 | as ArrayRef[ModelConfigsEntry()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedModelConfigsEntry', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ModelConfigsEntry'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringModelConfigsEntry', | ||
| 251 | as HashRef[ModelConfigsEntry()]; | ||
| 252 | |||
| 253 | declare 'ConnectorTenantInfoEntry', | ||
| 254 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ConnectorTenantInfoEntry']; | ||
| 255 | |||
| 256 | coerce 'ConnectorTenantInfoEntry', | ||
| 257 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ConnectorTenantInfoEntry'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedConnectorTenantInfoEntry', | ||
| 260 | as ArrayRef[ConnectorTenantInfoEntry()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedConnectorTenantInfoEntry', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Engine::Engine::ConnectorTenantInfoEntry'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringConnectorTenantInfoEntry', | ||
| 266 | as HashRef[ConnectorTenantInfoEntry()]; | ||
| 267 | |||
| 268 | 1; | ||
| 269 | |||
| 270 | __END__ |