| 1 | package Google::Cloud::Discoveryengine::V1beta::DataStore::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 'DataStore', | ||
| 11 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore']; | ||
| 12 | |||
| 13 | coerce 'DataStore', | ||
| 14 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedDataStore', | ||
| 17 | as ArrayRef[DataStore()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedDataStore', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringDataStore', | ||
| 23 | as HashRef[DataStore()]; | ||
| 24 | |||
| 25 | declare 'ContentConfig', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'ConfigurableBillingApproach', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'BillingEstimation', | ||
| 32 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::BillingEstimation']; | ||
| 33 | |||
| 34 | coerce 'BillingEstimation', | ||
| 35 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::BillingEstimation'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedBillingEstimation', | ||
| 38 | as ArrayRef[BillingEstimation()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedBillingEstimation', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::BillingEstimation'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringBillingEstimation', | ||
| 44 | as HashRef[BillingEstimation()]; | ||
| 45 | |||
| 46 | declare 'ServingConfigDataStore', | ||
| 47 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::ServingConfigDataStore']; | ||
| 48 | |||
| 49 | coerce 'ServingConfigDataStore', | ||
| 50 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::ServingConfigDataStore'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedServingConfigDataStore', | ||
| 53 | as ArrayRef[ServingConfigDataStore()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedServingConfigDataStore', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::ServingConfigDataStore'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringServingConfigDataStore', | ||
| 59 | as HashRef[ServingConfigDataStore()]; | ||
| 60 | |||
| 61 | declare 'FederatedSearchConfig', | ||
| 62 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig']; | ||
| 63 | |||
| 64 | coerce 'FederatedSearchConfig', | ||
| 65 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedFederatedSearchConfig', | ||
| 68 | as ArrayRef[FederatedSearchConfig()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedFederatedSearchConfig', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringFederatedSearchConfig', | ||
| 74 | as HashRef[FederatedSearchConfig()]; | ||
| 75 | |||
| 76 | declare 'AlloyDbConfig', | ||
| 77 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig']; | ||
| 78 | |||
| 79 | coerce 'AlloyDbConfig', | ||
| 80 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedAlloyDbConfig', | ||
| 83 | as ArrayRef[AlloyDbConfig()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedAlloyDbConfig', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringAlloyDbConfig', | ||
| 89 | as HashRef[AlloyDbConfig()]; | ||
| 90 | |||
| 91 | declare 'AlloyDbConnectionConfig', | ||
| 92 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig']; | ||
| 93 | |||
| 94 | coerce 'AlloyDbConnectionConfig', | ||
| 95 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedAlloyDbConnectionConfig', | ||
| 98 | as ArrayRef[AlloyDbConnectionConfig()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedAlloyDbConnectionConfig', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringAlloyDbConnectionConfig', | ||
| 104 | as HashRef[AlloyDbConnectionConfig()]; | ||
| 105 | |||
| 106 | declare 'AuthMode', | ||
| 107 | as (Int | Str); | ||
| 108 | |||
| 109 | declare 'AlloyDbAiNaturalLanguageConfig', | ||
| 110 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbAiNaturalLanguageConfig']; | ||
| 111 | |||
| 112 | coerce 'AlloyDbAiNaturalLanguageConfig', | ||
| 113 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbAiNaturalLanguageConfig'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedAlloyDbAiNaturalLanguageConfig', | ||
| 116 | as ArrayRef[AlloyDbAiNaturalLanguageConfig()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedAlloyDbAiNaturalLanguageConfig', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbAiNaturalLanguageConfig'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringAlloyDbAiNaturalLanguageConfig', | ||
| 122 | as HashRef[AlloyDbAiNaturalLanguageConfig()]; | ||
| 123 | |||
| 124 | declare 'ThirdPartyOauthConfig', | ||
| 125 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::ThirdPartyOauthConfig']; | ||
| 126 | |||
| 127 | coerce 'ThirdPartyOauthConfig', | ||
| 128 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::ThirdPartyOauthConfig'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedThirdPartyOauthConfig', | ||
| 131 | as ArrayRef[ThirdPartyOauthConfig()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedThirdPartyOauthConfig', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::ThirdPartyOauthConfig'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringThirdPartyOauthConfig', | ||
| 137 | as HashRef[ThirdPartyOauthConfig()]; | ||
| 138 | |||
| 139 | declare 'NotebooklmConfig', | ||
| 140 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::NotebooklmConfig']; | ||
| 141 | |||
| 142 | coerce 'NotebooklmConfig', | ||
| 143 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::NotebooklmConfig'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedNotebooklmConfig', | ||
| 146 | as ArrayRef[NotebooklmConfig()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedNotebooklmConfig', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::DataStore::FederatedSearchConfig::NotebooklmConfig'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringNotebooklmConfig', | ||
| 152 | as HashRef[NotebooklmConfig()]; | ||
| 153 | |||
| 154 | declare 'AdvancedSiteSearchConfig', | ||
| 155 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::AdvancedSiteSearchConfig']; | ||
| 156 | |||
| 157 | coerce 'AdvancedSiteSearchConfig', | ||
| 158 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::AdvancedSiteSearchConfig'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedAdvancedSiteSearchConfig', | ||
| 161 | as ArrayRef[AdvancedSiteSearchConfig()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedAdvancedSiteSearchConfig', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::AdvancedSiteSearchConfig'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringAdvancedSiteSearchConfig', | ||
| 167 | as HashRef[AdvancedSiteSearchConfig()]; | ||
| 168 | |||
| 169 | declare 'LanguageInfo', | ||
| 170 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::LanguageInfo']; | ||
| 171 | |||
| 172 | coerce 'LanguageInfo', | ||
| 173 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::LanguageInfo'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedLanguageInfo', | ||
| 176 | as ArrayRef[LanguageInfo()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedLanguageInfo', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::LanguageInfo'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringLanguageInfo', | ||
| 182 | as HashRef[LanguageInfo()]; | ||
| 183 | |||
| 184 | declare 'NaturalLanguageQueryUnderstandingConfig', | ||
| 185 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::NaturalLanguageQueryUnderstandingConfig']; | ||
| 186 | |||
| 187 | coerce 'NaturalLanguageQueryUnderstandingConfig', | ||
| 188 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::NaturalLanguageQueryUnderstandingConfig'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedNaturalLanguageQueryUnderstandingConfig', | ||
| 191 | as ArrayRef[NaturalLanguageQueryUnderstandingConfig()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedNaturalLanguageQueryUnderstandingConfig', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::NaturalLanguageQueryUnderstandingConfig'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringNaturalLanguageQueryUnderstandingConfig', | ||
| 197 | as HashRef[NaturalLanguageQueryUnderstandingConfig()]; | ||
| 198 | |||
| 199 | declare 'Mode', | ||
| 200 | as (Int | Str); | ||
| 201 | |||
| 202 | declare 'WorkspaceConfig', | ||
| 203 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::DataStore::WorkspaceConfig']; | ||
| 204 | |||
| 205 | coerce 'WorkspaceConfig', | ||
| 206 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::DataStore::WorkspaceConfig'->new($_) }; | ||
| 207 | |||
| 208 | declare 'RepeatedWorkspaceConfig', | ||
| 209 | as ArrayRef[WorkspaceConfig()]; | ||
| 210 | |||
| 211 | coerce 'RepeatedWorkspaceConfig', | ||
| 212 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::DataStore::WorkspaceConfig'->new($_) } @$_ ] }; | ||
| 213 | |||
| 214 | declare 'MapStringWorkspaceConfig', | ||
| 215 | as HashRef[WorkspaceConfig()]; | ||
| 216 | |||
| 217 | declare 'Type', | ||
| 218 | as (Int | Str); | ||
| 219 | |||
| 220 | 1; | ||
| 221 | |||
| 222 | __END__ |