pulumi-gcp 8.40.0a1754721948__py3-none-any.whl → 8.40.0a1754951145__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. pulumi_gcp/__init__.py +128 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
  3. pulumi_gcp/accesscontextmanager/outputs.py +15 -3
  4. pulumi_gcp/apigee/__init__.py +2 -0
  5. pulumi_gcp/apigee/_inputs.py +1435 -0
  6. pulumi_gcp/apigee/api_product.py +1698 -0
  7. pulumi_gcp/apigee/outputs.py +1081 -0
  8. pulumi_gcp/apigee/security_action.py +1010 -0
  9. pulumi_gcp/artifactregistry/__init__.py +1 -0
  10. pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
  11. pulumi_gcp/artifactregistry/outputs.py +109 -2
  12. pulumi_gcp/artifactregistry/repository.py +6 -6
  13. pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
  14. pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
  15. pulumi_gcp/bigquery/_inputs.py +6 -0
  16. pulumi_gcp/bigquery/get_table.py +23 -1
  17. pulumi_gcp/bigquery/outputs.py +4 -0
  18. pulumi_gcp/bigquery/table.py +62 -0
  19. pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
  20. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
  21. pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
  22. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
  23. pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
  24. pulumi_gcp/bigtable/__init__.py +1 -0
  25. pulumi_gcp/bigtable/_inputs.py +33 -0
  26. pulumi_gcp/bigtable/outputs.py +36 -0
  27. pulumi_gcp/bigtable/schema_bundle.py +568 -0
  28. pulumi_gcp/cloudfunctions/_inputs.py +48 -0
  29. pulumi_gcp/cloudfunctions/function.py +94 -0
  30. pulumi_gcp/cloudfunctions/get_function.py +23 -1
  31. pulumi_gcp/cloudfunctions/outputs.py +70 -0
  32. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  33. pulumi_gcp/cloudrunv2/job.py +2 -0
  34. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  35. pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
  36. pulumi_gcp/compute/__init__.py +1 -0
  37. pulumi_gcp/compute/_inputs.py +713 -22
  38. pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
  39. pulumi_gcp/compute/forwarding_rule.py +0 -21
  40. pulumi_gcp/compute/get_router.py +12 -1
  41. pulumi_gcp/compute/outputs.py +562 -22
  42. pulumi_gcp/compute/preview_feature.py +396 -0
  43. pulumi_gcp/compute/region_url_map.py +392 -0
  44. pulumi_gcp/compute/reservation.py +4 -4
  45. pulumi_gcp/compute/router.py +54 -0
  46. pulumi_gcp/compute/storage_pool.py +154 -0
  47. pulumi_gcp/compute/subnetwork.py +54 -0
  48. pulumi_gcp/config/__init__.pyi +2 -0
  49. pulumi_gcp/config/vars.py +4 -0
  50. pulumi_gcp/container/_inputs.py +278 -8
  51. pulumi_gcp/container/cluster.py +61 -21
  52. pulumi_gcp/container/get_cluster.py +12 -1
  53. pulumi_gcp/container/outputs.py +352 -8
  54. pulumi_gcp/dataproc/_inputs.py +249 -14
  55. pulumi_gcp/dataproc/batch.py +6 -0
  56. pulumi_gcp/dataproc/cluster.py +2 -0
  57. pulumi_gcp/dataproc/outputs.py +215 -12
  58. pulumi_gcp/dataproc/session_template.py +14 -2
  59. pulumi_gcp/developerconnect/__init__.py +1 -0
  60. pulumi_gcp/developerconnect/_inputs.py +583 -0
  61. pulumi_gcp/developerconnect/insights_config.py +895 -0
  62. pulumi_gcp/developerconnect/outputs.py +442 -0
  63. pulumi_gcp/diagflow/__init__.py +1 -0
  64. pulumi_gcp/diagflow/_inputs.py +1165 -58
  65. pulumi_gcp/diagflow/cx_generator.py +636 -0
  66. pulumi_gcp/diagflow/cx_tool.py +2 -2
  67. pulumi_gcp/diagflow/cx_webhook.py +380 -36
  68. pulumi_gcp/diagflow/outputs.py +848 -25
  69. pulumi_gcp/discoveryengine/__init__.py +2 -0
  70. pulumi_gcp/discoveryengine/_inputs.py +465 -0
  71. pulumi_gcp/discoveryengine/cmek_config.py +707 -0
  72. pulumi_gcp/discoveryengine/outputs.py +412 -0
  73. pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
  76. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
  77. pulumi_gcp/gkehub/membership_binding.py +6 -6
  78. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  79. pulumi_gcp/gkehub/namespace.py +4 -4
  80. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  81. pulumi_gcp/iam/__init__.py +4 -0
  82. pulumi_gcp/iam/_inputs.py +98 -0
  83. pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
  84. pulumi_gcp/iam/outputs.py +56 -0
  85. pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
  86. pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
  87. pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
  88. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  89. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  90. pulumi_gcp/looker/instance.py +28 -7
  91. pulumi_gcp/managedkafka/_inputs.py +127 -0
  92. pulumi_gcp/managedkafka/cluster.py +131 -1
  93. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  94. pulumi_gcp/managedkafka/connector.py +4 -4
  95. pulumi_gcp/managedkafka/outputs.py +128 -0
  96. pulumi_gcp/memorystore/instance.py +8 -12
  97. pulumi_gcp/modelarmor/__init__.py +1 -0
  98. pulumi_gcp/modelarmor/_inputs.py +683 -0
  99. pulumi_gcp/modelarmor/floorsetting.py +736 -0
  100. pulumi_gcp/modelarmor/outputs.py +618 -0
  101. pulumi_gcp/networkconnectivity/_inputs.py +60 -0
  102. pulumi_gcp/networkconnectivity/internal_range.py +136 -0
  103. pulumi_gcp/networkconnectivity/outputs.py +55 -0
  104. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  105. pulumi_gcp/oracledatabase/__init__.py +2 -0
  106. pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
  107. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
  108. pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
  109. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
  110. pulumi_gcp/oracledatabase/odb_network.py +721 -0
  111. pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
  112. pulumi_gcp/oracledatabase/outputs.py +83 -0
  113. pulumi_gcp/orgpolicy/policy.py +2 -2
  114. pulumi_gcp/parametermanager/parameter_version.py +62 -0
  115. pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
  116. pulumi_gcp/provider.py +20 -0
  117. pulumi_gcp/pubsub/subscription.py +46 -6
  118. pulumi_gcp/pubsub/topic.py +36 -0
  119. pulumi_gcp/pulumi-plugin.json +1 -1
  120. pulumi_gcp/redis/cluster.py +70 -0
  121. pulumi_gcp/redis/get_cluster.py +12 -1
  122. pulumi_gcp/redis/instance.py +8 -12
  123. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  124. pulumi_gcp/secretmanager/get_secret.py +12 -1
  125. pulumi_gcp/secretmanager/outputs.py +30 -0
  126. pulumi_gcp/secretmanager/regional_secret.py +61 -0
  127. pulumi_gcp/secretmanager/secret.py +61 -0
  128. pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
  129. pulumi_gcp/securesourcemanager/instance.py +112 -4
  130. pulumi_gcp/securesourcemanager/repository.py +112 -8
  131. pulumi_gcp/serviceaccount/get_account_key.py +1 -0
  132. pulumi_gcp/sql/_inputs.py +6 -6
  133. pulumi_gcp/sql/database.py +0 -12
  134. pulumi_gcp/sql/outputs.py +4 -4
  135. pulumi_gcp/storage/__init__.py +2 -0
  136. pulumi_gcp/storage/_inputs.py +451 -0
  137. pulumi_gcp/storage/bucket.py +7 -7
  138. pulumi_gcp/storage/bucket_object.py +34 -0
  139. pulumi_gcp/storage/get_bucket_object.py +12 -1
  140. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  141. pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
  142. pulumi_gcp/storage/insights_dataset_config.py +1280 -0
  143. pulumi_gcp/storage/outputs.py +619 -0
  144. pulumi_gcp/vertex/__init__.py +1 -0
  145. pulumi_gcp/vertex/_inputs.py +3646 -3
  146. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  147. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
  148. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  149. pulumi_gcp/vertex/outputs.py +2609 -2
  150. pulumi_gcp/vmwareengine/network_peering.py +7 -7
  151. pulumi_gcp/workbench/_inputs.py +118 -0
  152. pulumi_gcp/workbench/instance.py +171 -2
  153. pulumi_gcp/workbench/outputs.py +91 -0
  154. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
  155. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
  156. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
  157. {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -20,6 +20,7 @@ __all__ = [
20
20
  'ChatEngineChatEngineConfigAgentCreationConfig',
21
21
  'ChatEngineChatEngineMetadata',
22
22
  'ChatEngineCommonConfig',
23
+ 'CmekConfigSingleRegionKey',
23
24
  'DataStoreAdvancedSiteSearchConfig',
24
25
  'DataStoreDocumentProcessingConfig',
25
26
  'DataStoreDocumentProcessingConfigChunkingConfig',
@@ -32,6 +33,12 @@ __all__ = [
32
33
  'DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig',
33
34
  'DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig',
34
35
  'DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig',
36
+ 'RecommendationEngineCommonConfig',
37
+ 'RecommendationEngineMediaRecommendationEngineConfig',
38
+ 'RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfig',
39
+ 'RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfig',
40
+ 'RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfig',
41
+ 'RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig',
35
42
  'SearchEngineCommonConfig',
36
43
  'SearchEngineSearchEngineConfig',
37
44
  'TargetSiteFailureReason',
@@ -267,6 +274,45 @@ class ChatEngineCommonConfig(dict):
267
274
  return pulumi.get(self, "company_name")
268
275
 
269
276
 
277
+ @pulumi.output_type
278
+ class CmekConfigSingleRegionKey(dict):
279
+ @staticmethod
280
+ def __key_warning(key: str):
281
+ suggest = None
282
+ if key == "kmsKey":
283
+ suggest = "kms_key"
284
+
285
+ if suggest:
286
+ pulumi.log.warn(f"Key '{key}' not found in CmekConfigSingleRegionKey. Access the value via the '{suggest}' property getter instead.")
287
+
288
+ def __getitem__(self, key: str) -> Any:
289
+ CmekConfigSingleRegionKey.__key_warning(key)
290
+ return super().__getitem__(key)
291
+
292
+ def get(self, key: str, default = None) -> Any:
293
+ CmekConfigSingleRegionKey.__key_warning(key)
294
+ return super().get(key, default)
295
+
296
+ def __init__(__self__, *,
297
+ kms_key: _builtins.str):
298
+ """
299
+ :param _builtins.str kms_key: Single-regional kms key resource name which will be used to encrypt
300
+ resources
301
+ `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
302
+ """
303
+ pulumi.set(__self__, "kms_key", kms_key)
304
+
305
+ @_builtins.property
306
+ @pulumi.getter(name="kmsKey")
307
+ def kms_key(self) -> _builtins.str:
308
+ """
309
+ Single-regional kms key resource name which will be used to encrypt
310
+ resources
311
+ `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
312
+ """
313
+ return pulumi.get(self, "kms_key")
314
+
315
+
270
316
  @pulumi.output_type
271
317
  class DataStoreAdvancedSiteSearchConfig(dict):
272
318
  @staticmethod
@@ -942,6 +988,372 @@ class DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig(dic
942
988
  return pulumi.get(self, "use_native_text")
943
989
 
944
990
 
991
+ @pulumi.output_type
992
+ class RecommendationEngineCommonConfig(dict):
993
+ @staticmethod
994
+ def __key_warning(key: str):
995
+ suggest = None
996
+ if key == "companyName":
997
+ suggest = "company_name"
998
+
999
+ if suggest:
1000
+ pulumi.log.warn(f"Key '{key}' not found in RecommendationEngineCommonConfig. Access the value via the '{suggest}' property getter instead.")
1001
+
1002
+ def __getitem__(self, key: str) -> Any:
1003
+ RecommendationEngineCommonConfig.__key_warning(key)
1004
+ return super().__getitem__(key)
1005
+
1006
+ def get(self, key: str, default = None) -> Any:
1007
+ RecommendationEngineCommonConfig.__key_warning(key)
1008
+ return super().get(key, default)
1009
+
1010
+ def __init__(__self__, *,
1011
+ company_name: Optional[_builtins.str] = None):
1012
+ """
1013
+ :param _builtins.str company_name: The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
1014
+ """
1015
+ if company_name is not None:
1016
+ pulumi.set(__self__, "company_name", company_name)
1017
+
1018
+ @_builtins.property
1019
+ @pulumi.getter(name="companyName")
1020
+ def company_name(self) -> Optional[_builtins.str]:
1021
+ """
1022
+ The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
1023
+ """
1024
+ return pulumi.get(self, "company_name")
1025
+
1026
+
1027
+ @pulumi.output_type
1028
+ class RecommendationEngineMediaRecommendationEngineConfig(dict):
1029
+ @staticmethod
1030
+ def __key_warning(key: str):
1031
+ suggest = None
1032
+ if key == "engineFeaturesConfig":
1033
+ suggest = "engine_features_config"
1034
+ elif key == "optimizationObjective":
1035
+ suggest = "optimization_objective"
1036
+ elif key == "optimizationObjectiveConfig":
1037
+ suggest = "optimization_objective_config"
1038
+ elif key == "trainingState":
1039
+ suggest = "training_state"
1040
+
1041
+ if suggest:
1042
+ pulumi.log.warn(f"Key '{key}' not found in RecommendationEngineMediaRecommendationEngineConfig. Access the value via the '{suggest}' property getter instead.")
1043
+
1044
+ def __getitem__(self, key: str) -> Any:
1045
+ RecommendationEngineMediaRecommendationEngineConfig.__key_warning(key)
1046
+ return super().__getitem__(key)
1047
+
1048
+ def get(self, key: str, default = None) -> Any:
1049
+ RecommendationEngineMediaRecommendationEngineConfig.__key_warning(key)
1050
+ return super().get(key, default)
1051
+
1052
+ def __init__(__self__, *,
1053
+ engine_features_config: Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfig'] = None,
1054
+ optimization_objective: Optional[_builtins.str] = None,
1055
+ optimization_objective_config: Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig'] = None,
1056
+ training_state: Optional[_builtins.str] = None,
1057
+ type: Optional[_builtins.str] = None):
1058
+ """
1059
+ :param 'RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigArgs' engine_features_config: More feature configs of the selected engine type.
1060
+ Structure is documented below.
1061
+ :param _builtins.str optimization_objective: The optimization objective. e.g., `cvr`.
1062
+ This field together with MediaRecommendationEngineConfig.type describes
1063
+ engine metadata to use to control engine training and serving.
1064
+ Currently supported values: `ctr`, `cvr`.
1065
+ If not specified, we choose default based on engine type. Default depends on type of recommendation:
1066
+ `recommended-for-you` => `ctr`
1067
+ `others-you-may-like` => `ctr`
1068
+ :param 'RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfigArgs' optimization_objective_config: Name and value of the custom threshold for cvr optimization_objective.
1069
+ For target_field `watch-time`, target_field_value must be an integer
1070
+ value indicating the media progress time in seconds between (0, 86400]
1071
+ (excludes 0, includes 86400) (e.g., 90).
1072
+ For target_field `watch-percentage`, the target_field_value must be a
1073
+ valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5).
1074
+ Structure is documented below.
1075
+ :param _builtins.str training_state: The training state that the engine is in (e.g. `TRAINING` or `PAUSED`).
1076
+ Since part of the cost of running the service
1077
+ is frequency of training - this can be used to determine when to train
1078
+ engine in order to control cost. If not specified: the default value for
1079
+ `CreateEngine` method is `TRAINING`. The default value for
1080
+ `UpdateEngine` method is to keep the state the same as before.
1081
+ Possible values are: `PAUSED`, `TRAINING`.
1082
+ :param _builtins.str type: The type of engine. e.g., `recommended-for-you`.
1083
+ This field together with MediaRecommendationEngineConfig.optimizationObjective describes
1084
+ engine metadata to use to control engine training and serving.
1085
+ Currently supported values: `recommended-for-you`, `others-you-may-like`,
1086
+ `more-like-this`, `most-popular-items`.
1087
+ """
1088
+ if engine_features_config is not None:
1089
+ pulumi.set(__self__, "engine_features_config", engine_features_config)
1090
+ if optimization_objective is not None:
1091
+ pulumi.set(__self__, "optimization_objective", optimization_objective)
1092
+ if optimization_objective_config is not None:
1093
+ pulumi.set(__self__, "optimization_objective_config", optimization_objective_config)
1094
+ if training_state is not None:
1095
+ pulumi.set(__self__, "training_state", training_state)
1096
+ if type is not None:
1097
+ pulumi.set(__self__, "type", type)
1098
+
1099
+ @_builtins.property
1100
+ @pulumi.getter(name="engineFeaturesConfig")
1101
+ def engine_features_config(self) -> Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfig']:
1102
+ """
1103
+ More feature configs of the selected engine type.
1104
+ Structure is documented below.
1105
+ """
1106
+ return pulumi.get(self, "engine_features_config")
1107
+
1108
+ @_builtins.property
1109
+ @pulumi.getter(name="optimizationObjective")
1110
+ def optimization_objective(self) -> Optional[_builtins.str]:
1111
+ """
1112
+ The optimization objective. e.g., `cvr`.
1113
+ This field together with MediaRecommendationEngineConfig.type describes
1114
+ engine metadata to use to control engine training and serving.
1115
+ Currently supported values: `ctr`, `cvr`.
1116
+ If not specified, we choose default based on engine type. Default depends on type of recommendation:
1117
+ `recommended-for-you` => `ctr`
1118
+ `others-you-may-like` => `ctr`
1119
+ """
1120
+ return pulumi.get(self, "optimization_objective")
1121
+
1122
+ @_builtins.property
1123
+ @pulumi.getter(name="optimizationObjectiveConfig")
1124
+ def optimization_objective_config(self) -> Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig']:
1125
+ """
1126
+ Name and value of the custom threshold for cvr optimization_objective.
1127
+ For target_field `watch-time`, target_field_value must be an integer
1128
+ value indicating the media progress time in seconds between (0, 86400]
1129
+ (excludes 0, includes 86400) (e.g., 90).
1130
+ For target_field `watch-percentage`, the target_field_value must be a
1131
+ valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5).
1132
+ Structure is documented below.
1133
+ """
1134
+ return pulumi.get(self, "optimization_objective_config")
1135
+
1136
+ @_builtins.property
1137
+ @pulumi.getter(name="trainingState")
1138
+ def training_state(self) -> Optional[_builtins.str]:
1139
+ """
1140
+ The training state that the engine is in (e.g. `TRAINING` or `PAUSED`).
1141
+ Since part of the cost of running the service
1142
+ is frequency of training - this can be used to determine when to train
1143
+ engine in order to control cost. If not specified: the default value for
1144
+ `CreateEngine` method is `TRAINING`. The default value for
1145
+ `UpdateEngine` method is to keep the state the same as before.
1146
+ Possible values are: `PAUSED`, `TRAINING`.
1147
+ """
1148
+ return pulumi.get(self, "training_state")
1149
+
1150
+ @_builtins.property
1151
+ @pulumi.getter
1152
+ def type(self) -> Optional[_builtins.str]:
1153
+ """
1154
+ The type of engine. e.g., `recommended-for-you`.
1155
+ This field together with MediaRecommendationEngineConfig.optimizationObjective describes
1156
+ engine metadata to use to control engine training and serving.
1157
+ Currently supported values: `recommended-for-you`, `others-you-may-like`,
1158
+ `more-like-this`, `most-popular-items`.
1159
+ """
1160
+ return pulumi.get(self, "type")
1161
+
1162
+
1163
+ @pulumi.output_type
1164
+ class RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfig(dict):
1165
+ @staticmethod
1166
+ def __key_warning(key: str):
1167
+ suggest = None
1168
+ if key == "mostPopularConfig":
1169
+ suggest = "most_popular_config"
1170
+ elif key == "recommendedForYouConfig":
1171
+ suggest = "recommended_for_you_config"
1172
+
1173
+ if suggest:
1174
+ pulumi.log.warn(f"Key '{key}' not found in RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfig. Access the value via the '{suggest}' property getter instead.")
1175
+
1176
+ def __getitem__(self, key: str) -> Any:
1177
+ RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfig.__key_warning(key)
1178
+ return super().__getitem__(key)
1179
+
1180
+ def get(self, key: str, default = None) -> Any:
1181
+ RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfig.__key_warning(key)
1182
+ return super().get(key, default)
1183
+
1184
+ def __init__(__self__, *,
1185
+ most_popular_config: Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfig'] = None,
1186
+ recommended_for_you_config: Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfig'] = None):
1187
+ """
1188
+ :param 'RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfigArgs' most_popular_config: Feature configurations that are required for creating a Most Popular engine.
1189
+ Structure is documented below.
1190
+ :param 'RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfigArgs' recommended_for_you_config: Additional feature configurations for creating a `recommended-for-you` engine.
1191
+ Structure is documented below.
1192
+ """
1193
+ if most_popular_config is not None:
1194
+ pulumi.set(__self__, "most_popular_config", most_popular_config)
1195
+ if recommended_for_you_config is not None:
1196
+ pulumi.set(__self__, "recommended_for_you_config", recommended_for_you_config)
1197
+
1198
+ @_builtins.property
1199
+ @pulumi.getter(name="mostPopularConfig")
1200
+ def most_popular_config(self) -> Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfig']:
1201
+ """
1202
+ Feature configurations that are required for creating a Most Popular engine.
1203
+ Structure is documented below.
1204
+ """
1205
+ return pulumi.get(self, "most_popular_config")
1206
+
1207
+ @_builtins.property
1208
+ @pulumi.getter(name="recommendedForYouConfig")
1209
+ def recommended_for_you_config(self) -> Optional['outputs.RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfig']:
1210
+ """
1211
+ Additional feature configurations for creating a `recommended-for-you` engine.
1212
+ Structure is documented below.
1213
+ """
1214
+ return pulumi.get(self, "recommended_for_you_config")
1215
+
1216
+
1217
+ @pulumi.output_type
1218
+ class RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfig(dict):
1219
+ @staticmethod
1220
+ def __key_warning(key: str):
1221
+ suggest = None
1222
+ if key == "timeWindowDays":
1223
+ suggest = "time_window_days"
1224
+
1225
+ if suggest:
1226
+ pulumi.log.warn(f"Key '{key}' not found in RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfig. Access the value via the '{suggest}' property getter instead.")
1227
+
1228
+ def __getitem__(self, key: str) -> Any:
1229
+ RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfig.__key_warning(key)
1230
+ return super().__getitem__(key)
1231
+
1232
+ def get(self, key: str, default = None) -> Any:
1233
+ RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigMostPopularConfig.__key_warning(key)
1234
+ return super().get(key, default)
1235
+
1236
+ def __init__(__self__, *,
1237
+ time_window_days: Optional[_builtins.int] = None):
1238
+ """
1239
+ :param _builtins.int time_window_days: The time window of which the engine is queried at training and
1240
+ prediction time. Positive integers only. The value translates to the
1241
+ last X days of events. Currently required for the `most-popular-items`
1242
+ engine.
1243
+ """
1244
+ if time_window_days is not None:
1245
+ pulumi.set(__self__, "time_window_days", time_window_days)
1246
+
1247
+ @_builtins.property
1248
+ @pulumi.getter(name="timeWindowDays")
1249
+ def time_window_days(self) -> Optional[_builtins.int]:
1250
+ """
1251
+ The time window of which the engine is queried at training and
1252
+ prediction time. Positive integers only. The value translates to the
1253
+ last X days of events. Currently required for the `most-popular-items`
1254
+ engine.
1255
+ """
1256
+ return pulumi.get(self, "time_window_days")
1257
+
1258
+
1259
+ @pulumi.output_type
1260
+ class RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfig(dict):
1261
+ @staticmethod
1262
+ def __key_warning(key: str):
1263
+ suggest = None
1264
+ if key == "contextEventType":
1265
+ suggest = "context_event_type"
1266
+
1267
+ if suggest:
1268
+ pulumi.log.warn(f"Key '{key}' not found in RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfig. Access the value via the '{suggest}' property getter instead.")
1269
+
1270
+ def __getitem__(self, key: str) -> Any:
1271
+ RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfig.__key_warning(key)
1272
+ return super().__getitem__(key)
1273
+
1274
+ def get(self, key: str, default = None) -> Any:
1275
+ RecommendationEngineMediaRecommendationEngineConfigEngineFeaturesConfigRecommendedForYouConfig.__key_warning(key)
1276
+ return super().get(key, default)
1277
+
1278
+ def __init__(__self__, *,
1279
+ context_event_type: Optional[_builtins.str] = None):
1280
+ """
1281
+ :param _builtins.str context_event_type: The type of event with which the engine is queried at prediction time.
1282
+ If set to `generic`, only `view-item`, `media-play`,and
1283
+ `media-complete` will be used as `context-event` in engine training. If
1284
+ set to `view-home-page`, `view-home-page` will also be used as
1285
+ `context-events` in addition to `view-item`, `media-play`, and
1286
+ `media-complete`. Currently supported for the `recommended-for-you`
1287
+ engine. Currently supported values: `view-home-page`, `generic`.
1288
+ """
1289
+ if context_event_type is not None:
1290
+ pulumi.set(__self__, "context_event_type", context_event_type)
1291
+
1292
+ @_builtins.property
1293
+ @pulumi.getter(name="contextEventType")
1294
+ def context_event_type(self) -> Optional[_builtins.str]:
1295
+ """
1296
+ The type of event with which the engine is queried at prediction time.
1297
+ If set to `generic`, only `view-item`, `media-play`,and
1298
+ `media-complete` will be used as `context-event` in engine training. If
1299
+ set to `view-home-page`, `view-home-page` will also be used as
1300
+ `context-events` in addition to `view-item`, `media-play`, and
1301
+ `media-complete`. Currently supported for the `recommended-for-you`
1302
+ engine. Currently supported values: `view-home-page`, `generic`.
1303
+ """
1304
+ return pulumi.get(self, "context_event_type")
1305
+
1306
+
1307
+ @pulumi.output_type
1308
+ class RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig(dict):
1309
+ @staticmethod
1310
+ def __key_warning(key: str):
1311
+ suggest = None
1312
+ if key == "targetField":
1313
+ suggest = "target_field"
1314
+ elif key == "targetFieldValueFloat":
1315
+ suggest = "target_field_value_float"
1316
+
1317
+ if suggest:
1318
+ pulumi.log.warn(f"Key '{key}' not found in RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig. Access the value via the '{suggest}' property getter instead.")
1319
+
1320
+ def __getitem__(self, key: str) -> Any:
1321
+ RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig.__key_warning(key)
1322
+ return super().__getitem__(key)
1323
+
1324
+ def get(self, key: str, default = None) -> Any:
1325
+ RecommendationEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig.__key_warning(key)
1326
+ return super().get(key, default)
1327
+
1328
+ def __init__(__self__, *,
1329
+ target_field: Optional[_builtins.str] = None,
1330
+ target_field_value_float: Optional[_builtins.float] = None):
1331
+ """
1332
+ :param _builtins.str target_field: The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.
1333
+ :param _builtins.float target_field_value_float: The threshold to be applied to the target (e.g., 0.5).
1334
+ """
1335
+ if target_field is not None:
1336
+ pulumi.set(__self__, "target_field", target_field)
1337
+ if target_field_value_float is not None:
1338
+ pulumi.set(__self__, "target_field_value_float", target_field_value_float)
1339
+
1340
+ @_builtins.property
1341
+ @pulumi.getter(name="targetField")
1342
+ def target_field(self) -> Optional[_builtins.str]:
1343
+ """
1344
+ The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.
1345
+ """
1346
+ return pulumi.get(self, "target_field")
1347
+
1348
+ @_builtins.property
1349
+ @pulumi.getter(name="targetFieldValueFloat")
1350
+ def target_field_value_float(self) -> Optional[_builtins.float]:
1351
+ """
1352
+ The threshold to be applied to the target (e.g., 0.5).
1353
+ """
1354
+ return pulumi.get(self, "target_field_value_float")
1355
+
1356
+
945
1357
  @pulumi.output_type
946
1358
  class SearchEngineCommonConfig(dict):
947
1359
  @staticmethod