pulumi-gcp 7.8.0a1706829616__py3-none-any.whl → 7.8.0a1706905467__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +30 -0
- pulumi_gcp/artifactregistry/repository.py +26 -28
- pulumi_gcp/cloudrun/_inputs.py +87 -4
- pulumi_gcp/cloudrun/outputs.py +152 -4
- pulumi_gcp/composer/_inputs.py +63 -0
- pulumi_gcp/composer/outputs.py +136 -0
- pulumi_gcp/compute/_inputs.py +8 -18
- pulumi_gcp/compute/backend_service.py +28 -0
- pulumi_gcp/compute/outputs.py +10 -20
- pulumi_gcp/compute/region_backend_service.py +30 -0
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/discoveryengine/__init__.py +8 -0
- pulumi_gcp/discoveryengine/data_store.py +734 -0
- pulumi_gcp/eventarc/_inputs.py +2 -2
- pulumi_gcp/eventarc/outputs.py +2 -2
- pulumi_gcp/firebase/_inputs.py +4 -2
- pulumi_gcp/firebase/extensions_instance.py +6 -8
- pulumi_gcp/firebase/outputs.py +4 -2
- pulumi_gcp/firestore/backup_schedule.py +36 -12
- pulumi_gcp/firestore/database.py +0 -8
- pulumi_gcp/firestore/document.py +0 -68
- pulumi_gcp/firestore/field.py +22 -102
- pulumi_gcp/firestore/index.py +4 -42
- pulumi_gcp/gkehub/feature.py +2 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pubsub/_inputs.py +26 -4
- pulumi_gcp/pubsub/outputs.py +45 -8
- pulumi_gcp/pubsub/subscription.py +82 -0
- pulumi_gcp/securityposture/__init__.py +11 -0
- pulumi_gcp/securityposture/_inputs.py +1364 -0
- pulumi_gcp/securityposture/outputs.py +1372 -0
- pulumi_gcp/securityposture/posture.py +828 -0
- pulumi_gcp/securityposture/posture_deployment.py +872 -0
- pulumi_gcp/vertex/_inputs.py +156 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +259 -3
- pulumi_gcp/vertex/outputs.py +170 -0
- pulumi_gcp/workflows/workflow.py +75 -7
- pulumi_gcp/workstations/_inputs.py +38 -0
- pulumi_gcp/workstations/outputs.py +30 -0
- pulumi_gcp/workstations/workstation_config.py +54 -0
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/RECORD +45 -38
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/top_level.txt +0 -0
pulumi_gcp/vertex/outputs.py
CHANGED
@@ -30,6 +30,9 @@ __all__ = [
|
|
30
30
|
'AiFeatureOnlineStoreEmbeddingManagement',
|
31
31
|
'AiFeatureOnlineStoreFeatureviewBigQuerySource',
|
32
32
|
'AiFeatureOnlineStoreFeatureviewSyncConfig',
|
33
|
+
'AiFeatureOnlineStoreFeatureviewVectorSearchConfig',
|
34
|
+
'AiFeatureOnlineStoreFeatureviewVectorSearchConfigBruteForceConfig',
|
35
|
+
'AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig',
|
33
36
|
'AiFeatureOnlineStoreOptimized',
|
34
37
|
'AiFeatureStoreEncryptionSpec',
|
35
38
|
'AiFeatureStoreEntityTypeIamBindingCondition',
|
@@ -1146,6 +1149,173 @@ class AiFeatureOnlineStoreFeatureviewSyncConfig(dict):
|
|
1146
1149
|
return pulumi.get(self, "cron")
|
1147
1150
|
|
1148
1151
|
|
1152
|
+
@pulumi.output_type
|
1153
|
+
class AiFeatureOnlineStoreFeatureviewVectorSearchConfig(dict):
|
1154
|
+
@staticmethod
|
1155
|
+
def __key_warning(key: str):
|
1156
|
+
suggest = None
|
1157
|
+
if key == "embeddingColumn":
|
1158
|
+
suggest = "embedding_column"
|
1159
|
+
elif key == "bruteForceConfig":
|
1160
|
+
suggest = "brute_force_config"
|
1161
|
+
elif key == "crowdingColumn":
|
1162
|
+
suggest = "crowding_column"
|
1163
|
+
elif key == "distanceMeasureType":
|
1164
|
+
suggest = "distance_measure_type"
|
1165
|
+
elif key == "embeddingDimension":
|
1166
|
+
suggest = "embedding_dimension"
|
1167
|
+
elif key == "filterColumns":
|
1168
|
+
suggest = "filter_columns"
|
1169
|
+
elif key == "treeAhConfig":
|
1170
|
+
suggest = "tree_ah_config"
|
1171
|
+
|
1172
|
+
if suggest:
|
1173
|
+
pulumi.log.warn(f"Key '{key}' not found in AiFeatureOnlineStoreFeatureviewVectorSearchConfig. Access the value via the '{suggest}' property getter instead.")
|
1174
|
+
|
1175
|
+
def __getitem__(self, key: str) -> Any:
|
1176
|
+
AiFeatureOnlineStoreFeatureviewVectorSearchConfig.__key_warning(key)
|
1177
|
+
return super().__getitem__(key)
|
1178
|
+
|
1179
|
+
def get(self, key: str, default = None) -> Any:
|
1180
|
+
AiFeatureOnlineStoreFeatureviewVectorSearchConfig.__key_warning(key)
|
1181
|
+
return super().get(key, default)
|
1182
|
+
|
1183
|
+
def __init__(__self__, *,
|
1184
|
+
embedding_column: str,
|
1185
|
+
brute_force_config: Optional['outputs.AiFeatureOnlineStoreFeatureviewVectorSearchConfigBruteForceConfig'] = None,
|
1186
|
+
crowding_column: Optional[str] = None,
|
1187
|
+
distance_measure_type: Optional[str] = None,
|
1188
|
+
embedding_dimension: Optional[int] = None,
|
1189
|
+
filter_columns: Optional[Sequence[str]] = None,
|
1190
|
+
tree_ah_config: Optional['outputs.AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig'] = None):
|
1191
|
+
"""
|
1192
|
+
:param str embedding_column: Column of embedding. This column contains the source data to create index for vector search.
|
1193
|
+
:param 'AiFeatureOnlineStoreFeatureviewVectorSearchConfigBruteForceConfigArgs' brute_force_config: Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.
|
1194
|
+
:param str crowding_column: Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowdingAttribute.
|
1195
|
+
:param str distance_measure_type: The distance measure used in nearest neighbor search.
|
1196
|
+
For details on allowed values, see the [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.featureOnlineStores.featureViews#DistanceMeasureType).
|
1197
|
+
Possible values are: `SQUARED_L2_DISTANCE`, `COSINE_DISTANCE`, `DOT_PRODUCT_DISTANCE`.
|
1198
|
+
:param int embedding_dimension: The number of dimensions of the input embedding.
|
1199
|
+
:param Sequence[str] filter_columns: Columns of features that are used to filter vector search results.
|
1200
|
+
:param 'AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfigArgs' tree_ah_config: Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
|
1201
|
+
Structure is documented below.
|
1202
|
+
"""
|
1203
|
+
pulumi.set(__self__, "embedding_column", embedding_column)
|
1204
|
+
if brute_force_config is not None:
|
1205
|
+
pulumi.set(__self__, "brute_force_config", brute_force_config)
|
1206
|
+
if crowding_column is not None:
|
1207
|
+
pulumi.set(__self__, "crowding_column", crowding_column)
|
1208
|
+
if distance_measure_type is not None:
|
1209
|
+
pulumi.set(__self__, "distance_measure_type", distance_measure_type)
|
1210
|
+
if embedding_dimension is not None:
|
1211
|
+
pulumi.set(__self__, "embedding_dimension", embedding_dimension)
|
1212
|
+
if filter_columns is not None:
|
1213
|
+
pulumi.set(__self__, "filter_columns", filter_columns)
|
1214
|
+
if tree_ah_config is not None:
|
1215
|
+
pulumi.set(__self__, "tree_ah_config", tree_ah_config)
|
1216
|
+
|
1217
|
+
@property
|
1218
|
+
@pulumi.getter(name="embeddingColumn")
|
1219
|
+
def embedding_column(self) -> str:
|
1220
|
+
"""
|
1221
|
+
Column of embedding. This column contains the source data to create index for vector search.
|
1222
|
+
"""
|
1223
|
+
return pulumi.get(self, "embedding_column")
|
1224
|
+
|
1225
|
+
@property
|
1226
|
+
@pulumi.getter(name="bruteForceConfig")
|
1227
|
+
def brute_force_config(self) -> Optional['outputs.AiFeatureOnlineStoreFeatureviewVectorSearchConfigBruteForceConfig']:
|
1228
|
+
"""
|
1229
|
+
Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.
|
1230
|
+
"""
|
1231
|
+
return pulumi.get(self, "brute_force_config")
|
1232
|
+
|
1233
|
+
@property
|
1234
|
+
@pulumi.getter(name="crowdingColumn")
|
1235
|
+
def crowding_column(self) -> Optional[str]:
|
1236
|
+
"""
|
1237
|
+
Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowdingAttribute.
|
1238
|
+
"""
|
1239
|
+
return pulumi.get(self, "crowding_column")
|
1240
|
+
|
1241
|
+
@property
|
1242
|
+
@pulumi.getter(name="distanceMeasureType")
|
1243
|
+
def distance_measure_type(self) -> Optional[str]:
|
1244
|
+
"""
|
1245
|
+
The distance measure used in nearest neighbor search.
|
1246
|
+
For details on allowed values, see the [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.featureOnlineStores.featureViews#DistanceMeasureType).
|
1247
|
+
Possible values are: `SQUARED_L2_DISTANCE`, `COSINE_DISTANCE`, `DOT_PRODUCT_DISTANCE`.
|
1248
|
+
"""
|
1249
|
+
return pulumi.get(self, "distance_measure_type")
|
1250
|
+
|
1251
|
+
@property
|
1252
|
+
@pulumi.getter(name="embeddingDimension")
|
1253
|
+
def embedding_dimension(self) -> Optional[int]:
|
1254
|
+
"""
|
1255
|
+
The number of dimensions of the input embedding.
|
1256
|
+
"""
|
1257
|
+
return pulumi.get(self, "embedding_dimension")
|
1258
|
+
|
1259
|
+
@property
|
1260
|
+
@pulumi.getter(name="filterColumns")
|
1261
|
+
def filter_columns(self) -> Optional[Sequence[str]]:
|
1262
|
+
"""
|
1263
|
+
Columns of features that are used to filter vector search results.
|
1264
|
+
"""
|
1265
|
+
return pulumi.get(self, "filter_columns")
|
1266
|
+
|
1267
|
+
@property
|
1268
|
+
@pulumi.getter(name="treeAhConfig")
|
1269
|
+
def tree_ah_config(self) -> Optional['outputs.AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig']:
|
1270
|
+
"""
|
1271
|
+
Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
|
1272
|
+
Structure is documented below.
|
1273
|
+
"""
|
1274
|
+
return pulumi.get(self, "tree_ah_config")
|
1275
|
+
|
1276
|
+
|
1277
|
+
@pulumi.output_type
|
1278
|
+
class AiFeatureOnlineStoreFeatureviewVectorSearchConfigBruteForceConfig(dict):
|
1279
|
+
def __init__(__self__):
|
1280
|
+
pass
|
1281
|
+
|
1282
|
+
|
1283
|
+
@pulumi.output_type
|
1284
|
+
class AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig(dict):
|
1285
|
+
@staticmethod
|
1286
|
+
def __key_warning(key: str):
|
1287
|
+
suggest = None
|
1288
|
+
if key == "leafNodeEmbeddingCount":
|
1289
|
+
suggest = "leaf_node_embedding_count"
|
1290
|
+
|
1291
|
+
if suggest:
|
1292
|
+
pulumi.log.warn(f"Key '{key}' not found in AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig. Access the value via the '{suggest}' property getter instead.")
|
1293
|
+
|
1294
|
+
def __getitem__(self, key: str) -> Any:
|
1295
|
+
AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig.__key_warning(key)
|
1296
|
+
return super().__getitem__(key)
|
1297
|
+
|
1298
|
+
def get(self, key: str, default = None) -> Any:
|
1299
|
+
AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig.__key_warning(key)
|
1300
|
+
return super().get(key, default)
|
1301
|
+
|
1302
|
+
def __init__(__self__, *,
|
1303
|
+
leaf_node_embedding_count: Optional[str] = None):
|
1304
|
+
"""
|
1305
|
+
:param str leaf_node_embedding_count: Number of embeddings on each leaf node. The default value is 1000 if not set.
|
1306
|
+
"""
|
1307
|
+
if leaf_node_embedding_count is not None:
|
1308
|
+
pulumi.set(__self__, "leaf_node_embedding_count", leaf_node_embedding_count)
|
1309
|
+
|
1310
|
+
@property
|
1311
|
+
@pulumi.getter(name="leafNodeEmbeddingCount")
|
1312
|
+
def leaf_node_embedding_count(self) -> Optional[str]:
|
1313
|
+
"""
|
1314
|
+
Number of embeddings on each leaf node. The default value is 1000 if not set.
|
1315
|
+
"""
|
1316
|
+
return pulumi.get(self, "leaf_node_embedding_count")
|
1317
|
+
|
1318
|
+
|
1149
1319
|
@pulumi.output_type
|
1150
1320
|
class AiFeatureOnlineStoreOptimized(dict):
|
1151
1321
|
def __init__(__self__):
|
pulumi_gcp/workflows/workflow.py
CHANGED
@@ -14,6 +14,7 @@ __all__ = ['WorkflowArgs', 'Workflow']
|
|
14
14
|
@pulumi.input_type
|
15
15
|
class WorkflowArgs:
|
16
16
|
def __init__(__self__, *,
|
17
|
+
call_log_level: Optional[pulumi.Input[str]] = None,
|
17
18
|
crypto_key_name: Optional[pulumi.Input[str]] = None,
|
18
19
|
description: Optional[pulumi.Input[str]] = None,
|
19
20
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -26,6 +27,10 @@ class WorkflowArgs:
|
|
26
27
|
user_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
27
28
|
"""
|
28
29
|
The set of arguments for constructing a Workflow resource.
|
30
|
+
:param pulumi.Input[str] call_log_level: Describes the level of platform logging to apply to calls and call responses during
|
31
|
+
executions of this workflow. If both the workflow and the execution specify a logging level,
|
32
|
+
the execution level takes precedence.
|
33
|
+
Possible values are: `CALL_LOG_LEVEL_UNSPECIFIED`, `LOG_ALL_CALLS`, `LOG_ERRORS_ONLY`, `LOG_NONE`.
|
29
34
|
:param pulumi.Input[str] crypto_key_name: The KMS key used to encrypt workflow and execution data.
|
30
35
|
Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
|
31
36
|
:param pulumi.Input[str] description: Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
|
@@ -46,9 +51,11 @@ class WorkflowArgs:
|
|
46
51
|
The {account} value can be the email address or the unique_id of the service account.
|
47
52
|
If not provided, workflow will use the project's default service account.
|
48
53
|
Modifying this field for an existing workflow results in a new workflow revision.
|
49
|
-
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is
|
54
|
+
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
50
55
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
51
56
|
"""
|
57
|
+
if call_log_level is not None:
|
58
|
+
pulumi.set(__self__, "call_log_level", call_log_level)
|
52
59
|
if crypto_key_name is not None:
|
53
60
|
pulumi.set(__self__, "crypto_key_name", crypto_key_name)
|
54
61
|
if description is not None:
|
@@ -70,6 +77,21 @@ class WorkflowArgs:
|
|
70
77
|
if user_env_vars is not None:
|
71
78
|
pulumi.set(__self__, "user_env_vars", user_env_vars)
|
72
79
|
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="callLogLevel")
|
82
|
+
def call_log_level(self) -> Optional[pulumi.Input[str]]:
|
83
|
+
"""
|
84
|
+
Describes the level of platform logging to apply to calls and call responses during
|
85
|
+
executions of this workflow. If both the workflow and the execution specify a logging level,
|
86
|
+
the execution level takes precedence.
|
87
|
+
Possible values are: `CALL_LOG_LEVEL_UNSPECIFIED`, `LOG_ALL_CALLS`, `LOG_ERRORS_ONLY`, `LOG_NONE`.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "call_log_level")
|
90
|
+
|
91
|
+
@call_log_level.setter
|
92
|
+
def call_log_level(self, value: Optional[pulumi.Input[str]]):
|
93
|
+
pulumi.set(self, "call_log_level", value)
|
94
|
+
|
73
95
|
@property
|
74
96
|
@pulumi.getter(name="cryptoKeyName")
|
75
97
|
def crypto_key_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -182,7 +204,7 @@ class WorkflowArgs:
|
|
182
204
|
@pulumi.getter(name="sourceContents")
|
183
205
|
def source_contents(self) -> Optional[pulumi.Input[str]]:
|
184
206
|
"""
|
185
|
-
Workflow code to be executed. The size limit is
|
207
|
+
Workflow code to be executed. The size limit is 128KB.
|
186
208
|
"""
|
187
209
|
return pulumi.get(self, "source_contents")
|
188
210
|
|
@@ -206,6 +228,7 @@ class WorkflowArgs:
|
|
206
228
|
@pulumi.input_type
|
207
229
|
class _WorkflowState:
|
208
230
|
def __init__(__self__, *,
|
231
|
+
call_log_level: Optional[pulumi.Input[str]] = None,
|
209
232
|
create_time: Optional[pulumi.Input[str]] = None,
|
210
233
|
crypto_key_name: Optional[pulumi.Input[str]] = None,
|
211
234
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -224,6 +247,10 @@ class _WorkflowState:
|
|
224
247
|
user_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
225
248
|
"""
|
226
249
|
Input properties used for looking up and filtering Workflow resources.
|
250
|
+
:param pulumi.Input[str] call_log_level: Describes the level of platform logging to apply to calls and call responses during
|
251
|
+
executions of this workflow. If both the workflow and the execution specify a logging level,
|
252
|
+
the execution level takes precedence.
|
253
|
+
Possible values are: `CALL_LOG_LEVEL_UNSPECIFIED`, `LOG_ALL_CALLS`, `LOG_ERRORS_ONLY`, `LOG_NONE`.
|
227
254
|
:param pulumi.Input[str] create_time: The timestamp of when the workflow was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
228
255
|
:param pulumi.Input[str] crypto_key_name: The KMS key used to encrypt workflow and execution data.
|
229
256
|
Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
|
@@ -249,11 +276,13 @@ class _WorkflowState:
|
|
249
276
|
The {account} value can be the email address or the unique_id of the service account.
|
250
277
|
If not provided, workflow will use the project's default service account.
|
251
278
|
Modifying this field for an existing workflow results in a new workflow revision.
|
252
|
-
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is
|
279
|
+
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
253
280
|
:param pulumi.Input[str] state: State of the workflow deployment.
|
254
281
|
:param pulumi.Input[str] update_time: The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
255
282
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
256
283
|
"""
|
284
|
+
if call_log_level is not None:
|
285
|
+
pulumi.set(__self__, "call_log_level", call_log_level)
|
257
286
|
if create_time is not None:
|
258
287
|
pulumi.set(__self__, "create_time", create_time)
|
259
288
|
if crypto_key_name is not None:
|
@@ -287,6 +316,21 @@ class _WorkflowState:
|
|
287
316
|
if user_env_vars is not None:
|
288
317
|
pulumi.set(__self__, "user_env_vars", user_env_vars)
|
289
318
|
|
319
|
+
@property
|
320
|
+
@pulumi.getter(name="callLogLevel")
|
321
|
+
def call_log_level(self) -> Optional[pulumi.Input[str]]:
|
322
|
+
"""
|
323
|
+
Describes the level of platform logging to apply to calls and call responses during
|
324
|
+
executions of this workflow. If both the workflow and the execution specify a logging level,
|
325
|
+
the execution level takes precedence.
|
326
|
+
Possible values are: `CALL_LOG_LEVEL_UNSPECIFIED`, `LOG_ALL_CALLS`, `LOG_ERRORS_ONLY`, `LOG_NONE`.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "call_log_level")
|
329
|
+
|
330
|
+
@call_log_level.setter
|
331
|
+
def call_log_level(self, value: Optional[pulumi.Input[str]]):
|
332
|
+
pulumi.set(self, "call_log_level", value)
|
333
|
+
|
290
334
|
@property
|
291
335
|
@pulumi.getter(name="createTime")
|
292
336
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
@@ -448,7 +492,7 @@ class _WorkflowState:
|
|
448
492
|
@pulumi.getter(name="sourceContents")
|
449
493
|
def source_contents(self) -> Optional[pulumi.Input[str]]:
|
450
494
|
"""
|
451
|
-
Workflow code to be executed. The size limit is
|
495
|
+
Workflow code to be executed. The size limit is 128KB.
|
452
496
|
"""
|
453
497
|
return pulumi.get(self, "source_contents")
|
454
498
|
|
@@ -498,6 +542,7 @@ class Workflow(pulumi.CustomResource):
|
|
498
542
|
def __init__(__self__,
|
499
543
|
resource_name: str,
|
500
544
|
opts: Optional[pulumi.ResourceOptions] = None,
|
545
|
+
call_log_level: Optional[pulumi.Input[str]] = None,
|
501
546
|
crypto_key_name: Optional[pulumi.Input[str]] = None,
|
502
547
|
description: Optional[pulumi.Input[str]] = None,
|
503
548
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -526,6 +571,10 @@ class Workflow(pulumi.CustomResource):
|
|
526
571
|
|
527
572
|
:param str resource_name: The name of the resource.
|
528
573
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
574
|
+
:param pulumi.Input[str] call_log_level: Describes the level of platform logging to apply to calls and call responses during
|
575
|
+
executions of this workflow. If both the workflow and the execution specify a logging level,
|
576
|
+
the execution level takes precedence.
|
577
|
+
Possible values are: `CALL_LOG_LEVEL_UNSPECIFIED`, `LOG_ALL_CALLS`, `LOG_ERRORS_ONLY`, `LOG_NONE`.
|
529
578
|
:param pulumi.Input[str] crypto_key_name: The KMS key used to encrypt workflow and execution data.
|
530
579
|
Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
|
531
580
|
:param pulumi.Input[str] description: Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
|
@@ -546,7 +595,7 @@ class Workflow(pulumi.CustomResource):
|
|
546
595
|
The {account} value can be the email address or the unique_id of the service account.
|
547
596
|
If not provided, workflow will use the project's default service account.
|
548
597
|
Modifying this field for an existing workflow results in a new workflow revision.
|
549
|
-
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is
|
598
|
+
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
550
599
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
551
600
|
"""
|
552
601
|
...
|
@@ -585,6 +634,7 @@ class Workflow(pulumi.CustomResource):
|
|
585
634
|
def _internal_init(__self__,
|
586
635
|
resource_name: str,
|
587
636
|
opts: Optional[pulumi.ResourceOptions] = None,
|
637
|
+
call_log_level: Optional[pulumi.Input[str]] = None,
|
588
638
|
crypto_key_name: Optional[pulumi.Input[str]] = None,
|
589
639
|
description: Optional[pulumi.Input[str]] = None,
|
590
640
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -604,6 +654,7 @@ class Workflow(pulumi.CustomResource):
|
|
604
654
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
605
655
|
__props__ = WorkflowArgs.__new__(WorkflowArgs)
|
606
656
|
|
657
|
+
__props__.__dict__["call_log_level"] = call_log_level
|
607
658
|
__props__.__dict__["crypto_key_name"] = crypto_key_name
|
608
659
|
__props__.__dict__["description"] = description
|
609
660
|
__props__.__dict__["labels"] = labels
|
@@ -632,6 +683,7 @@ class Workflow(pulumi.CustomResource):
|
|
632
683
|
def get(resource_name: str,
|
633
684
|
id: pulumi.Input[str],
|
634
685
|
opts: Optional[pulumi.ResourceOptions] = None,
|
686
|
+
call_log_level: Optional[pulumi.Input[str]] = None,
|
635
687
|
create_time: Optional[pulumi.Input[str]] = None,
|
636
688
|
crypto_key_name: Optional[pulumi.Input[str]] = None,
|
637
689
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -655,6 +707,10 @@ class Workflow(pulumi.CustomResource):
|
|
655
707
|
:param str resource_name: The unique name of the resulting resource.
|
656
708
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
657
709
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
710
|
+
:param pulumi.Input[str] call_log_level: Describes the level of platform logging to apply to calls and call responses during
|
711
|
+
executions of this workflow. If both the workflow and the execution specify a logging level,
|
712
|
+
the execution level takes precedence.
|
713
|
+
Possible values are: `CALL_LOG_LEVEL_UNSPECIFIED`, `LOG_ALL_CALLS`, `LOG_ERRORS_ONLY`, `LOG_NONE`.
|
658
714
|
:param pulumi.Input[str] create_time: The timestamp of when the workflow was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
659
715
|
:param pulumi.Input[str] crypto_key_name: The KMS key used to encrypt workflow and execution data.
|
660
716
|
Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
|
@@ -680,7 +736,7 @@ class Workflow(pulumi.CustomResource):
|
|
680
736
|
The {account} value can be the email address or the unique_id of the service account.
|
681
737
|
If not provided, workflow will use the project's default service account.
|
682
738
|
Modifying this field for an existing workflow results in a new workflow revision.
|
683
|
-
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is
|
739
|
+
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
684
740
|
:param pulumi.Input[str] state: State of the workflow deployment.
|
685
741
|
:param pulumi.Input[str] update_time: The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
686
742
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
@@ -689,6 +745,7 @@ class Workflow(pulumi.CustomResource):
|
|
689
745
|
|
690
746
|
__props__ = _WorkflowState.__new__(_WorkflowState)
|
691
747
|
|
748
|
+
__props__.__dict__["call_log_level"] = call_log_level
|
692
749
|
__props__.__dict__["create_time"] = create_time
|
693
750
|
__props__.__dict__["crypto_key_name"] = crypto_key_name
|
694
751
|
__props__.__dict__["description"] = description
|
@@ -707,6 +764,17 @@ class Workflow(pulumi.CustomResource):
|
|
707
764
|
__props__.__dict__["user_env_vars"] = user_env_vars
|
708
765
|
return Workflow(resource_name, opts=opts, __props__=__props__)
|
709
766
|
|
767
|
+
@property
|
768
|
+
@pulumi.getter(name="callLogLevel")
|
769
|
+
def call_log_level(self) -> pulumi.Output[Optional[str]]:
|
770
|
+
"""
|
771
|
+
Describes the level of platform logging to apply to calls and call responses during
|
772
|
+
executions of this workflow. If both the workflow and the execution specify a logging level,
|
773
|
+
the execution level takes precedence.
|
774
|
+
Possible values are: `CALL_LOG_LEVEL_UNSPECIFIED`, `LOG_ALL_CALLS`, `LOG_ERRORS_ONLY`, `LOG_NONE`.
|
775
|
+
"""
|
776
|
+
return pulumi.get(self, "call_log_level")
|
777
|
+
|
710
778
|
@property
|
711
779
|
@pulumi.getter(name="createTime")
|
712
780
|
def create_time(self) -> pulumi.Output[str]:
|
@@ -820,7 +888,7 @@ class Workflow(pulumi.CustomResource):
|
|
820
888
|
@pulumi.getter(name="sourceContents")
|
821
889
|
def source_contents(self) -> pulumi.Output[Optional[str]]:
|
822
890
|
"""
|
823
|
-
Workflow code to be executed. The size limit is
|
891
|
+
Workflow code to be executed. The size limit is 128KB.
|
824
892
|
"""
|
825
893
|
return pulumi.get(self, "source_contents")
|
826
894
|
|
@@ -25,6 +25,7 @@ __all__ = [
|
|
25
25
|
'WorkstationConfigIamMemberConditionArgs',
|
26
26
|
'WorkstationConfigPersistentDirectoryArgs',
|
27
27
|
'WorkstationConfigPersistentDirectoryGcePdArgs',
|
28
|
+
'WorkstationConfigReadinessCheckArgs',
|
28
29
|
'WorkstationIamBindingConditionArgs',
|
29
30
|
'WorkstationIamMemberConditionArgs',
|
30
31
|
]
|
@@ -940,6 +941,43 @@ class WorkstationConfigPersistentDirectoryGcePdArgs:
|
|
940
941
|
pulumi.set(self, "source_snapshot", value)
|
941
942
|
|
942
943
|
|
944
|
+
@pulumi.input_type
|
945
|
+
class WorkstationConfigReadinessCheckArgs:
|
946
|
+
def __init__(__self__, *,
|
947
|
+
path: pulumi.Input[str],
|
948
|
+
port: pulumi.Input[int]):
|
949
|
+
"""
|
950
|
+
:param pulumi.Input[str] path: Path to which the request should be sent.
|
951
|
+
:param pulumi.Input[int] port: Port to which the request should be sent.
|
952
|
+
"""
|
953
|
+
pulumi.set(__self__, "path", path)
|
954
|
+
pulumi.set(__self__, "port", port)
|
955
|
+
|
956
|
+
@property
|
957
|
+
@pulumi.getter
|
958
|
+
def path(self) -> pulumi.Input[str]:
|
959
|
+
"""
|
960
|
+
Path to which the request should be sent.
|
961
|
+
"""
|
962
|
+
return pulumi.get(self, "path")
|
963
|
+
|
964
|
+
@path.setter
|
965
|
+
def path(self, value: pulumi.Input[str]):
|
966
|
+
pulumi.set(self, "path", value)
|
967
|
+
|
968
|
+
@property
|
969
|
+
@pulumi.getter
|
970
|
+
def port(self) -> pulumi.Input[int]:
|
971
|
+
"""
|
972
|
+
Port to which the request should be sent.
|
973
|
+
"""
|
974
|
+
return pulumi.get(self, "port")
|
975
|
+
|
976
|
+
@port.setter
|
977
|
+
def port(self, value: pulumi.Input[int]):
|
978
|
+
pulumi.set(self, "port", value)
|
979
|
+
|
980
|
+
|
943
981
|
@pulumi.input_type
|
944
982
|
class WorkstationIamBindingConditionArgs:
|
945
983
|
def __init__(__self__, *,
|
@@ -26,6 +26,7 @@ __all__ = [
|
|
26
26
|
'WorkstationConfigIamMemberCondition',
|
27
27
|
'WorkstationConfigPersistentDirectory',
|
28
28
|
'WorkstationConfigPersistentDirectoryGcePd',
|
29
|
+
'WorkstationConfigReadinessCheck',
|
29
30
|
'WorkstationIamBindingCondition',
|
30
31
|
'WorkstationIamMemberCondition',
|
31
32
|
]
|
@@ -934,6 +935,35 @@ class WorkstationConfigPersistentDirectoryGcePd(dict):
|
|
934
935
|
return pulumi.get(self, "source_snapshot")
|
935
936
|
|
936
937
|
|
938
|
+
@pulumi.output_type
|
939
|
+
class WorkstationConfigReadinessCheck(dict):
|
940
|
+
def __init__(__self__, *,
|
941
|
+
path: str,
|
942
|
+
port: int):
|
943
|
+
"""
|
944
|
+
:param str path: Path to which the request should be sent.
|
945
|
+
:param int port: Port to which the request should be sent.
|
946
|
+
"""
|
947
|
+
pulumi.set(__self__, "path", path)
|
948
|
+
pulumi.set(__self__, "port", port)
|
949
|
+
|
950
|
+
@property
|
951
|
+
@pulumi.getter
|
952
|
+
def path(self) -> str:
|
953
|
+
"""
|
954
|
+
Path to which the request should be sent.
|
955
|
+
"""
|
956
|
+
return pulumi.get(self, "path")
|
957
|
+
|
958
|
+
@property
|
959
|
+
@pulumi.getter
|
960
|
+
def port(self) -> int:
|
961
|
+
"""
|
962
|
+
Port to which the request should be sent.
|
963
|
+
"""
|
964
|
+
return pulumi.get(self, "port")
|
965
|
+
|
966
|
+
|
937
967
|
@pulumi.output_type
|
938
968
|
class WorkstationIamBindingCondition(dict):
|
939
969
|
def __init__(__self__, *,
|