pulumi-gcp 8.39.0a1752821510__py3-none-any.whl → 8.39.0a1753206228__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 (36) hide show
  1. pulumi_gcp/__init__.py +16 -0
  2. pulumi_gcp/apigee/_inputs.py +62 -0
  3. pulumi_gcp/apigee/instance.py +63 -0
  4. pulumi_gcp/apigee/outputs.py +37 -0
  5. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  6. pulumi_gcp/backupdisasterrecovery/service_config.py +297 -0
  7. pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
  8. pulumi_gcp/bigqueryanalyticshub/_inputs.py +355 -0
  9. pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +1082 -0
  10. pulumi_gcp/bigqueryanalyticshub/listing.py +116 -0
  11. pulumi_gcp/bigqueryanalyticshub/outputs.py +287 -0
  12. pulumi_gcp/compute/__init__.py +1 -0
  13. pulumi_gcp/compute/_inputs.py +699 -19
  14. pulumi_gcp/compute/firewall.py +54 -0
  15. pulumi_gcp/compute/future_reservation.py +124 -0
  16. pulumi_gcp/compute/get_network_attachment.py +288 -0
  17. pulumi_gcp/compute/get_region_disk.py +23 -1
  18. pulumi_gcp/compute/get_reservation.py +45 -1
  19. pulumi_gcp/compute/interconnect.py +108 -0
  20. pulumi_gcp/compute/outputs.py +734 -15
  21. pulumi_gcp/compute/region_disk.py +115 -0
  22. pulumi_gcp/compute/reservation.py +449 -0
  23. pulumi_gcp/firebase/hosting_site.py +50 -2
  24. pulumi_gcp/firestore/__init__.py +1 -0
  25. pulumi_gcp/firestore/database.py +117 -1
  26. pulumi_gcp/firestore/get_document.py +234 -0
  27. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +12 -0
  28. pulumi_gcp/networksecurity/backend_authentication_config.py +12 -0
  29. pulumi_gcp/pulumi-plugin.json +1 -1
  30. pulumi_gcp/storage/bucket_object.py +47 -0
  31. pulumi_gcp/storage/get_bucket_object.py +12 -1
  32. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  33. {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/METADATA +1 -1
  34. {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/RECORD +36 -32
  35. {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/WHEEL +0 -0
  36. {pulumi_gcp-8.39.0a1752821510.dist-info → pulumi_gcp-8.39.0a1753206228.dist-info}/top_level.txt +0 -0
@@ -816,6 +816,64 @@ class Listing(pulumi.CustomResource):
816
816
  ],
817
817
  })
818
818
  ```
819
+ ### Bigquery Analyticshub Listing Dcr Routine
820
+
821
+ ```python
822
+ import pulumi
823
+ import json
824
+ import pulumi_gcp as gcp
825
+
826
+ dcr_data_exchange_example = gcp.bigqueryanalyticshub.DataExchange("dcr_data_exchange_example",
827
+ location="us",
828
+ data_exchange_id="tf_test_data_exchange",
829
+ display_name="tf_test_data_exchange",
830
+ description="Example for listing with routine",
831
+ sharing_environment_config={
832
+ "dcr_exchange_config": {},
833
+ })
834
+ listing = gcp.bigquery.Dataset("listing",
835
+ dataset_id="tf_test_dataset",
836
+ friendly_name="tf_test_dataset",
837
+ description="Example for listing with routine",
838
+ location="us")
839
+ listing_routine = gcp.bigquery.Routine("listing",
840
+ dataset_id=listing.dataset_id,
841
+ routine_id="tf_test_routine",
842
+ routine_type="TABLE_VALUED_FUNCTION",
843
+ language="SQL",
844
+ description="A DCR routine example.",
845
+ definition_body="SELECT 1 + value AS value\\n",
846
+ arguments=[{
847
+ "name": "value",
848
+ "argument_kind": "FIXED_TYPE",
849
+ "data_type": json.dumps({
850
+ "typeKind": "INT64",
851
+ }),
852
+ }],
853
+ return_table_type=json.dumps({
854
+ "columns": [{
855
+ "name": "value",
856
+ "type": {
857
+ "typeKind": "INT64",
858
+ },
859
+ }],
860
+ }))
861
+ listing_listing = gcp.bigqueryanalyticshub.Listing("listing",
862
+ location="US",
863
+ data_exchange_id=dcr_data_exchange_example.data_exchange_id,
864
+ listing_id="tf_test_listing_routine",
865
+ display_name="tf_test_listing_routine",
866
+ description="Example for listing with routine",
867
+ bigquery_dataset={
868
+ "dataset": listing.id,
869
+ "selected_resources": [{
870
+ "routine": listing_routine.id,
871
+ }],
872
+ },
873
+ restricted_export_config={
874
+ "enabled": True,
875
+ })
876
+ ```
819
877
 
820
878
  ## Import
821
879
 
@@ -1050,6 +1108,64 @@ class Listing(pulumi.CustomResource):
1050
1108
  ],
1051
1109
  })
1052
1110
  ```
1111
+ ### Bigquery Analyticshub Listing Dcr Routine
1112
+
1113
+ ```python
1114
+ import pulumi
1115
+ import json
1116
+ import pulumi_gcp as gcp
1117
+
1118
+ dcr_data_exchange_example = gcp.bigqueryanalyticshub.DataExchange("dcr_data_exchange_example",
1119
+ location="us",
1120
+ data_exchange_id="tf_test_data_exchange",
1121
+ display_name="tf_test_data_exchange",
1122
+ description="Example for listing with routine",
1123
+ sharing_environment_config={
1124
+ "dcr_exchange_config": {},
1125
+ })
1126
+ listing = gcp.bigquery.Dataset("listing",
1127
+ dataset_id="tf_test_dataset",
1128
+ friendly_name="tf_test_dataset",
1129
+ description="Example for listing with routine",
1130
+ location="us")
1131
+ listing_routine = gcp.bigquery.Routine("listing",
1132
+ dataset_id=listing.dataset_id,
1133
+ routine_id="tf_test_routine",
1134
+ routine_type="TABLE_VALUED_FUNCTION",
1135
+ language="SQL",
1136
+ description="A DCR routine example.",
1137
+ definition_body="SELECT 1 + value AS value\\n",
1138
+ arguments=[{
1139
+ "name": "value",
1140
+ "argument_kind": "FIXED_TYPE",
1141
+ "data_type": json.dumps({
1142
+ "typeKind": "INT64",
1143
+ }),
1144
+ }],
1145
+ return_table_type=json.dumps({
1146
+ "columns": [{
1147
+ "name": "value",
1148
+ "type": {
1149
+ "typeKind": "INT64",
1150
+ },
1151
+ }],
1152
+ }))
1153
+ listing_listing = gcp.bigqueryanalyticshub.Listing("listing",
1154
+ location="US",
1155
+ data_exchange_id=dcr_data_exchange_example.data_exchange_id,
1156
+ listing_id="tf_test_listing_routine",
1157
+ display_name="tf_test_listing_routine",
1158
+ description="Example for listing with routine",
1159
+ bigquery_dataset={
1160
+ "dataset": listing.id,
1161
+ "selected_resources": [{
1162
+ "routine": listing_routine.id,
1163
+ }],
1164
+ },
1165
+ restricted_export_config={
1166
+ "enabled": True,
1167
+ })
1168
+ ```
1053
1169
 
1054
1170
  ## Import
1055
1171
 
@@ -22,6 +22,10 @@ __all__ = [
22
22
  'DataExchangeSharingEnvironmentConfig',
23
23
  'DataExchangeSharingEnvironmentConfigDcrExchangeConfig',
24
24
  'DataExchangeSharingEnvironmentConfigDefaultExchangeConfig',
25
+ 'DataExchangeSubscriptionDestinationDataset',
26
+ 'DataExchangeSubscriptionDestinationDatasetDatasetReference',
27
+ 'DataExchangeSubscriptionLinkedDatasetMap',
28
+ 'DataExchangeSubscriptionLinkedResource',
25
29
  'ListingBigqueryDataset',
26
30
  'ListingBigqueryDatasetSelectedResource',
27
31
  'ListingDataProvider',
@@ -152,6 +156,277 @@ class DataExchangeSharingEnvironmentConfigDefaultExchangeConfig(dict):
152
156
  pass
153
157
 
154
158
 
159
+ @pulumi.output_type
160
+ class DataExchangeSubscriptionDestinationDataset(dict):
161
+ @staticmethod
162
+ def __key_warning(key: str):
163
+ suggest = None
164
+ if key == "datasetReference":
165
+ suggest = "dataset_reference"
166
+ elif key == "friendlyName":
167
+ suggest = "friendly_name"
168
+
169
+ if suggest:
170
+ pulumi.log.warn(f"Key '{key}' not found in DataExchangeSubscriptionDestinationDataset. Access the value via the '{suggest}' property getter instead.")
171
+
172
+ def __getitem__(self, key: str) -> Any:
173
+ DataExchangeSubscriptionDestinationDataset.__key_warning(key)
174
+ return super().__getitem__(key)
175
+
176
+ def get(self, key: str, default = None) -> Any:
177
+ DataExchangeSubscriptionDestinationDataset.__key_warning(key)
178
+ return super().get(key, default)
179
+
180
+ def __init__(__self__, *,
181
+ dataset_reference: 'outputs.DataExchangeSubscriptionDestinationDatasetDatasetReference',
182
+ location: builtins.str,
183
+ description: Optional[builtins.str] = None,
184
+ friendly_name: Optional[builtins.str] = None,
185
+ labels: Optional[Mapping[str, builtins.str]] = None):
186
+ """
187
+ :param 'DataExchangeSubscriptionDestinationDatasetDatasetReferenceArgs' dataset_reference: A reference that identifies the destination dataset.
188
+ Structure is documented below.
189
+ :param builtins.str location: The geographic location where the dataset should reside.
190
+ See https://cloud.google.com/bigquery/docs/locations for supported locations.
191
+ :param builtins.str description: A user-friendly description of the dataset.
192
+ :param builtins.str friendly_name: A descriptive name for the dataset.
193
+ :param Mapping[str, builtins.str] labels: The labels associated with this dataset. You can use these to
194
+ organize and group your datasets.
195
+ """
196
+ pulumi.set(__self__, "dataset_reference", dataset_reference)
197
+ pulumi.set(__self__, "location", location)
198
+ if description is not None:
199
+ pulumi.set(__self__, "description", description)
200
+ if friendly_name is not None:
201
+ pulumi.set(__self__, "friendly_name", friendly_name)
202
+ if labels is not None:
203
+ pulumi.set(__self__, "labels", labels)
204
+
205
+ @property
206
+ @pulumi.getter(name="datasetReference")
207
+ def dataset_reference(self) -> 'outputs.DataExchangeSubscriptionDestinationDatasetDatasetReference':
208
+ """
209
+ A reference that identifies the destination dataset.
210
+ Structure is documented below.
211
+ """
212
+ return pulumi.get(self, "dataset_reference")
213
+
214
+ @property
215
+ @pulumi.getter
216
+ def location(self) -> builtins.str:
217
+ """
218
+ The geographic location where the dataset should reside.
219
+ See https://cloud.google.com/bigquery/docs/locations for supported locations.
220
+ """
221
+ return pulumi.get(self, "location")
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def description(self) -> Optional[builtins.str]:
226
+ """
227
+ A user-friendly description of the dataset.
228
+ """
229
+ return pulumi.get(self, "description")
230
+
231
+ @property
232
+ @pulumi.getter(name="friendlyName")
233
+ def friendly_name(self) -> Optional[builtins.str]:
234
+ """
235
+ A descriptive name for the dataset.
236
+ """
237
+ return pulumi.get(self, "friendly_name")
238
+
239
+ @property
240
+ @pulumi.getter
241
+ def labels(self) -> Optional[Mapping[str, builtins.str]]:
242
+ """
243
+ The labels associated with this dataset. You can use these to
244
+ organize and group your datasets.
245
+ """
246
+ return pulumi.get(self, "labels")
247
+
248
+
249
+ @pulumi.output_type
250
+ class DataExchangeSubscriptionDestinationDatasetDatasetReference(dict):
251
+ @staticmethod
252
+ def __key_warning(key: str):
253
+ suggest = None
254
+ if key == "datasetId":
255
+ suggest = "dataset_id"
256
+ elif key == "projectId":
257
+ suggest = "project_id"
258
+
259
+ if suggest:
260
+ pulumi.log.warn(f"Key '{key}' not found in DataExchangeSubscriptionDestinationDatasetDatasetReference. Access the value via the '{suggest}' property getter instead.")
261
+
262
+ def __getitem__(self, key: str) -> Any:
263
+ DataExchangeSubscriptionDestinationDatasetDatasetReference.__key_warning(key)
264
+ return super().__getitem__(key)
265
+
266
+ def get(self, key: str, default = None) -> Any:
267
+ DataExchangeSubscriptionDestinationDatasetDatasetReference.__key_warning(key)
268
+ return super().get(key, default)
269
+
270
+ def __init__(__self__, *,
271
+ dataset_id: builtins.str,
272
+ project_id: builtins.str):
273
+ """
274
+ :param builtins.str dataset_id: A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
275
+ :param builtins.str project_id: The ID of the project containing this dataset.
276
+ """
277
+ pulumi.set(__self__, "dataset_id", dataset_id)
278
+ pulumi.set(__self__, "project_id", project_id)
279
+
280
+ @property
281
+ @pulumi.getter(name="datasetId")
282
+ def dataset_id(self) -> builtins.str:
283
+ """
284
+ A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
285
+ """
286
+ return pulumi.get(self, "dataset_id")
287
+
288
+ @property
289
+ @pulumi.getter(name="projectId")
290
+ def project_id(self) -> builtins.str:
291
+ """
292
+ The ID of the project containing this dataset.
293
+ """
294
+ return pulumi.get(self, "project_id")
295
+
296
+
297
+ @pulumi.output_type
298
+ class DataExchangeSubscriptionLinkedDatasetMap(dict):
299
+ @staticmethod
300
+ def __key_warning(key: str):
301
+ suggest = None
302
+ if key == "resourceName":
303
+ suggest = "resource_name"
304
+ elif key == "linkedDataset":
305
+ suggest = "linked_dataset"
306
+ elif key == "linkedPubsubSubscription":
307
+ suggest = "linked_pubsub_subscription"
308
+
309
+ if suggest:
310
+ pulumi.log.warn(f"Key '{key}' not found in DataExchangeSubscriptionLinkedDatasetMap. Access the value via the '{suggest}' property getter instead.")
311
+
312
+ def __getitem__(self, key: str) -> Any:
313
+ DataExchangeSubscriptionLinkedDatasetMap.__key_warning(key)
314
+ return super().__getitem__(key)
315
+
316
+ def get(self, key: str, default = None) -> Any:
317
+ DataExchangeSubscriptionLinkedDatasetMap.__key_warning(key)
318
+ return super().get(key, default)
319
+
320
+ def __init__(__self__, *,
321
+ resource_name: builtins.str,
322
+ linked_dataset: Optional[builtins.str] = None,
323
+ linked_pubsub_subscription: Optional[builtins.str] = None,
324
+ listing: Optional[builtins.str] = None):
325
+ """
326
+ :param builtins.str resource_name: (Required) The identifier for this object. Format specified above.
327
+ :param builtins.str linked_dataset: (Output)
328
+ Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linkedDataset
329
+ :param builtins.str linked_pubsub_subscription: (Output)
330
+ Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id
331
+ :param builtins.str listing: (Output)
332
+ Output only. Listing for which linked resource is created.
333
+ """
334
+ pulumi.set(__self__, "resource_name", resource_name)
335
+ if linked_dataset is not None:
336
+ pulumi.set(__self__, "linked_dataset", linked_dataset)
337
+ if linked_pubsub_subscription is not None:
338
+ pulumi.set(__self__, "linked_pubsub_subscription", linked_pubsub_subscription)
339
+ if listing is not None:
340
+ pulumi.set(__self__, "listing", listing)
341
+
342
+ @property
343
+ @pulumi.getter(name="resourceName")
344
+ def resource_name(self) -> builtins.str:
345
+ """
346
+ (Required) The identifier for this object. Format specified above.
347
+ """
348
+ return pulumi.get(self, "resource_name")
349
+
350
+ @property
351
+ @pulumi.getter(name="linkedDataset")
352
+ def linked_dataset(self) -> Optional[builtins.str]:
353
+ """
354
+ (Output)
355
+ Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linkedDataset
356
+ """
357
+ return pulumi.get(self, "linked_dataset")
358
+
359
+ @property
360
+ @pulumi.getter(name="linkedPubsubSubscription")
361
+ def linked_pubsub_subscription(self) -> Optional[builtins.str]:
362
+ """
363
+ (Output)
364
+ Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id
365
+ """
366
+ return pulumi.get(self, "linked_pubsub_subscription")
367
+
368
+ @property
369
+ @pulumi.getter
370
+ def listing(self) -> Optional[builtins.str]:
371
+ """
372
+ (Output)
373
+ Output only. Listing for which linked resource is created.
374
+ """
375
+ return pulumi.get(self, "listing")
376
+
377
+
378
+ @pulumi.output_type
379
+ class DataExchangeSubscriptionLinkedResource(dict):
380
+ @staticmethod
381
+ def __key_warning(key: str):
382
+ suggest = None
383
+ if key == "linkedDataset":
384
+ suggest = "linked_dataset"
385
+
386
+ if suggest:
387
+ pulumi.log.warn(f"Key '{key}' not found in DataExchangeSubscriptionLinkedResource. Access the value via the '{suggest}' property getter instead.")
388
+
389
+ def __getitem__(self, key: str) -> Any:
390
+ DataExchangeSubscriptionLinkedResource.__key_warning(key)
391
+ return super().__getitem__(key)
392
+
393
+ def get(self, key: str, default = None) -> Any:
394
+ DataExchangeSubscriptionLinkedResource.__key_warning(key)
395
+ return super().get(key, default)
396
+
397
+ def __init__(__self__, *,
398
+ linked_dataset: Optional[builtins.str] = None,
399
+ listing: Optional[builtins.str] = None):
400
+ """
401
+ :param builtins.str linked_dataset: (Output)
402
+ Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linkedDataset
403
+ :param builtins.str listing: (Output)
404
+ Output only. Listing for which linked resource is created.
405
+ """
406
+ if linked_dataset is not None:
407
+ pulumi.set(__self__, "linked_dataset", linked_dataset)
408
+ if listing is not None:
409
+ pulumi.set(__self__, "listing", listing)
410
+
411
+ @property
412
+ @pulumi.getter(name="linkedDataset")
413
+ def linked_dataset(self) -> Optional[builtins.str]:
414
+ """
415
+ (Output)
416
+ Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linkedDataset
417
+ """
418
+ return pulumi.get(self, "linked_dataset")
419
+
420
+ @property
421
+ @pulumi.getter
422
+ def listing(self) -> Optional[builtins.str]:
423
+ """
424
+ (Output)
425
+ Output only. Listing for which linked resource is created.
426
+ """
427
+ return pulumi.get(self, "listing")
428
+
429
+
155
430
  @pulumi.output_type
156
431
  class ListingBigqueryDataset(dict):
157
432
  @staticmethod
@@ -204,13 +479,25 @@ class ListingBigqueryDataset(dict):
204
479
  @pulumi.output_type
205
480
  class ListingBigqueryDatasetSelectedResource(dict):
206
481
  def __init__(__self__, *,
482
+ routine: Optional[builtins.str] = None,
207
483
  table: Optional[builtins.str] = None):
208
484
  """
485
+ :param builtins.str routine: Format: For routine: projects/{projectId}/datasets/{datasetId}/routines/{routineId} Example:"projects/test_project/datasets/test_dataset/routines/test_routine"
209
486
  :param builtins.str table: Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"
210
487
  """
488
+ if routine is not None:
489
+ pulumi.set(__self__, "routine", routine)
211
490
  if table is not None:
212
491
  pulumi.set(__self__, "table", table)
213
492
 
493
+ @property
494
+ @pulumi.getter
495
+ def routine(self) -> Optional[builtins.str]:
496
+ """
497
+ Format: For routine: projects/{projectId}/datasets/{datasetId}/routines/{routineId} Example:"projects/test_project/datasets/test_dataset/routines/test_routine"
498
+ """
499
+ return pulumi.get(self, "routine")
500
+
214
501
  @property
215
502
  @pulumi.getter
216
503
  def table(self) -> Optional[builtins.str]:
@@ -68,6 +68,7 @@ from .get_machine_image_iam_policy import *
68
68
  from .get_machine_types import *
69
69
  from .get_netblock_ip_ranges import *
70
70
  from .get_network import *
71
+ from .get_network_attachment import *
71
72
  from .get_network_endpoint_group import *
72
73
  from .get_network_peering import *
73
74
  from .get_networks import *