pulumi-gcp 8.1.0__py3-none-any.whl → 8.1.0a1726293903__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 +0 -24
- pulumi_gcp/alloydb/_inputs.py +0 -94
- pulumi_gcp/alloydb/cluster.py +1 -94
- pulumi_gcp/alloydb/outputs.py +0 -79
- pulumi_gcp/assuredworkloads/workload.py +16 -135
- pulumi_gcp/backupdisasterrecovery/__init__.py +0 -1
- pulumi_gcp/bigquery/_inputs.py +0 -33
- pulumi_gcp/bigquery/data_transfer_config.py +6 -134
- pulumi_gcp/bigquery/outputs.py +0 -36
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +7 -169
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +3 -96
- pulumi_gcp/bigqueryanalyticshub/listing.py +0 -114
- pulumi_gcp/bigqueryanalyticshub/outputs.py +5 -138
- pulumi_gcp/bigtable/_inputs.py +1 -21
- pulumi_gcp/bigtable/outputs.py +1 -13
- pulumi_gcp/bigtable/table.py +0 -34
- pulumi_gcp/certificateauthority/authority.py +7 -14
- pulumi_gcp/certificatemanager/__init__.py +0 -1
- pulumi_gcp/certificatemanager/certificate.py +0 -28
- pulumi_gcp/certificatemanager/outputs.py +0 -322
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +12 -6
- pulumi_gcp/cloudrun/outputs.py +16 -8
- pulumi_gcp/cloudrunv2/_inputs.py +15 -72
- pulumi_gcp/cloudrunv2/outputs.py +16 -82
- pulumi_gcp/cloudrunv2/service.py +4 -50
- pulumi_gcp/cloudtasks/_inputs.py +0 -630
- pulumi_gcp/cloudtasks/outputs.py +0 -479
- pulumi_gcp/cloudtasks/queue.py +0 -238
- pulumi_gcp/compute/_inputs.py +9 -129
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +0 -114
- pulumi_gcp/compute/instance.py +4 -86
- pulumi_gcp/compute/instance_template.py +0 -66
- pulumi_gcp/compute/interconnect.py +21 -28
- pulumi_gcp/compute/node_template.py +0 -93
- pulumi_gcp/compute/outputs.py +6 -108
- pulumi_gcp/compute/target_https_proxy.py +0 -28
- pulumi_gcp/container/_inputs.py +3 -140
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +2 -174
- pulumi_gcp/databasemigrationservice/_inputs.py +148 -176
- pulumi_gcp/databasemigrationservice/connection_profile.py +0 -206
- pulumi_gcp/databasemigrationservice/outputs.py +87 -109
- pulumi_gcp/dataloss/_inputs.py +1 -353
- pulumi_gcp/dataloss/outputs.py +3 -274
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +1 -69
- pulumi_gcp/datastream/outputs.py +2 -44
- pulumi_gcp/datastream/stream.py +7 -194
- pulumi_gcp/discoveryengine/_inputs.py +0 -188
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +1 -153
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +1 -25
- pulumi_gcp/gkehub/feature_membership.py +6 -12
- pulumi_gcp/gkehub/outputs.py +1 -17
- pulumi_gcp/iam/_inputs.py +0 -196
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +3 -13
- pulumi_gcp/iam/outputs.py +0 -295
- pulumi_gcp/iam/workload_identity_pool_provider.py +3 -164
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/autokey_config.py +2 -10
- pulumi_gcp/kms/outputs.py +0 -164
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +0 -7
- pulumi_gcp/networkconnectivity/_inputs.py +1 -21
- pulumi_gcp/networkconnectivity/outputs.py +1 -15
- pulumi_gcp/networkconnectivity/spoke.py +0 -8
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -24
- pulumi_gcp/networksecurity/server_tls_policy.py +32 -20
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -88
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +0 -26
- pulumi_gcp/projects/usage_export_bucket.py +0 -38
- pulumi_gcp/pubsub/_inputs.py +0 -40
- pulumi_gcp/pubsub/outputs.py +1 -51
- pulumi_gcp/pubsub/subscription.py +0 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -419
- pulumi_gcp/redis/cluster.py +0 -123
- pulumi_gcp/redis/outputs.py +0 -315
- pulumi_gcp/securitycenter/__init__.py +0 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/RECORD +95 -101
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/WHEEL +1 -1
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +0 -1203
- pulumi_gcp/certificatemanager/get_certificates.py +0 -150
- pulumi_gcp/kms/get_crypto_key_latest_version.py +0 -222
- pulumi_gcp/kms/get_crypto_key_versions.py +0 -175
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +0 -857
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +0 -796
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/top_level.txt +0 -0
@@ -13,8 +13,6 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
-
from . import outputs
|
17
|
-
from ._inputs import *
|
18
16
|
|
19
17
|
__all__ = ['DataExchangeArgs', 'DataExchange']
|
20
18
|
|
@@ -28,8 +26,7 @@ class DataExchangeArgs:
|
|
28
26
|
documentation: Optional[pulumi.Input[str]] = None,
|
29
27
|
icon: Optional[pulumi.Input[str]] = None,
|
30
28
|
primary_contact: Optional[pulumi.Input[str]] = None,
|
31
|
-
project: Optional[pulumi.Input[str]] = None
|
32
|
-
sharing_environment_config: Optional[pulumi.Input['DataExchangeSharingEnvironmentConfigArgs']] = None):
|
29
|
+
project: Optional[pulumi.Input[str]] = None):
|
33
30
|
"""
|
34
31
|
The set of arguments for constructing a DataExchange resource.
|
35
32
|
:param pulumi.Input[str] data_exchange_id: The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces.
|
@@ -44,9 +41,6 @@ class DataExchangeArgs:
|
|
44
41
|
:param pulumi.Input[str] primary_contact: Email or URL of the primary point of contact of the data exchange.
|
45
42
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
46
43
|
If it is not provided, the provider project is used.
|
47
|
-
:param pulumi.Input['DataExchangeSharingEnvironmentConfigArgs'] sharing_environment_config: Configurable data sharing environment option for a data exchange.
|
48
|
-
This field is required for data clean room exchanges.
|
49
|
-
Structure is documented below.
|
50
44
|
"""
|
51
45
|
pulumi.set(__self__, "data_exchange_id", data_exchange_id)
|
52
46
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -61,8 +55,6 @@ class DataExchangeArgs:
|
|
61
55
|
pulumi.set(__self__, "primary_contact", primary_contact)
|
62
56
|
if project is not None:
|
63
57
|
pulumi.set(__self__, "project", project)
|
64
|
-
if sharing_environment_config is not None:
|
65
|
-
pulumi.set(__self__, "sharing_environment_config", sharing_environment_config)
|
66
58
|
|
67
59
|
@property
|
68
60
|
@pulumi.getter(name="dataExchangeId")
|
@@ -164,20 +156,6 @@ class DataExchangeArgs:
|
|
164
156
|
def project(self, value: Optional[pulumi.Input[str]]):
|
165
157
|
pulumi.set(self, "project", value)
|
166
158
|
|
167
|
-
@property
|
168
|
-
@pulumi.getter(name="sharingEnvironmentConfig")
|
169
|
-
def sharing_environment_config(self) -> Optional[pulumi.Input['DataExchangeSharingEnvironmentConfigArgs']]:
|
170
|
-
"""
|
171
|
-
Configurable data sharing environment option for a data exchange.
|
172
|
-
This field is required for data clean room exchanges.
|
173
|
-
Structure is documented below.
|
174
|
-
"""
|
175
|
-
return pulumi.get(self, "sharing_environment_config")
|
176
|
-
|
177
|
-
@sharing_environment_config.setter
|
178
|
-
def sharing_environment_config(self, value: Optional[pulumi.Input['DataExchangeSharingEnvironmentConfigArgs']]):
|
179
|
-
pulumi.set(self, "sharing_environment_config", value)
|
180
|
-
|
181
159
|
|
182
160
|
@pulumi.input_type
|
183
161
|
class _DataExchangeState:
|
@@ -191,8 +169,7 @@ class _DataExchangeState:
|
|
191
169
|
location: Optional[pulumi.Input[str]] = None,
|
192
170
|
name: Optional[pulumi.Input[str]] = None,
|
193
171
|
primary_contact: Optional[pulumi.Input[str]] = None,
|
194
|
-
project: Optional[pulumi.Input[str]] = None
|
195
|
-
sharing_environment_config: Optional[pulumi.Input['DataExchangeSharingEnvironmentConfigArgs']] = None):
|
172
|
+
project: Optional[pulumi.Input[str]] = None):
|
196
173
|
"""
|
197
174
|
Input properties used for looking up and filtering DataExchange resources.
|
198
175
|
:param pulumi.Input[str] data_exchange_id: The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces.
|
@@ -210,9 +187,6 @@ class _DataExchangeState:
|
|
210
187
|
:param pulumi.Input[str] primary_contact: Email or URL of the primary point of contact of the data exchange.
|
211
188
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
212
189
|
If it is not provided, the provider project is used.
|
213
|
-
:param pulumi.Input['DataExchangeSharingEnvironmentConfigArgs'] sharing_environment_config: Configurable data sharing environment option for a data exchange.
|
214
|
-
This field is required for data clean room exchanges.
|
215
|
-
Structure is documented below.
|
216
190
|
"""
|
217
191
|
if data_exchange_id is not None:
|
218
192
|
pulumi.set(__self__, "data_exchange_id", data_exchange_id)
|
@@ -234,8 +208,6 @@ class _DataExchangeState:
|
|
234
208
|
pulumi.set(__self__, "primary_contact", primary_contact)
|
235
209
|
if project is not None:
|
236
210
|
pulumi.set(__self__, "project", project)
|
237
|
-
if sharing_environment_config is not None:
|
238
|
-
pulumi.set(__self__, "sharing_environment_config", sharing_environment_config)
|
239
211
|
|
240
212
|
@property
|
241
213
|
@pulumi.getter(name="dataExchangeId")
|
@@ -362,20 +334,6 @@ class _DataExchangeState:
|
|
362
334
|
def project(self, value: Optional[pulumi.Input[str]]):
|
363
335
|
pulumi.set(self, "project", value)
|
364
336
|
|
365
|
-
@property
|
366
|
-
@pulumi.getter(name="sharingEnvironmentConfig")
|
367
|
-
def sharing_environment_config(self) -> Optional[pulumi.Input['DataExchangeSharingEnvironmentConfigArgs']]:
|
368
|
-
"""
|
369
|
-
Configurable data sharing environment option for a data exchange.
|
370
|
-
This field is required for data clean room exchanges.
|
371
|
-
Structure is documented below.
|
372
|
-
"""
|
373
|
-
return pulumi.get(self, "sharing_environment_config")
|
374
|
-
|
375
|
-
@sharing_environment_config.setter
|
376
|
-
def sharing_environment_config(self, value: Optional[pulumi.Input['DataExchangeSharingEnvironmentConfigArgs']]):
|
377
|
-
pulumi.set(self, "sharing_environment_config", value)
|
378
|
-
|
379
337
|
|
380
338
|
class DataExchange(pulumi.CustomResource):
|
381
339
|
@overload
|
@@ -390,7 +348,6 @@ class DataExchange(pulumi.CustomResource):
|
|
390
348
|
location: Optional[pulumi.Input[str]] = None,
|
391
349
|
primary_contact: Optional[pulumi.Input[str]] = None,
|
392
350
|
project: Optional[pulumi.Input[str]] = None,
|
393
|
-
sharing_environment_config: Optional[pulumi.Input[Union['DataExchangeSharingEnvironmentConfigArgs', 'DataExchangeSharingEnvironmentConfigArgsDict']]] = None,
|
394
351
|
__props__=None):
|
395
352
|
"""
|
396
353
|
A Bigquery Analytics Hub data exchange
|
@@ -415,21 +372,6 @@ class DataExchange(pulumi.CustomResource):
|
|
415
372
|
display_name="my_data_exchange",
|
416
373
|
description="example data exchange")
|
417
374
|
```
|
418
|
-
### Bigquery Analyticshub Data Exchange Dcr
|
419
|
-
|
420
|
-
```python
|
421
|
-
import pulumi
|
422
|
-
import pulumi_gcp as gcp
|
423
|
-
|
424
|
-
data_exchange = gcp.bigqueryanalyticshub.DataExchange("data_exchange",
|
425
|
-
location="US",
|
426
|
-
data_exchange_id="dcr_data_exchange",
|
427
|
-
display_name="dcr_data_exchange",
|
428
|
-
description="example dcr data exchange",
|
429
|
-
sharing_environment_config={
|
430
|
-
"dcr_exchange_config": {},
|
431
|
-
})
|
432
|
-
```
|
433
375
|
|
434
376
|
## Import
|
435
377
|
|
@@ -475,9 +417,6 @@ class DataExchange(pulumi.CustomResource):
|
|
475
417
|
:param pulumi.Input[str] primary_contact: Email or URL of the primary point of contact of the data exchange.
|
476
418
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
477
419
|
If it is not provided, the provider project is used.
|
478
|
-
:param pulumi.Input[Union['DataExchangeSharingEnvironmentConfigArgs', 'DataExchangeSharingEnvironmentConfigArgsDict']] sharing_environment_config: Configurable data sharing environment option for a data exchange.
|
479
|
-
This field is required for data clean room exchanges.
|
480
|
-
Structure is documented below.
|
481
420
|
"""
|
482
421
|
...
|
483
422
|
@overload
|
@@ -508,21 +447,6 @@ class DataExchange(pulumi.CustomResource):
|
|
508
447
|
display_name="my_data_exchange",
|
509
448
|
description="example data exchange")
|
510
449
|
```
|
511
|
-
### Bigquery Analyticshub Data Exchange Dcr
|
512
|
-
|
513
|
-
```python
|
514
|
-
import pulumi
|
515
|
-
import pulumi_gcp as gcp
|
516
|
-
|
517
|
-
data_exchange = gcp.bigqueryanalyticshub.DataExchange("data_exchange",
|
518
|
-
location="US",
|
519
|
-
data_exchange_id="dcr_data_exchange",
|
520
|
-
display_name="dcr_data_exchange",
|
521
|
-
description="example dcr data exchange",
|
522
|
-
sharing_environment_config={
|
523
|
-
"dcr_exchange_config": {},
|
524
|
-
})
|
525
|
-
```
|
526
450
|
|
527
451
|
## Import
|
528
452
|
|
@@ -577,7 +501,6 @@ class DataExchange(pulumi.CustomResource):
|
|
577
501
|
location: Optional[pulumi.Input[str]] = None,
|
578
502
|
primary_contact: Optional[pulumi.Input[str]] = None,
|
579
503
|
project: Optional[pulumi.Input[str]] = None,
|
580
|
-
sharing_environment_config: Optional[pulumi.Input[Union['DataExchangeSharingEnvironmentConfigArgs', 'DataExchangeSharingEnvironmentConfigArgsDict']]] = None,
|
581
504
|
__props__=None):
|
582
505
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
583
506
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -601,7 +524,6 @@ class DataExchange(pulumi.CustomResource):
|
|
601
524
|
__props__.__dict__["location"] = location
|
602
525
|
__props__.__dict__["primary_contact"] = primary_contact
|
603
526
|
__props__.__dict__["project"] = project
|
604
|
-
__props__.__dict__["sharing_environment_config"] = sharing_environment_config
|
605
527
|
__props__.__dict__["listing_count"] = None
|
606
528
|
__props__.__dict__["name"] = None
|
607
529
|
super(DataExchange, __self__).__init__(
|
@@ -623,8 +545,7 @@ class DataExchange(pulumi.CustomResource):
|
|
623
545
|
location: Optional[pulumi.Input[str]] = None,
|
624
546
|
name: Optional[pulumi.Input[str]] = None,
|
625
547
|
primary_contact: Optional[pulumi.Input[str]] = None,
|
626
|
-
project: Optional[pulumi.Input[str]] = None
|
627
|
-
sharing_environment_config: Optional[pulumi.Input[Union['DataExchangeSharingEnvironmentConfigArgs', 'DataExchangeSharingEnvironmentConfigArgsDict']]] = None) -> 'DataExchange':
|
548
|
+
project: Optional[pulumi.Input[str]] = None) -> 'DataExchange':
|
628
549
|
"""
|
629
550
|
Get an existing DataExchange resource's state with the given name, id, and optional extra
|
630
551
|
properties used to qualify the lookup.
|
@@ -647,9 +568,6 @@ class DataExchange(pulumi.CustomResource):
|
|
647
568
|
:param pulumi.Input[str] primary_contact: Email or URL of the primary point of contact of the data exchange.
|
648
569
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
649
570
|
If it is not provided, the provider project is used.
|
650
|
-
:param pulumi.Input[Union['DataExchangeSharingEnvironmentConfigArgs', 'DataExchangeSharingEnvironmentConfigArgsDict']] sharing_environment_config: Configurable data sharing environment option for a data exchange.
|
651
|
-
This field is required for data clean room exchanges.
|
652
|
-
Structure is documented below.
|
653
571
|
"""
|
654
572
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
655
573
|
|
@@ -665,7 +583,6 @@ class DataExchange(pulumi.CustomResource):
|
|
665
583
|
__props__.__dict__["name"] = name
|
666
584
|
__props__.__dict__["primary_contact"] = primary_contact
|
667
585
|
__props__.__dict__["project"] = project
|
668
|
-
__props__.__dict__["sharing_environment_config"] = sharing_environment_config
|
669
586
|
return DataExchange(resource_name, opts=opts, __props__=__props__)
|
670
587
|
|
671
588
|
@property
|
@@ -753,13 +670,3 @@ class DataExchange(pulumi.CustomResource):
|
|
753
670
|
"""
|
754
671
|
return pulumi.get(self, "project")
|
755
672
|
|
756
|
-
@property
|
757
|
-
@pulumi.getter(name="sharingEnvironmentConfig")
|
758
|
-
def sharing_environment_config(self) -> pulumi.Output['outputs.DataExchangeSharingEnvironmentConfig']:
|
759
|
-
"""
|
760
|
-
Configurable data sharing environment option for a data exchange.
|
761
|
-
This field is required for data clean room exchanges.
|
762
|
-
Structure is documented below.
|
763
|
-
"""
|
764
|
-
return pulumi.get(self, "sharing_environment_config")
|
765
|
-
|
@@ -613,63 +613,6 @@ class Listing(pulumi.CustomResource):
|
|
613
613
|
"restrict_query_result": True,
|
614
614
|
})
|
615
615
|
```
|
616
|
-
### Bigquery Analyticshub Listing Dcr
|
617
|
-
|
618
|
-
```python
|
619
|
-
import pulumi
|
620
|
-
import pulumi_gcp as gcp
|
621
|
-
|
622
|
-
listing = gcp.bigqueryanalyticshub.DataExchange("listing",
|
623
|
-
location="US",
|
624
|
-
data_exchange_id="dcr_data_exchange",
|
625
|
-
display_name="dcr_data_exchange",
|
626
|
-
description="example dcr data exchange",
|
627
|
-
sharing_environment_config={
|
628
|
-
"dcr_exchange_config": {},
|
629
|
-
})
|
630
|
-
listing_dataset = gcp.bigquery.Dataset("listing",
|
631
|
-
dataset_id="dcr_listing",
|
632
|
-
friendly_name="dcr_listing",
|
633
|
-
description="example dcr data exchange",
|
634
|
-
location="US")
|
635
|
-
listing_table = gcp.bigquery.Table("listing",
|
636
|
-
deletion_protection=False,
|
637
|
-
table_id="dcr_listing",
|
638
|
-
dataset_id=listing_dataset.dataset_id,
|
639
|
-
schema=\"\"\"[
|
640
|
-
{
|
641
|
-
"name": "name",
|
642
|
-
"type": "STRING",
|
643
|
-
"mode": "NULLABLE"
|
644
|
-
},
|
645
|
-
{
|
646
|
-
"name": "post_abbr",
|
647
|
-
"type": "STRING",
|
648
|
-
"mode": "NULLABLE"
|
649
|
-
},
|
650
|
-
{
|
651
|
-
"name": "date",
|
652
|
-
"type": "DATE",
|
653
|
-
"mode": "NULLABLE"
|
654
|
-
}
|
655
|
-
]
|
656
|
-
\"\"\")
|
657
|
-
listing_listing = gcp.bigqueryanalyticshub.Listing("listing",
|
658
|
-
location="US",
|
659
|
-
data_exchange_id=listing.data_exchange_id,
|
660
|
-
listing_id="dcr_listing",
|
661
|
-
display_name="dcr_listing",
|
662
|
-
description="example dcr data exchange",
|
663
|
-
bigquery_dataset={
|
664
|
-
"dataset": listing_dataset.id,
|
665
|
-
"selected_resources": [{
|
666
|
-
"table": listing_table.id,
|
667
|
-
}],
|
668
|
-
},
|
669
|
-
restricted_export_config={
|
670
|
-
"enabled": True,
|
671
|
-
})
|
672
|
-
```
|
673
616
|
|
674
617
|
## Import
|
675
618
|
|
@@ -787,63 +730,6 @@ class Listing(pulumi.CustomResource):
|
|
787
730
|
"restrict_query_result": True,
|
788
731
|
})
|
789
732
|
```
|
790
|
-
### Bigquery Analyticshub Listing Dcr
|
791
|
-
|
792
|
-
```python
|
793
|
-
import pulumi
|
794
|
-
import pulumi_gcp as gcp
|
795
|
-
|
796
|
-
listing = gcp.bigqueryanalyticshub.DataExchange("listing",
|
797
|
-
location="US",
|
798
|
-
data_exchange_id="dcr_data_exchange",
|
799
|
-
display_name="dcr_data_exchange",
|
800
|
-
description="example dcr data exchange",
|
801
|
-
sharing_environment_config={
|
802
|
-
"dcr_exchange_config": {},
|
803
|
-
})
|
804
|
-
listing_dataset = gcp.bigquery.Dataset("listing",
|
805
|
-
dataset_id="dcr_listing",
|
806
|
-
friendly_name="dcr_listing",
|
807
|
-
description="example dcr data exchange",
|
808
|
-
location="US")
|
809
|
-
listing_table = gcp.bigquery.Table("listing",
|
810
|
-
deletion_protection=False,
|
811
|
-
table_id="dcr_listing",
|
812
|
-
dataset_id=listing_dataset.dataset_id,
|
813
|
-
schema=\"\"\"[
|
814
|
-
{
|
815
|
-
"name": "name",
|
816
|
-
"type": "STRING",
|
817
|
-
"mode": "NULLABLE"
|
818
|
-
},
|
819
|
-
{
|
820
|
-
"name": "post_abbr",
|
821
|
-
"type": "STRING",
|
822
|
-
"mode": "NULLABLE"
|
823
|
-
},
|
824
|
-
{
|
825
|
-
"name": "date",
|
826
|
-
"type": "DATE",
|
827
|
-
"mode": "NULLABLE"
|
828
|
-
}
|
829
|
-
]
|
830
|
-
\"\"\")
|
831
|
-
listing_listing = gcp.bigqueryanalyticshub.Listing("listing",
|
832
|
-
location="US",
|
833
|
-
data_exchange_id=listing.data_exchange_id,
|
834
|
-
listing_id="dcr_listing",
|
835
|
-
display_name="dcr_listing",
|
836
|
-
description="example dcr data exchange",
|
837
|
-
bigquery_dataset={
|
838
|
-
"dataset": listing_dataset.id,
|
839
|
-
"selected_resources": [{
|
840
|
-
"table": listing_table.id,
|
841
|
-
}],
|
842
|
-
},
|
843
|
-
restricted_export_config={
|
844
|
-
"enabled": True,
|
845
|
-
})
|
846
|
-
```
|
847
733
|
|
848
734
|
## Import
|
849
735
|
|
@@ -13,16 +13,11 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
-
from . import outputs
|
17
16
|
|
18
17
|
__all__ = [
|
19
18
|
'DataExchangeIamBindingCondition',
|
20
19
|
'DataExchangeIamMemberCondition',
|
21
|
-
'DataExchangeSharingEnvironmentConfig',
|
22
|
-
'DataExchangeSharingEnvironmentConfigDcrExchangeConfig',
|
23
|
-
'DataExchangeSharingEnvironmentConfigDefaultExchangeConfig',
|
24
20
|
'ListingBigqueryDataset',
|
25
|
-
'ListingBigqueryDatasetSelectedResource',
|
26
21
|
'ListingDataProvider',
|
27
22
|
'ListingIamBindingCondition',
|
28
23
|
'ListingIamMemberCondition',
|
@@ -84,138 +79,26 @@ class DataExchangeIamMemberCondition(dict):
|
|
84
79
|
return pulumi.get(self, "description")
|
85
80
|
|
86
81
|
|
87
|
-
@pulumi.output_type
|
88
|
-
class DataExchangeSharingEnvironmentConfig(dict):
|
89
|
-
@staticmethod
|
90
|
-
def __key_warning(key: str):
|
91
|
-
suggest = None
|
92
|
-
if key == "dcrExchangeConfig":
|
93
|
-
suggest = "dcr_exchange_config"
|
94
|
-
elif key == "defaultExchangeConfig":
|
95
|
-
suggest = "default_exchange_config"
|
96
|
-
|
97
|
-
if suggest:
|
98
|
-
pulumi.log.warn(f"Key '{key}' not found in DataExchangeSharingEnvironmentConfig. Access the value via the '{suggest}' property getter instead.")
|
99
|
-
|
100
|
-
def __getitem__(self, key: str) -> Any:
|
101
|
-
DataExchangeSharingEnvironmentConfig.__key_warning(key)
|
102
|
-
return super().__getitem__(key)
|
103
|
-
|
104
|
-
def get(self, key: str, default = None) -> Any:
|
105
|
-
DataExchangeSharingEnvironmentConfig.__key_warning(key)
|
106
|
-
return super().get(key, default)
|
107
|
-
|
108
|
-
def __init__(__self__, *,
|
109
|
-
dcr_exchange_config: Optional['outputs.DataExchangeSharingEnvironmentConfigDcrExchangeConfig'] = None,
|
110
|
-
default_exchange_config: Optional['outputs.DataExchangeSharingEnvironmentConfigDefaultExchangeConfig'] = None):
|
111
|
-
"""
|
112
|
-
:param 'DataExchangeSharingEnvironmentConfigDcrExchangeConfigArgs' dcr_exchange_config: Data Clean Room (DCR), used for privacy-safe and secured data sharing.
|
113
|
-
:param 'DataExchangeSharingEnvironmentConfigDefaultExchangeConfigArgs' default_exchange_config: Default Analytics Hub data exchange, used for secured data sharing.
|
114
|
-
"""
|
115
|
-
if dcr_exchange_config is not None:
|
116
|
-
pulumi.set(__self__, "dcr_exchange_config", dcr_exchange_config)
|
117
|
-
if default_exchange_config is not None:
|
118
|
-
pulumi.set(__self__, "default_exchange_config", default_exchange_config)
|
119
|
-
|
120
|
-
@property
|
121
|
-
@pulumi.getter(name="dcrExchangeConfig")
|
122
|
-
def dcr_exchange_config(self) -> Optional['outputs.DataExchangeSharingEnvironmentConfigDcrExchangeConfig']:
|
123
|
-
"""
|
124
|
-
Data Clean Room (DCR), used for privacy-safe and secured data sharing.
|
125
|
-
"""
|
126
|
-
return pulumi.get(self, "dcr_exchange_config")
|
127
|
-
|
128
|
-
@property
|
129
|
-
@pulumi.getter(name="defaultExchangeConfig")
|
130
|
-
def default_exchange_config(self) -> Optional['outputs.DataExchangeSharingEnvironmentConfigDefaultExchangeConfig']:
|
131
|
-
"""
|
132
|
-
Default Analytics Hub data exchange, used for secured data sharing.
|
133
|
-
"""
|
134
|
-
return pulumi.get(self, "default_exchange_config")
|
135
|
-
|
136
|
-
|
137
|
-
@pulumi.output_type
|
138
|
-
class DataExchangeSharingEnvironmentConfigDcrExchangeConfig(dict):
|
139
|
-
def __init__(__self__):
|
140
|
-
pass
|
141
|
-
|
142
|
-
|
143
|
-
@pulumi.output_type
|
144
|
-
class DataExchangeSharingEnvironmentConfigDefaultExchangeConfig(dict):
|
145
|
-
def __init__(__self__):
|
146
|
-
pass
|
147
|
-
|
148
|
-
|
149
82
|
@pulumi.output_type
|
150
83
|
class ListingBigqueryDataset(dict):
|
151
|
-
@staticmethod
|
152
|
-
def __key_warning(key: str):
|
153
|
-
suggest = None
|
154
|
-
if key == "selectedResources":
|
155
|
-
suggest = "selected_resources"
|
156
|
-
|
157
|
-
if suggest:
|
158
|
-
pulumi.log.warn(f"Key '{key}' not found in ListingBigqueryDataset. Access the value via the '{suggest}' property getter instead.")
|
159
|
-
|
160
|
-
def __getitem__(self, key: str) -> Any:
|
161
|
-
ListingBigqueryDataset.__key_warning(key)
|
162
|
-
return super().__getitem__(key)
|
163
|
-
|
164
|
-
def get(self, key: str, default = None) -> Any:
|
165
|
-
ListingBigqueryDataset.__key_warning(key)
|
166
|
-
return super().get(key, default)
|
167
|
-
|
168
84
|
def __init__(__self__, *,
|
169
|
-
dataset: str
|
170
|
-
selected_resources: Optional[Sequence['outputs.ListingBigqueryDatasetSelectedResource']] = None):
|
85
|
+
dataset: str):
|
171
86
|
"""
|
172
87
|
:param str dataset: Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123
|
173
|
-
|
174
|
-
|
88
|
+
|
89
|
+
- - -
|
175
90
|
"""
|
176
91
|
pulumi.set(__self__, "dataset", dataset)
|
177
|
-
if selected_resources is not None:
|
178
|
-
pulumi.set(__self__, "selected_resources", selected_resources)
|
179
92
|
|
180
93
|
@property
|
181
94
|
@pulumi.getter
|
182
95
|
def dataset(self) -> str:
|
183
96
|
"""
|
184
97
|
Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123
|
185
|
-
"""
|
186
|
-
return pulumi.get(self, "dataset")
|
187
|
-
|
188
|
-
@property
|
189
|
-
@pulumi.getter(name="selectedResources")
|
190
|
-
def selected_resources(self) -> Optional[Sequence['outputs.ListingBigqueryDatasetSelectedResource']]:
|
191
|
-
"""
|
192
|
-
Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.
|
193
|
-
Structure is documented below.
|
194
|
-
"""
|
195
|
-
return pulumi.get(self, "selected_resources")
|
196
|
-
|
197
|
-
|
198
|
-
@pulumi.output_type
|
199
|
-
class ListingBigqueryDatasetSelectedResource(dict):
|
200
|
-
def __init__(__self__, *,
|
201
|
-
table: Optional[str] = None):
|
202
|
-
"""
|
203
|
-
:param str table: Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"
|
204
|
-
|
205
|
-
- - -
|
206
|
-
"""
|
207
|
-
if table is not None:
|
208
|
-
pulumi.set(__self__, "table", table)
|
209
|
-
|
210
|
-
@property
|
211
|
-
@pulumi.getter
|
212
|
-
def table(self) -> Optional[str]:
|
213
|
-
"""
|
214
|
-
Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"
|
215
98
|
|
216
99
|
- - -
|
217
100
|
"""
|
218
|
-
return pulumi.get(self, "
|
101
|
+
return pulumi.get(self, "dataset")
|
219
102
|
|
220
103
|
|
221
104
|
@pulumi.output_type
|
@@ -371,9 +254,7 @@ class ListingRestrictedExportConfig(dict):
|
|
371
254
|
@staticmethod
|
372
255
|
def __key_warning(key: str):
|
373
256
|
suggest = None
|
374
|
-
if key == "
|
375
|
-
suggest = "restrict_direct_table_access"
|
376
|
-
elif key == "restrictQueryResult":
|
257
|
+
if key == "restrictQueryResult":
|
377
258
|
suggest = "restrict_query_result"
|
378
259
|
|
379
260
|
if suggest:
|
@@ -389,18 +270,13 @@ class ListingRestrictedExportConfig(dict):
|
|
389
270
|
|
390
271
|
def __init__(__self__, *,
|
391
272
|
enabled: Optional[bool] = None,
|
392
|
-
restrict_direct_table_access: Optional[bool] = None,
|
393
273
|
restrict_query_result: Optional[bool] = None):
|
394
274
|
"""
|
395
275
|
:param bool enabled: If true, enable restricted export.
|
396
|
-
:param bool restrict_direct_table_access: (Output)
|
397
|
-
If true, restrict direct table access(read api/tabledata.list) on linked table.
|
398
276
|
:param bool restrict_query_result: If true, restrict export of query result derived from restricted linked dataset table.
|
399
277
|
"""
|
400
278
|
if enabled is not None:
|
401
279
|
pulumi.set(__self__, "enabled", enabled)
|
402
|
-
if restrict_direct_table_access is not None:
|
403
|
-
pulumi.set(__self__, "restrict_direct_table_access", restrict_direct_table_access)
|
404
280
|
if restrict_query_result is not None:
|
405
281
|
pulumi.set(__self__, "restrict_query_result", restrict_query_result)
|
406
282
|
|
@@ -412,15 +288,6 @@ class ListingRestrictedExportConfig(dict):
|
|
412
288
|
"""
|
413
289
|
return pulumi.get(self, "enabled")
|
414
290
|
|
415
|
-
@property
|
416
|
-
@pulumi.getter(name="restrictDirectTableAccess")
|
417
|
-
def restrict_direct_table_access(self) -> Optional[bool]:
|
418
|
-
"""
|
419
|
-
(Output)
|
420
|
-
If true, restrict direct table access(read api/tabledata.list) on linked table.
|
421
|
-
"""
|
422
|
-
return pulumi.get(self, "restrict_direct_table_access")
|
423
|
-
|
424
291
|
@property
|
425
292
|
@pulumi.getter(name="restrictQueryResult")
|
426
293
|
def restrict_query_result(self) -> Optional[bool]:
|
pulumi_gcp/bigtable/_inputs.py
CHANGED
@@ -714,25 +714,17 @@ if not MYPY:
|
|
714
714
|
"""
|
715
715
|
The name of the column family.
|
716
716
|
"""
|
717
|
-
type: NotRequired[pulumi.Input[str]]
|
718
|
-
"""
|
719
|
-
The type of the column family.
|
720
|
-
"""
|
721
717
|
elif False:
|
722
718
|
TableColumnFamilyArgsDict: TypeAlias = Mapping[str, Any]
|
723
719
|
|
724
720
|
@pulumi.input_type
|
725
721
|
class TableColumnFamilyArgs:
|
726
722
|
def __init__(__self__, *,
|
727
|
-
family: pulumi.Input[str]
|
728
|
-
type: Optional[pulumi.Input[str]] = None):
|
723
|
+
family: pulumi.Input[str]):
|
729
724
|
"""
|
730
725
|
:param pulumi.Input[str] family: The name of the column family.
|
731
|
-
:param pulumi.Input[str] type: The type of the column family.
|
732
726
|
"""
|
733
727
|
pulumi.set(__self__, "family", family)
|
734
|
-
if type is not None:
|
735
|
-
pulumi.set(__self__, "type", type)
|
736
728
|
|
737
729
|
@property
|
738
730
|
@pulumi.getter
|
@@ -746,18 +738,6 @@ class TableColumnFamilyArgs:
|
|
746
738
|
def family(self, value: pulumi.Input[str]):
|
747
739
|
pulumi.set(self, "family", value)
|
748
740
|
|
749
|
-
@property
|
750
|
-
@pulumi.getter
|
751
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
752
|
-
"""
|
753
|
-
The type of the column family.
|
754
|
-
"""
|
755
|
-
return pulumi.get(self, "type")
|
756
|
-
|
757
|
-
@type.setter
|
758
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
759
|
-
pulumi.set(self, "type", value)
|
760
|
-
|
761
741
|
|
762
742
|
if not MYPY:
|
763
743
|
class TableIamBindingConditionArgsDict(TypedDict):
|
pulumi_gcp/bigtable/outputs.py
CHANGED
@@ -532,15 +532,11 @@ class TableAutomatedBackupPolicy(dict):
|
|
532
532
|
@pulumi.output_type
|
533
533
|
class TableColumnFamily(dict):
|
534
534
|
def __init__(__self__, *,
|
535
|
-
family: str
|
536
|
-
type: Optional[str] = None):
|
535
|
+
family: str):
|
537
536
|
"""
|
538
537
|
:param str family: The name of the column family.
|
539
|
-
:param str type: The type of the column family.
|
540
538
|
"""
|
541
539
|
pulumi.set(__self__, "family", family)
|
542
|
-
if type is not None:
|
543
|
-
pulumi.set(__self__, "type", type)
|
544
540
|
|
545
541
|
@property
|
546
542
|
@pulumi.getter
|
@@ -550,14 +546,6 @@ class TableColumnFamily(dict):
|
|
550
546
|
"""
|
551
547
|
return pulumi.get(self, "family")
|
552
548
|
|
553
|
-
@property
|
554
|
-
@pulumi.getter
|
555
|
-
def type(self) -> Optional[str]:
|
556
|
-
"""
|
557
|
-
The type of the column family.
|
558
|
-
"""
|
559
|
-
return pulumi.get(self, "type")
|
560
|
-
|
561
549
|
|
562
550
|
@pulumi.output_type
|
563
551
|
class TableIamBindingCondition(dict):
|
pulumi_gcp/bigtable/table.py
CHANGED
@@ -356,23 +356,6 @@ class Table(pulumi.CustomResource):
|
|
356
356
|
},
|
357
357
|
{
|
358
358
|
"family": "family-second",
|
359
|
-
"type": "intsum",
|
360
|
-
},
|
361
|
-
{
|
362
|
-
"family": "family-third",
|
363
|
-
"type": \"\"\" {
|
364
|
-
\\x09\\x09\\x09\\x09\\x09"aggregateType": {
|
365
|
-
\\x09\\x09\\x09\\x09\\x09\\x09"max": {},
|
366
|
-
\\x09\\x09\\x09\\x09\\x09\\x09"inputType": {
|
367
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09"int64Type": {
|
368
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09"encoding": {
|
369
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09"bigEndianBytes": {}
|
370
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09}
|
371
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09}
|
372
|
-
\\x09\\x09\\x09\\x09\\x09\\x09}
|
373
|
-
\\x09\\x09\\x09\\x09\\x09}
|
374
|
-
\\x09\\x09\\x09\\x09}
|
375
|
-
\"\"\",
|
376
359
|
},
|
377
360
|
],
|
378
361
|
change_stream_retention="24h0m0s",
|
@@ -463,23 +446,6 @@ class Table(pulumi.CustomResource):
|
|
463
446
|
},
|
464
447
|
{
|
465
448
|
"family": "family-second",
|
466
|
-
"type": "intsum",
|
467
|
-
},
|
468
|
-
{
|
469
|
-
"family": "family-third",
|
470
|
-
"type": \"\"\" {
|
471
|
-
\\x09\\x09\\x09\\x09\\x09"aggregateType": {
|
472
|
-
\\x09\\x09\\x09\\x09\\x09\\x09"max": {},
|
473
|
-
\\x09\\x09\\x09\\x09\\x09\\x09"inputType": {
|
474
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09"int64Type": {
|
475
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09"encoding": {
|
476
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09"bigEndianBytes": {}
|
477
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09\\x09}
|
478
|
-
\\x09\\x09\\x09\\x09\\x09\\x09\\x09}
|
479
|
-
\\x09\\x09\\x09\\x09\\x09\\x09}
|
480
|
-
\\x09\\x09\\x09\\x09\\x09}
|
481
|
-
\\x09\\x09\\x09\\x09}
|
482
|
-
\"\"\",
|
483
449
|
},
|
484
450
|
],
|
485
451
|
change_stream_retention="24h0m0s",
|