pulumi-gcp 7.17.0a1712163201__py3-none-any.whl → 7.17.0a1712602552__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.
- pulumi_gcp/__init__.py +27 -0
- pulumi_gcp/apphub/__init__.py +1 -0
- pulumi_gcp/apphub/get_application.py +220 -0
- pulumi_gcp/apphub/outputs.py +214 -0
- pulumi_gcp/applicationintegration/__init__.py +10 -0
- pulumi_gcp/applicationintegration/_inputs.py +119 -0
- pulumi_gcp/applicationintegration/client.py +566 -0
- pulumi_gcp/applicationintegration/outputs.py +122 -0
- pulumi_gcp/bigquery/_inputs.py +16 -0
- pulumi_gcp/bigquery/outputs.py +14 -0
- pulumi_gcp/bigquery/routine.py +98 -0
- pulumi_gcp/bigtable/_inputs.py +4 -4
- pulumi_gcp/bigtable/gc_policy.py +8 -0
- pulumi_gcp/bigtable/outputs.py +4 -4
- pulumi_gcp/billing/_inputs.py +4 -4
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +2 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +4 -4
- pulumi_gcp/cloudquota/__init__.py +2 -0
- pulumi_gcp/cloudquota/_inputs.py +131 -0
- pulumi_gcp/cloudquota/outputs.py +118 -0
- pulumi_gcp/cloudquota/s_quota_preference.py +777 -0
- pulumi_gcp/cloudrunv2/service.py +7 -7
- pulumi_gcp/composer/_inputs.py +14 -4
- pulumi_gcp/composer/outputs.py +22 -10
- pulumi_gcp/compute/_inputs.py +40 -44
- pulumi_gcp/compute/autoscaler.py +14 -14
- pulumi_gcp/compute/interconnect_attachment.py +64 -0
- pulumi_gcp/compute/network_endpoint.py +8 -0
- pulumi_gcp/compute/network_endpoint_list.py +8 -0
- pulumi_gcp/compute/outputs.py +62 -60
- pulumi_gcp/compute/region_autoscaler.py +14 -14
- pulumi_gcp/compute/region_backend_service.py +28 -0
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +148 -16
- pulumi_gcp/container/outputs.py +148 -16
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/dataflow/flex_template_job.py +84 -112
- pulumi_gcp/dataloss/_inputs.py +6 -6
- pulumi_gcp/dataloss/outputs.py +6 -6
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/_inputs.py +85 -10
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +120 -0
- pulumi_gcp/dataproc/outputs.py +142 -10
- pulumi_gcp/firebase/app_check_service_config.py +2 -2
- pulumi_gcp/firestore/backup_schedule.py +14 -14
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/_inputs.py +76 -0
- pulumi_gcp/iam/outputs.py +76 -0
- pulumi_gcp/iam/workforce_pool_provider.py +35 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +140 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/kms/_inputs.py +46 -0
- pulumi_gcp/kms/crypto_key.py +54 -0
- pulumi_gcp/kms/crypto_key_version.py +54 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +54 -0
- pulumi_gcp/logging/_inputs.py +8 -8
- pulumi_gcp/logging/metric.py +7 -7
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/monitoring/_inputs.py +2 -2
- pulumi_gcp/monitoring/outputs.py +2 -2
- pulumi_gcp/monitoring/slo.py +4 -4
- pulumi_gcp/networkservices/_inputs.py +6 -6
- pulumi_gcp/networkservices/outputs.py +6 -6
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/serviceusage/consumer_quota_override.py +7 -7
- pulumi_gcp/sql/_inputs.py +20 -2
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +20 -2
- pulumi_gcp/storage/_inputs.py +2 -2
- pulumi_gcp/storage/outputs.py +2 -2
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +175 -8
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +477 -0
- pulumi_gcp/vertex/outputs.py +202 -10
- pulumi_gcp/vpcaccess/connector.py +77 -28
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/RECORD +91 -83
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/top_level.txt +0 -0
pulumi_gcp/bigquery/_inputs.py
CHANGED
@@ -4105,6 +4105,7 @@ class TableExternalDataConfigurationArgs:
|
|
4105
4105
|
google_sheets_options: Optional[pulumi.Input['TableExternalDataConfigurationGoogleSheetsOptionsArgs']] = None,
|
4106
4106
|
hive_partitioning_options: Optional[pulumi.Input['TableExternalDataConfigurationHivePartitioningOptionsArgs']] = None,
|
4107
4107
|
ignore_unknown_values: Optional[pulumi.Input[bool]] = None,
|
4108
|
+
json_extension: Optional[pulumi.Input[str]] = None,
|
4108
4109
|
json_options: Optional[pulumi.Input['TableExternalDataConfigurationJsonOptionsArgs']] = None,
|
4109
4110
|
max_bad_records: Optional[pulumi.Input[int]] = None,
|
4110
4111
|
metadata_cache_mode: Optional[pulumi.Input[str]] = None,
|
@@ -4148,6 +4149,7 @@ class TableExternalDataConfigurationArgs:
|
|
4148
4149
|
extra columns are treated as bad records, and if there are too
|
4149
4150
|
many bad records, an invalid error is returned in the job result.
|
4150
4151
|
The default value is false.
|
4152
|
+
:param pulumi.Input[str] json_extension: Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.
|
4151
4153
|
:param pulumi.Input['TableExternalDataConfigurationJsonOptionsArgs'] json_options: Additional properties to set if
|
4152
4154
|
`source_format` is set to "JSON". Structure is documented below.
|
4153
4155
|
:param pulumi.Input[int] max_bad_records: The maximum number of bad records that
|
@@ -4195,6 +4197,8 @@ class TableExternalDataConfigurationArgs:
|
|
4195
4197
|
pulumi.set(__self__, "hive_partitioning_options", hive_partitioning_options)
|
4196
4198
|
if ignore_unknown_values is not None:
|
4197
4199
|
pulumi.set(__self__, "ignore_unknown_values", ignore_unknown_values)
|
4200
|
+
if json_extension is not None:
|
4201
|
+
pulumi.set(__self__, "json_extension", json_extension)
|
4198
4202
|
if json_options is not None:
|
4199
4203
|
pulumi.set(__self__, "json_options", json_options)
|
4200
4204
|
if max_bad_records is not None:
|
@@ -4356,6 +4360,18 @@ class TableExternalDataConfigurationArgs:
|
|
4356
4360
|
def ignore_unknown_values(self, value: Optional[pulumi.Input[bool]]):
|
4357
4361
|
pulumi.set(self, "ignore_unknown_values", value)
|
4358
4362
|
|
4363
|
+
@property
|
4364
|
+
@pulumi.getter(name="jsonExtension")
|
4365
|
+
def json_extension(self) -> Optional[pulumi.Input[str]]:
|
4366
|
+
"""
|
4367
|
+
Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.
|
4368
|
+
"""
|
4369
|
+
return pulumi.get(self, "json_extension")
|
4370
|
+
|
4371
|
+
@json_extension.setter
|
4372
|
+
def json_extension(self, value: Optional[pulumi.Input[str]]):
|
4373
|
+
pulumi.set(self, "json_extension", value)
|
4374
|
+
|
4359
4375
|
@property
|
4360
4376
|
@pulumi.getter(name="jsonOptions")
|
4361
4377
|
def json_options(self) -> Optional[pulumi.Input['TableExternalDataConfigurationJsonOptionsArgs']]:
|
pulumi_gcp/bigquery/outputs.py
CHANGED
@@ -4303,6 +4303,8 @@ class TableExternalDataConfiguration(dict):
|
|
4303
4303
|
suggest = "hive_partitioning_options"
|
4304
4304
|
elif key == "ignoreUnknownValues":
|
4305
4305
|
suggest = "ignore_unknown_values"
|
4306
|
+
elif key == "jsonExtension":
|
4307
|
+
suggest = "json_extension"
|
4306
4308
|
elif key == "jsonOptions":
|
4307
4309
|
suggest = "json_options"
|
4308
4310
|
elif key == "maxBadRecords":
|
@@ -4340,6 +4342,7 @@ class TableExternalDataConfiguration(dict):
|
|
4340
4342
|
google_sheets_options: Optional['outputs.TableExternalDataConfigurationGoogleSheetsOptions'] = None,
|
4341
4343
|
hive_partitioning_options: Optional['outputs.TableExternalDataConfigurationHivePartitioningOptions'] = None,
|
4342
4344
|
ignore_unknown_values: Optional[bool] = None,
|
4345
|
+
json_extension: Optional[str] = None,
|
4343
4346
|
json_options: Optional['outputs.TableExternalDataConfigurationJsonOptions'] = None,
|
4344
4347
|
max_bad_records: Optional[int] = None,
|
4345
4348
|
metadata_cache_mode: Optional[str] = None,
|
@@ -4383,6 +4386,7 @@ class TableExternalDataConfiguration(dict):
|
|
4383
4386
|
extra columns are treated as bad records, and if there are too
|
4384
4387
|
many bad records, an invalid error is returned in the job result.
|
4385
4388
|
The default value is false.
|
4389
|
+
:param str json_extension: Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.
|
4386
4390
|
:param 'TableExternalDataConfigurationJsonOptionsArgs' json_options: Additional properties to set if
|
4387
4391
|
`source_format` is set to "JSON". Structure is documented below.
|
4388
4392
|
:param int max_bad_records: The maximum number of bad records that
|
@@ -4430,6 +4434,8 @@ class TableExternalDataConfiguration(dict):
|
|
4430
4434
|
pulumi.set(__self__, "hive_partitioning_options", hive_partitioning_options)
|
4431
4435
|
if ignore_unknown_values is not None:
|
4432
4436
|
pulumi.set(__self__, "ignore_unknown_values", ignore_unknown_values)
|
4437
|
+
if json_extension is not None:
|
4438
|
+
pulumi.set(__self__, "json_extension", json_extension)
|
4433
4439
|
if json_options is not None:
|
4434
4440
|
pulumi.set(__self__, "json_options", json_options)
|
4435
4441
|
if max_bad_records is not None:
|
@@ -4551,6 +4557,14 @@ class TableExternalDataConfiguration(dict):
|
|
4551
4557
|
"""
|
4552
4558
|
return pulumi.get(self, "ignore_unknown_values")
|
4553
4559
|
|
4560
|
+
@property
|
4561
|
+
@pulumi.getter(name="jsonExtension")
|
4562
|
+
def json_extension(self) -> Optional[str]:
|
4563
|
+
"""
|
4564
|
+
Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.
|
4565
|
+
"""
|
4566
|
+
return pulumi.get(self, "json_extension")
|
4567
|
+
|
4554
4568
|
@property
|
4555
4569
|
@pulumi.getter(name="jsonOptions")
|
4556
4570
|
def json_options(self) -> Optional['outputs.TableExternalDataConfigurationJsonOptions']:
|
pulumi_gcp/bigquery/routine.py
CHANGED
@@ -21,6 +21,7 @@ class RoutineArgs:
|
|
21
21
|
routine_id: pulumi.Input[str],
|
22
22
|
routine_type: pulumi.Input[str],
|
23
23
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['RoutineArgumentArgs']]]] = None,
|
24
|
+
data_governance_type: Optional[pulumi.Input[str]] = None,
|
24
25
|
description: Optional[pulumi.Input[str]] = None,
|
25
26
|
determinism_level: Optional[pulumi.Input[str]] = None,
|
26
27
|
imported_libraries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -43,6 +44,8 @@ class RoutineArgs:
|
|
43
44
|
Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.
|
44
45
|
:param pulumi.Input[Sequence[pulumi.Input['RoutineArgumentArgs']]] arguments: Input/output argument of a function or a stored procedure.
|
45
46
|
Structure is documented below.
|
47
|
+
:param pulumi.Input[str] data_governance_type: If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
48
|
+
Possible values are: `DATA_MASKING`.
|
46
49
|
:param pulumi.Input[str] description: The description of the routine if defined.
|
47
50
|
:param pulumi.Input[str] determinism_level: The determinism level of the JavaScript UDF if defined.
|
48
51
|
Possible values are: `DETERMINISM_LEVEL_UNSPECIFIED`, `DETERMINISTIC`, `NOT_DETERMINISTIC`.
|
@@ -76,6 +79,8 @@ class RoutineArgs:
|
|
76
79
|
pulumi.set(__self__, "routine_type", routine_type)
|
77
80
|
if arguments is not None:
|
78
81
|
pulumi.set(__self__, "arguments", arguments)
|
82
|
+
if data_governance_type is not None:
|
83
|
+
pulumi.set(__self__, "data_governance_type", data_governance_type)
|
79
84
|
if description is not None:
|
80
85
|
pulumi.set(__self__, "description", description)
|
81
86
|
if determinism_level is not None:
|
@@ -161,6 +166,19 @@ class RoutineArgs:
|
|
161
166
|
def arguments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoutineArgumentArgs']]]]):
|
162
167
|
pulumi.set(self, "arguments", value)
|
163
168
|
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="dataGovernanceType")
|
171
|
+
def data_governance_type(self) -> Optional[pulumi.Input[str]]:
|
172
|
+
"""
|
173
|
+
If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
174
|
+
Possible values are: `DATA_MASKING`.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "data_governance_type")
|
177
|
+
|
178
|
+
@data_governance_type.setter
|
179
|
+
def data_governance_type(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
pulumi.set(self, "data_governance_type", value)
|
181
|
+
|
164
182
|
@property
|
165
183
|
@pulumi.getter
|
166
184
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -292,6 +310,7 @@ class _RoutineState:
|
|
292
310
|
def __init__(__self__, *,
|
293
311
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['RoutineArgumentArgs']]]] = None,
|
294
312
|
creation_time: Optional[pulumi.Input[int]] = None,
|
313
|
+
data_governance_type: Optional[pulumi.Input[str]] = None,
|
295
314
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
296
315
|
definition_body: Optional[pulumi.Input[str]] = None,
|
297
316
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -312,6 +331,8 @@ class _RoutineState:
|
|
312
331
|
Structure is documented below.
|
313
332
|
:param pulumi.Input[int] creation_time: The time when this routine was created, in milliseconds since the
|
314
333
|
epoch.
|
334
|
+
:param pulumi.Input[str] data_governance_type: If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
335
|
+
Possible values are: `DATA_MASKING`.
|
315
336
|
:param pulumi.Input[str] dataset_id: The ID of the dataset containing this routine
|
316
337
|
:param pulumi.Input[str] definition_body: The body of the routine. For functions, this is the expression in the AS clause.
|
317
338
|
If language=SQL, it is the substring inside (but excluding) the parentheses.
|
@@ -354,6 +375,8 @@ class _RoutineState:
|
|
354
375
|
pulumi.set(__self__, "arguments", arguments)
|
355
376
|
if creation_time is not None:
|
356
377
|
pulumi.set(__self__, "creation_time", creation_time)
|
378
|
+
if data_governance_type is not None:
|
379
|
+
pulumi.set(__self__, "data_governance_type", data_governance_type)
|
357
380
|
if dataset_id is not None:
|
358
381
|
pulumi.set(__self__, "dataset_id", dataset_id)
|
359
382
|
if definition_body is not None:
|
@@ -409,6 +432,19 @@ class _RoutineState:
|
|
409
432
|
def creation_time(self, value: Optional[pulumi.Input[int]]):
|
410
433
|
pulumi.set(self, "creation_time", value)
|
411
434
|
|
435
|
+
@property
|
436
|
+
@pulumi.getter(name="dataGovernanceType")
|
437
|
+
def data_governance_type(self) -> Optional[pulumi.Input[str]]:
|
438
|
+
"""
|
439
|
+
If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
440
|
+
Possible values are: `DATA_MASKING`.
|
441
|
+
"""
|
442
|
+
return pulumi.get(self, "data_governance_type")
|
443
|
+
|
444
|
+
@data_governance_type.setter
|
445
|
+
def data_governance_type(self, value: Optional[pulumi.Input[str]]):
|
446
|
+
pulumi.set(self, "data_governance_type", value)
|
447
|
+
|
412
448
|
@property
|
413
449
|
@pulumi.getter(name="datasetId")
|
414
450
|
def dataset_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -607,6 +643,7 @@ class Routine(pulumi.CustomResource):
|
|
607
643
|
resource_name: str,
|
608
644
|
opts: Optional[pulumi.ResourceOptions] = None,
|
609
645
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutineArgumentArgs']]]]] = None,
|
646
|
+
data_governance_type: Optional[pulumi.Input[str]] = None,
|
610
647
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
611
648
|
definition_body: Optional[pulumi.Input[str]] = None,
|
612
649
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -809,6 +846,28 @@ class Routine(pulumi.CustomResource):
|
|
809
846
|
))
|
810
847
|
```
|
811
848
|
<!--End PulumiCodeChooser -->
|
849
|
+
### Bigquery Routine Data Governance Type
|
850
|
+
|
851
|
+
<!--Start PulumiCodeChooser -->
|
852
|
+
```python
|
853
|
+
import pulumi
|
854
|
+
import pulumi_gcp as gcp
|
855
|
+
|
856
|
+
test = gcp.bigquery.Dataset("test", dataset_id="tf_test_dataset_id_77884")
|
857
|
+
custom_masking_routine = gcp.bigquery.Routine("custom_masking_routine",
|
858
|
+
dataset_id=test.dataset_id,
|
859
|
+
routine_id="custom_masking_routine",
|
860
|
+
routine_type="SCALAR_FUNCTION",
|
861
|
+
language="SQL",
|
862
|
+
data_governance_type="DATA_MASKING",
|
863
|
+
definition_body="SAFE.REGEXP_REPLACE(ssn, '[0-9]', 'X')",
|
864
|
+
arguments=[gcp.bigquery.RoutineArgumentArgs(
|
865
|
+
name="ssn",
|
866
|
+
data_type="{\\"typeKind\\" : \\"STRING\\"}",
|
867
|
+
)],
|
868
|
+
return_type="{\\"typeKind\\" : \\"STRING\\"}")
|
869
|
+
```
|
870
|
+
<!--End PulumiCodeChooser -->
|
812
871
|
### Bigquery Routine Remote Function
|
813
872
|
|
814
873
|
<!--Start PulumiCodeChooser -->
|
@@ -866,6 +925,8 @@ class Routine(pulumi.CustomResource):
|
|
866
925
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
867
926
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutineArgumentArgs']]]] arguments: Input/output argument of a function or a stored procedure.
|
868
927
|
Structure is documented below.
|
928
|
+
:param pulumi.Input[str] data_governance_type: If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
929
|
+
Possible values are: `DATA_MASKING`.
|
869
930
|
:param pulumi.Input[str] dataset_id: The ID of the dataset containing this routine
|
870
931
|
:param pulumi.Input[str] definition_body: The body of the routine. For functions, this is the expression in the AS clause.
|
871
932
|
If language=SQL, it is the substring inside (but excluding) the parentheses.
|
@@ -1096,6 +1157,28 @@ class Routine(pulumi.CustomResource):
|
|
1096
1157
|
))
|
1097
1158
|
```
|
1098
1159
|
<!--End PulumiCodeChooser -->
|
1160
|
+
### Bigquery Routine Data Governance Type
|
1161
|
+
|
1162
|
+
<!--Start PulumiCodeChooser -->
|
1163
|
+
```python
|
1164
|
+
import pulumi
|
1165
|
+
import pulumi_gcp as gcp
|
1166
|
+
|
1167
|
+
test = gcp.bigquery.Dataset("test", dataset_id="tf_test_dataset_id_77884")
|
1168
|
+
custom_masking_routine = gcp.bigquery.Routine("custom_masking_routine",
|
1169
|
+
dataset_id=test.dataset_id,
|
1170
|
+
routine_id="custom_masking_routine",
|
1171
|
+
routine_type="SCALAR_FUNCTION",
|
1172
|
+
language="SQL",
|
1173
|
+
data_governance_type="DATA_MASKING",
|
1174
|
+
definition_body="SAFE.REGEXP_REPLACE(ssn, '[0-9]', 'X')",
|
1175
|
+
arguments=[gcp.bigquery.RoutineArgumentArgs(
|
1176
|
+
name="ssn",
|
1177
|
+
data_type="{\\"typeKind\\" : \\"STRING\\"}",
|
1178
|
+
)],
|
1179
|
+
return_type="{\\"typeKind\\" : \\"STRING\\"}")
|
1180
|
+
```
|
1181
|
+
<!--End PulumiCodeChooser -->
|
1099
1182
|
### Bigquery Routine Remote Function
|
1100
1183
|
|
1101
1184
|
<!--Start PulumiCodeChooser -->
|
@@ -1165,6 +1248,7 @@ class Routine(pulumi.CustomResource):
|
|
1165
1248
|
resource_name: str,
|
1166
1249
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1167
1250
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutineArgumentArgs']]]]] = None,
|
1251
|
+
data_governance_type: Optional[pulumi.Input[str]] = None,
|
1168
1252
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
1169
1253
|
definition_body: Optional[pulumi.Input[str]] = None,
|
1170
1254
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -1188,6 +1272,7 @@ class Routine(pulumi.CustomResource):
|
|
1188
1272
|
__props__ = RoutineArgs.__new__(RoutineArgs)
|
1189
1273
|
|
1190
1274
|
__props__.__dict__["arguments"] = arguments
|
1275
|
+
__props__.__dict__["data_governance_type"] = data_governance_type
|
1191
1276
|
if dataset_id is None and not opts.urn:
|
1192
1277
|
raise TypeError("Missing required property 'dataset_id'")
|
1193
1278
|
__props__.__dict__["dataset_id"] = dataset_id
|
@@ -1223,6 +1308,7 @@ class Routine(pulumi.CustomResource):
|
|
1223
1308
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1224
1309
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutineArgumentArgs']]]]] = None,
|
1225
1310
|
creation_time: Optional[pulumi.Input[int]] = None,
|
1311
|
+
data_governance_type: Optional[pulumi.Input[str]] = None,
|
1226
1312
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
1227
1313
|
definition_body: Optional[pulumi.Input[str]] = None,
|
1228
1314
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -1248,6 +1334,8 @@ class Routine(pulumi.CustomResource):
|
|
1248
1334
|
Structure is documented below.
|
1249
1335
|
:param pulumi.Input[int] creation_time: The time when this routine was created, in milliseconds since the
|
1250
1336
|
epoch.
|
1337
|
+
:param pulumi.Input[str] data_governance_type: If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
1338
|
+
Possible values are: `DATA_MASKING`.
|
1251
1339
|
:param pulumi.Input[str] dataset_id: The ID of the dataset containing this routine
|
1252
1340
|
:param pulumi.Input[str] definition_body: The body of the routine. For functions, this is the expression in the AS clause.
|
1253
1341
|
If language=SQL, it is the substring inside (but excluding) the parentheses.
|
@@ -1292,6 +1380,7 @@ class Routine(pulumi.CustomResource):
|
|
1292
1380
|
|
1293
1381
|
__props__.__dict__["arguments"] = arguments
|
1294
1382
|
__props__.__dict__["creation_time"] = creation_time
|
1383
|
+
__props__.__dict__["data_governance_type"] = data_governance_type
|
1295
1384
|
__props__.__dict__["dataset_id"] = dataset_id
|
1296
1385
|
__props__.__dict__["definition_body"] = definition_body
|
1297
1386
|
__props__.__dict__["description"] = description
|
@@ -1326,6 +1415,15 @@ class Routine(pulumi.CustomResource):
|
|
1326
1415
|
"""
|
1327
1416
|
return pulumi.get(self, "creation_time")
|
1328
1417
|
|
1418
|
+
@property
|
1419
|
+
@pulumi.getter(name="dataGovernanceType")
|
1420
|
+
def data_governance_type(self) -> pulumi.Output[Optional[str]]:
|
1421
|
+
"""
|
1422
|
+
If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
|
1423
|
+
Possible values are: `DATA_MASKING`.
|
1424
|
+
"""
|
1425
|
+
return pulumi.get(self, "data_governance_type")
|
1426
|
+
|
1329
1427
|
@property
|
1330
1428
|
@pulumi.getter(name="datasetId")
|
1331
1429
|
def dataset_id(self) -> pulumi.Output[str]:
|
pulumi_gcp/bigtable/_inputs.py
CHANGED
@@ -122,8 +122,8 @@ class InstanceClusterArgs:
|
|
122
122
|
`bigtable.Instance` resource. If these values are changing, use a new
|
123
123
|
`cluster_id`.
|
124
124
|
:param pulumi.Input[int] num_nodes: The number of nodes in the cluster.
|
125
|
-
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50
|
126
|
-
:param pulumi.Input[str] state:
|
125
|
+
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
|
126
|
+
:param pulumi.Input[str] state: describes the current state of the cluster.
|
127
127
|
:param pulumi.Input[str] storage_type: The storage type to use. One of `"SSD"` or
|
128
128
|
`"HDD"`. Defaults to `"SSD"`.
|
129
129
|
:param pulumi.Input[str] zone: The zone to create the Cloud Bigtable cluster in. If it not
|
@@ -194,7 +194,7 @@ class InstanceClusterArgs:
|
|
194
194
|
def num_nodes(self) -> Optional[pulumi.Input[int]]:
|
195
195
|
"""
|
196
196
|
The number of nodes in the cluster.
|
197
|
-
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50
|
197
|
+
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
|
198
198
|
"""
|
199
199
|
return pulumi.get(self, "num_nodes")
|
200
200
|
|
@@ -206,7 +206,7 @@ class InstanceClusterArgs:
|
|
206
206
|
@pulumi.getter
|
207
207
|
def state(self) -> Optional[pulumi.Input[str]]:
|
208
208
|
"""
|
209
|
-
|
209
|
+
describes the current state of the cluster.
|
210
210
|
"""
|
211
211
|
return pulumi.get(self, "state")
|
212
212
|
|
pulumi_gcp/bigtable/gc_policy.py
CHANGED
@@ -475,6 +475,10 @@ class GCPolicy(pulumi.CustomResource):
|
|
475
475
|
<!--End PulumiCodeChooser -->
|
476
476
|
This is equivalent to running the following `cbt` command:
|
477
477
|
|
478
|
+
## Import
|
479
|
+
|
480
|
+
This resource does not support import.
|
481
|
+
|
478
482
|
:param str resource_name: The name of the resource.
|
479
483
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
480
484
|
:param pulumi.Input[str] column_family: The name of the column family.
|
@@ -624,6 +628,10 @@ class GCPolicy(pulumi.CustomResource):
|
|
624
628
|
<!--End PulumiCodeChooser -->
|
625
629
|
This is equivalent to running the following `cbt` command:
|
626
630
|
|
631
|
+
## Import
|
632
|
+
|
633
|
+
This resource does not support import.
|
634
|
+
|
627
635
|
:param str resource_name: The name of the resource.
|
628
636
|
:param GCPolicyArgs args: The arguments to use to populate this resource's properties.
|
629
637
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
pulumi_gcp/bigtable/outputs.py
CHANGED
@@ -133,8 +133,8 @@ class InstanceCluster(dict):
|
|
133
133
|
`bigtable.Instance` resource. If these values are changing, use a new
|
134
134
|
`cluster_id`.
|
135
135
|
:param int num_nodes: The number of nodes in the cluster.
|
136
|
-
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50
|
137
|
-
:param str state:
|
136
|
+
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
|
137
|
+
:param str state: describes the current state of the cluster.
|
138
138
|
:param str storage_type: The storage type to use. One of `"SSD"` or
|
139
139
|
`"HDD"`. Defaults to `"SSD"`.
|
140
140
|
:param str zone: The zone to create the Cloud Bigtable cluster in. If it not
|
@@ -193,7 +193,7 @@ class InstanceCluster(dict):
|
|
193
193
|
def num_nodes(self) -> Optional[int]:
|
194
194
|
"""
|
195
195
|
The number of nodes in the cluster.
|
196
|
-
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50
|
196
|
+
If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
|
197
197
|
"""
|
198
198
|
return pulumi.get(self, "num_nodes")
|
199
199
|
|
@@ -201,7 +201,7 @@ class InstanceCluster(dict):
|
|
201
201
|
@pulumi.getter
|
202
202
|
def state(self) -> Optional[str]:
|
203
203
|
"""
|
204
|
-
|
204
|
+
describes the current state of the cluster.
|
205
205
|
"""
|
206
206
|
return pulumi.get(self, "state")
|
207
207
|
|
pulumi_gcp/billing/_inputs.py
CHANGED
@@ -199,7 +199,7 @@ class BudgetAmountArgs:
|
|
199
199
|
last_period_amount: Optional[pulumi.Input[bool]] = None,
|
200
200
|
specified_amount: Optional[pulumi.Input['BudgetAmountSpecifiedAmountArgs']] = None):
|
201
201
|
"""
|
202
|
-
:param pulumi.Input[bool] last_period_amount: Configures a budget amount that is automatically set to 100
|
202
|
+
:param pulumi.Input[bool] last_period_amount: Configures a budget amount that is automatically set to 100% of
|
203
203
|
last period's spend.
|
204
204
|
Boolean. Set value to true to use. Do not set to false, instead
|
205
205
|
use the `specified_amount` block.
|
@@ -217,7 +217,7 @@ class BudgetAmountArgs:
|
|
217
217
|
@pulumi.getter(name="lastPeriodAmount")
|
218
218
|
def last_period_amount(self) -> Optional[pulumi.Input[bool]]:
|
219
219
|
"""
|
220
|
-
Configures a budget amount that is automatically set to 100
|
220
|
+
Configures a budget amount that is automatically set to 100% of
|
221
221
|
last period's spend.
|
222
222
|
Boolean. Set value to true to use. Do not set to false, instead
|
223
223
|
use the `specified_amount` block.
|
@@ -687,7 +687,7 @@ class BudgetThresholdRuleArgs:
|
|
687
687
|
spend_basis: Optional[pulumi.Input[str]] = None):
|
688
688
|
"""
|
689
689
|
:param pulumi.Input[float] threshold_percent: Send an alert when this threshold is exceeded. This is a
|
690
|
-
1.0-based percentage, so 0.5 = 50
|
690
|
+
1.0-based percentage, so 0.5 = 50%. Must be >= 0.
|
691
691
|
:param pulumi.Input[str] spend_basis: The type of basis used to determine if spend has passed
|
692
692
|
the threshold.
|
693
693
|
Default value is `CURRENT_SPEND`.
|
@@ -702,7 +702,7 @@ class BudgetThresholdRuleArgs:
|
|
702
702
|
def threshold_percent(self) -> pulumi.Input[float]:
|
703
703
|
"""
|
704
704
|
Send an alert when this threshold is exceeded. This is a
|
705
|
-
1.0-based percentage, so 0.5 = 50
|
705
|
+
1.0-based percentage, so 0.5 = 50%. Must be >= 0.
|
706
706
|
"""
|
707
707
|
return pulumi.get(self, "threshold_percent")
|
708
708
|
|
pulumi_gcp/billing/outputs.py
CHANGED
@@ -202,7 +202,7 @@ class BudgetAmount(dict):
|
|
202
202
|
last_period_amount: Optional[bool] = None,
|
203
203
|
specified_amount: Optional['outputs.BudgetAmountSpecifiedAmount'] = None):
|
204
204
|
"""
|
205
|
-
:param bool last_period_amount: Configures a budget amount that is automatically set to 100
|
205
|
+
:param bool last_period_amount: Configures a budget amount that is automatically set to 100% of
|
206
206
|
last period's spend.
|
207
207
|
Boolean. Set value to true to use. Do not set to false, instead
|
208
208
|
use the `specified_amount` block.
|
@@ -220,7 +220,7 @@ class BudgetAmount(dict):
|
|
220
220
|
@pulumi.getter(name="lastPeriodAmount")
|
221
221
|
def last_period_amount(self) -> Optional[bool]:
|
222
222
|
"""
|
223
|
-
Configures a budget amount that is automatically set to 100
|
223
|
+
Configures a budget amount that is automatically set to 100% of
|
224
224
|
last period's spend.
|
225
225
|
Boolean. Set value to true to use. Do not set to false, instead
|
226
226
|
use the `specified_amount` block.
|
@@ -682,7 +682,7 @@ class BudgetThresholdRule(dict):
|
|
682
682
|
spend_basis: Optional[str] = None):
|
683
683
|
"""
|
684
684
|
:param float threshold_percent: Send an alert when this threshold is exceeded. This is a
|
685
|
-
1.0-based percentage, so 0.5 = 50
|
685
|
+
1.0-based percentage, so 0.5 = 50%. Must be >= 0.
|
686
686
|
:param str spend_basis: The type of basis used to determine if spend has passed
|
687
687
|
the threshold.
|
688
688
|
Default value is `CURRENT_SPEND`.
|
@@ -697,7 +697,7 @@ class BudgetThresholdRule(dict):
|
|
697
697
|
def threshold_percent(self) -> float:
|
698
698
|
"""
|
699
699
|
Send an alert when this threshold is exceeded. This is a
|
700
|
-
1.0-based percentage, so 0.5 = 50
|
700
|
+
1.0-based percentage, so 0.5 = 50%. Must be >= 0.
|
701
701
|
"""
|
702
702
|
return pulumi.get(self, "threshold_percent")
|
703
703
|
|
@@ -141,8 +141,8 @@ class ProjectInfo(pulumi.CustomResource):
|
|
141
141
|
import pulumi_gcp as gcp
|
142
142
|
|
143
143
|
project = gcp.organizations.Project("project",
|
144
|
-
project_id="tf-
|
145
|
-
name="tf-
|
144
|
+
project_id="tf-test_15222",
|
145
|
+
name="tf-test_81126",
|
146
146
|
org_id="123456789")
|
147
147
|
default = gcp.billing.ProjectInfo("default",
|
148
148
|
project=project.project_id,
|
@@ -204,8 +204,8 @@ class ProjectInfo(pulumi.CustomResource):
|
|
204
204
|
import pulumi_gcp as gcp
|
205
205
|
|
206
206
|
project = gcp.organizations.Project("project",
|
207
|
-
project_id="tf-
|
208
|
-
name="tf-
|
207
|
+
project_id="tf-test_15222",
|
208
|
+
name="tf-test_81126",
|
209
209
|
org_id="123456789")
|
210
210
|
default = gcp.billing.ProjectInfo("default",
|
211
211
|
project=project.project_id,
|
@@ -687,7 +687,7 @@ class FunctionServiceConfigArgs:
|
|
687
687
|
vpc_connector: Optional[pulumi.Input[str]] = None,
|
688
688
|
vpc_connector_egress_settings: Optional[pulumi.Input[str]] = None):
|
689
689
|
"""
|
690
|
-
:param pulumi.Input[bool] all_traffic_on_latest_revision: Whether 100
|
690
|
+
:param pulumi.Input[bool] all_traffic_on_latest_revision: Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
691
691
|
:param pulumi.Input[str] available_cpu: The number of CPUs used in a single container instance. Default value is calculated from available memory.
|
692
692
|
:param pulumi.Input[str] available_memory: The amount of memory available for a function.
|
693
693
|
Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
|
@@ -757,7 +757,7 @@ class FunctionServiceConfigArgs:
|
|
757
757
|
@pulumi.getter(name="allTrafficOnLatestRevision")
|
758
758
|
def all_traffic_on_latest_revision(self) -> Optional[pulumi.Input[bool]]:
|
759
759
|
"""
|
760
|
-
Whether 100
|
760
|
+
Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
761
761
|
"""
|
762
762
|
return pulumi.get(self, "all_traffic_on_latest_revision")
|
763
763
|
|
@@ -699,7 +699,7 @@ class FunctionServiceConfig(dict):
|
|
699
699
|
vpc_connector: Optional[str] = None,
|
700
700
|
vpc_connector_egress_settings: Optional[str] = None):
|
701
701
|
"""
|
702
|
-
:param bool all_traffic_on_latest_revision: Whether 100
|
702
|
+
:param bool all_traffic_on_latest_revision: Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
703
703
|
:param str available_cpu: The number of CPUs used in a single container instance. Default value is calculated from available memory.
|
704
704
|
:param str available_memory: The amount of memory available for a function.
|
705
705
|
Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
|
@@ -769,7 +769,7 @@ class FunctionServiceConfig(dict):
|
|
769
769
|
@pulumi.getter(name="allTrafficOnLatestRevision")
|
770
770
|
def all_traffic_on_latest_revision(self) -> Optional[bool]:
|
771
771
|
"""
|
772
|
-
Whether 100
|
772
|
+
Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
773
773
|
"""
|
774
774
|
return pulumi.get(self, "all_traffic_on_latest_revision")
|
775
775
|
|
@@ -1513,7 +1513,7 @@ class GetFunctionServiceConfigResult(dict):
|
|
1513
1513
|
vpc_connector: str,
|
1514
1514
|
vpc_connector_egress_settings: str):
|
1515
1515
|
"""
|
1516
|
-
:param bool all_traffic_on_latest_revision: Whether 100
|
1516
|
+
:param bool all_traffic_on_latest_revision: Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
1517
1517
|
:param str available_cpu: The number of CPUs used in a single container instance. Default value is calculated from available memory.
|
1518
1518
|
:param str available_memory: The amount of memory available for a function.
|
1519
1519
|
Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
|
@@ -1559,7 +1559,7 @@ class GetFunctionServiceConfigResult(dict):
|
|
1559
1559
|
@pulumi.getter(name="allTrafficOnLatestRevision")
|
1560
1560
|
def all_traffic_on_latest_revision(self) -> bool:
|
1561
1561
|
"""
|
1562
|
-
Whether 100
|
1562
|
+
Whether 100% of traffic is routed to the latest revision. Defaults to true.
|
1563
1563
|
"""
|
1564
1564
|
return pulumi.get(self, "all_traffic_on_latest_revision")
|
1565
1565
|
|