pulumi-gcp 7.17.0a1712402830__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.
Files changed (55) hide show
  1. pulumi_gcp/__init__.py +27 -0
  2. pulumi_gcp/apphub/__init__.py +1 -0
  3. pulumi_gcp/apphub/get_application.py +220 -0
  4. pulumi_gcp/apphub/outputs.py +214 -0
  5. pulumi_gcp/applicationintegration/__init__.py +10 -0
  6. pulumi_gcp/applicationintegration/_inputs.py +119 -0
  7. pulumi_gcp/applicationintegration/client.py +566 -0
  8. pulumi_gcp/applicationintegration/outputs.py +122 -0
  9. pulumi_gcp/bigquery/_inputs.py +16 -0
  10. pulumi_gcp/bigquery/outputs.py +14 -0
  11. pulumi_gcp/bigquery/routine.py +98 -0
  12. pulumi_gcp/billing/project_info.py +4 -4
  13. pulumi_gcp/cloudquota/__init__.py +2 -0
  14. pulumi_gcp/cloudquota/_inputs.py +131 -0
  15. pulumi_gcp/cloudquota/outputs.py +118 -0
  16. pulumi_gcp/cloudquota/s_quota_preference.py +777 -0
  17. pulumi_gcp/compute/interconnect_attachment.py +64 -0
  18. pulumi_gcp/compute/network_endpoint.py +8 -0
  19. pulumi_gcp/compute/network_endpoint_list.py +8 -0
  20. pulumi_gcp/compute/region_backend_service.py +28 -0
  21. pulumi_gcp/compute/target_instance.py +4 -4
  22. pulumi_gcp/config/__init__.pyi +2 -0
  23. pulumi_gcp/config/vars.py +4 -0
  24. pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
  25. pulumi_gcp/dataflow/flex_template_job.py +84 -112
  26. pulumi_gcp/dataplex/task.py +16 -16
  27. pulumi_gcp/dataproc/_inputs.py +71 -0
  28. pulumi_gcp/dataproc/get_metastore_service.py +11 -1
  29. pulumi_gcp/dataproc/metastore_service.py +120 -0
  30. pulumi_gcp/dataproc/outputs.py +128 -0
  31. pulumi_gcp/firebase/app_check_service_config.py +2 -2
  32. pulumi_gcp/firestore/backup_schedule.py +14 -14
  33. pulumi_gcp/firestore/field.py +4 -4
  34. pulumi_gcp/gkehub/membership_binding.py +6 -6
  35. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  36. pulumi_gcp/gkehub/namespace.py +4 -4
  37. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  38. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  39. pulumi_gcp/kms/_inputs.py +46 -0
  40. pulumi_gcp/kms/crypto_key.py +54 -0
  41. pulumi_gcp/kms/crypto_key_version.py +54 -0
  42. pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
  43. pulumi_gcp/kms/outputs.py +54 -0
  44. pulumi_gcp/orgpolicy/policy.py +2 -2
  45. pulumi_gcp/provider.py +20 -0
  46. pulumi_gcp/pubsub/subscription.py +4 -4
  47. pulumi_gcp/vertex/__init__.py +1 -0
  48. pulumi_gcp/vertex/_inputs.py +169 -0
  49. pulumi_gcp/vertex/ai_deployment_resource_pool.py +477 -0
  50. pulumi_gcp/vertex/outputs.py +194 -0
  51. pulumi_gcp/vpcaccess/connector.py +77 -28
  52. {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/METADATA +1 -1
  53. {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/RECORD +55 -47
  54. {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/WHEEL +0 -0
  55. {pulumi_gcp-7.17.0a1712402830.dist-info → pulumi_gcp-7.17.0a1712602552.dist-info}/top_level.txt +0 -0
@@ -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']]:
@@ -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']:
@@ -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]:
@@ -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-test_77884",
145
- name="tf-test_15222",
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-test_77884",
208
- name="tf-test_15222",
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,
@@ -7,4 +7,6 @@ import typing
7
7
  # Export this package's modules as members:
8
8
  from .get_s_quota_info import *
9
9
  from .get_s_quota_infos import *
10
+ from .s_quota_preference import *
11
+ from ._inputs import *
10
12
  from . import outputs
@@ -0,0 +1,131 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+
12
+ __all__ = [
13
+ 'SQuotaPreferenceQuotaConfigArgs',
14
+ ]
15
+
16
+ @pulumi.input_type
17
+ class SQuotaPreferenceQuotaConfigArgs:
18
+ def __init__(__self__, *,
19
+ preferred_value: pulumi.Input[str],
20
+ annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
21
+ granted_value: Optional[pulumi.Input[str]] = None,
22
+ request_origin: Optional[pulumi.Input[str]] = None,
23
+ state_detail: Optional[pulumi.Input[str]] = None,
24
+ trace_id: Optional[pulumi.Input[str]] = None):
25
+ """
26
+ :param pulumi.Input[str] preferred_value: The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
27
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations.
28
+ An object containing a list of "key: value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
29
+ :param pulumi.Input[str] granted_value: (Output)
30
+ Granted quota value.
31
+ :param pulumi.Input[str] request_origin: (Output)
32
+ The origin of the quota preference request.
33
+
34
+ - - -
35
+ :param pulumi.Input[str] state_detail: (Output)
36
+ Optional details about the state of this quota preference.
37
+ :param pulumi.Input[str] trace_id: (Output)
38
+ The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.
39
+ """
40
+ pulumi.set(__self__, "preferred_value", preferred_value)
41
+ if annotations is not None:
42
+ pulumi.set(__self__, "annotations", annotations)
43
+ if granted_value is not None:
44
+ pulumi.set(__self__, "granted_value", granted_value)
45
+ if request_origin is not None:
46
+ pulumi.set(__self__, "request_origin", request_origin)
47
+ if state_detail is not None:
48
+ pulumi.set(__self__, "state_detail", state_detail)
49
+ if trace_id is not None:
50
+ pulumi.set(__self__, "trace_id", trace_id)
51
+
52
+ @property
53
+ @pulumi.getter(name="preferredValue")
54
+ def preferred_value(self) -> pulumi.Input[str]:
55
+ """
56
+ The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
57
+ """
58
+ return pulumi.get(self, "preferred_value")
59
+
60
+ @preferred_value.setter
61
+ def preferred_value(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "preferred_value", value)
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
67
+ """
68
+ The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations.
69
+ An object containing a list of "key: value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
70
+ """
71
+ return pulumi.get(self, "annotations")
72
+
73
+ @annotations.setter
74
+ def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
75
+ pulumi.set(self, "annotations", value)
76
+
77
+ @property
78
+ @pulumi.getter(name="grantedValue")
79
+ def granted_value(self) -> Optional[pulumi.Input[str]]:
80
+ """
81
+ (Output)
82
+ Granted quota value.
83
+ """
84
+ return pulumi.get(self, "granted_value")
85
+
86
+ @granted_value.setter
87
+ def granted_value(self, value: Optional[pulumi.Input[str]]):
88
+ pulumi.set(self, "granted_value", value)
89
+
90
+ @property
91
+ @pulumi.getter(name="requestOrigin")
92
+ def request_origin(self) -> Optional[pulumi.Input[str]]:
93
+ """
94
+ (Output)
95
+ The origin of the quota preference request.
96
+
97
+ - - -
98
+ """
99
+ return pulumi.get(self, "request_origin")
100
+
101
+ @request_origin.setter
102
+ def request_origin(self, value: Optional[pulumi.Input[str]]):
103
+ pulumi.set(self, "request_origin", value)
104
+
105
+ @property
106
+ @pulumi.getter(name="stateDetail")
107
+ def state_detail(self) -> Optional[pulumi.Input[str]]:
108
+ """
109
+ (Output)
110
+ Optional details about the state of this quota preference.
111
+ """
112
+ return pulumi.get(self, "state_detail")
113
+
114
+ @state_detail.setter
115
+ def state_detail(self, value: Optional[pulumi.Input[str]]):
116
+ pulumi.set(self, "state_detail", value)
117
+
118
+ @property
119
+ @pulumi.getter(name="traceId")
120
+ def trace_id(self) -> Optional[pulumi.Input[str]]:
121
+ """
122
+ (Output)
123
+ The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.
124
+ """
125
+ return pulumi.get(self, "trace_id")
126
+
127
+ @trace_id.setter
128
+ def trace_id(self, value: Optional[pulumi.Input[str]]):
129
+ pulumi.set(self, "trace_id", value)
130
+
131
+
@@ -11,6 +11,7 @@ from .. import _utilities
11
11
  from . import outputs
12
12
 
13
13
  __all__ = [
14
+ 'SQuotaPreferenceQuotaConfig',
14
15
  'GetSQuotaInfoDimensionsInfoResult',
15
16
  'GetSQuotaInfoDimensionsInfoDetailResult',
16
17
  'GetSQuotaInfoQuotaIncreaseEligibilityResult',
@@ -20,6 +21,123 @@ __all__ = [
20
21
  'GetSQuotaInfosQuotaInfoQuotaIncreaseEligibilityResult',
21
22
  ]
22
23
 
24
+ @pulumi.output_type
25
+ class SQuotaPreferenceQuotaConfig(dict):
26
+ @staticmethod
27
+ def __key_warning(key: str):
28
+ suggest = None
29
+ if key == "preferredValue":
30
+ suggest = "preferred_value"
31
+ elif key == "grantedValue":
32
+ suggest = "granted_value"
33
+ elif key == "requestOrigin":
34
+ suggest = "request_origin"
35
+ elif key == "stateDetail":
36
+ suggest = "state_detail"
37
+ elif key == "traceId":
38
+ suggest = "trace_id"
39
+
40
+ if suggest:
41
+ pulumi.log.warn(f"Key '{key}' not found in SQuotaPreferenceQuotaConfig. Access the value via the '{suggest}' property getter instead.")
42
+
43
+ def __getitem__(self, key: str) -> Any:
44
+ SQuotaPreferenceQuotaConfig.__key_warning(key)
45
+ return super().__getitem__(key)
46
+
47
+ def get(self, key: str, default = None) -> Any:
48
+ SQuotaPreferenceQuotaConfig.__key_warning(key)
49
+ return super().get(key, default)
50
+
51
+ def __init__(__self__, *,
52
+ preferred_value: str,
53
+ annotations: Optional[Mapping[str, str]] = None,
54
+ granted_value: Optional[str] = None,
55
+ request_origin: Optional[str] = None,
56
+ state_detail: Optional[str] = None,
57
+ trace_id: Optional[str] = None):
58
+ """
59
+ :param str preferred_value: The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
60
+ :param Mapping[str, str] annotations: The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations.
61
+ An object containing a list of "key: value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
62
+ :param str granted_value: (Output)
63
+ Granted quota value.
64
+ :param str request_origin: (Output)
65
+ The origin of the quota preference request.
66
+
67
+ - - -
68
+ :param str state_detail: (Output)
69
+ Optional details about the state of this quota preference.
70
+ :param str trace_id: (Output)
71
+ The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.
72
+ """
73
+ pulumi.set(__self__, "preferred_value", preferred_value)
74
+ if annotations is not None:
75
+ pulumi.set(__self__, "annotations", annotations)
76
+ if granted_value is not None:
77
+ pulumi.set(__self__, "granted_value", granted_value)
78
+ if request_origin is not None:
79
+ pulumi.set(__self__, "request_origin", request_origin)
80
+ if state_detail is not None:
81
+ pulumi.set(__self__, "state_detail", state_detail)
82
+ if trace_id is not None:
83
+ pulumi.set(__self__, "trace_id", trace_id)
84
+
85
+ @property
86
+ @pulumi.getter(name="preferredValue")
87
+ def preferred_value(self) -> str:
88
+ """
89
+ The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
90
+ """
91
+ return pulumi.get(self, "preferred_value")
92
+
93
+ @property
94
+ @pulumi.getter
95
+ def annotations(self) -> Optional[Mapping[str, str]]:
96
+ """
97
+ The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations.
98
+ An object containing a list of "key: value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
99
+ """
100
+ return pulumi.get(self, "annotations")
101
+
102
+ @property
103
+ @pulumi.getter(name="grantedValue")
104
+ def granted_value(self) -> Optional[str]:
105
+ """
106
+ (Output)
107
+ Granted quota value.
108
+ """
109
+ return pulumi.get(self, "granted_value")
110
+
111
+ @property
112
+ @pulumi.getter(name="requestOrigin")
113
+ def request_origin(self) -> Optional[str]:
114
+ """
115
+ (Output)
116
+ The origin of the quota preference request.
117
+
118
+ - - -
119
+ """
120
+ return pulumi.get(self, "request_origin")
121
+
122
+ @property
123
+ @pulumi.getter(name="stateDetail")
124
+ def state_detail(self) -> Optional[str]:
125
+ """
126
+ (Output)
127
+ Optional details about the state of this quota preference.
128
+ """
129
+ return pulumi.get(self, "state_detail")
130
+
131
+ @property
132
+ @pulumi.getter(name="traceId")
133
+ def trace_id(self) -> Optional[str]:
134
+ """
135
+ (Output)
136
+ The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.
137
+ """
138
+ return pulumi.get(self, "trace_id")
139
+
140
+
23
141
  @pulumi.output_type
24
142
  class GetSQuotaInfoDimensionsInfoResult(dict):
25
143
  def __init__(__self__, *,