pulumi-gcp 7.39.0a1726118759__py3-none-any.whl → 8.0.0__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 +32 -19
- pulumi_gcp/accesscontextmanager/access_policy.py +4 -2
- pulumi_gcp/activedirectory/domain.py +38 -2
- pulumi_gcp/activedirectory/domain_trust.py +0 -30
- pulumi_gcp/activedirectory/peering.py +0 -72
- pulumi_gcp/alloydb/cluster.py +12 -200
- pulumi_gcp/alloydb/instance.py +13 -5
- pulumi_gcp/alloydb/user.py +14 -6
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +4 -2
- pulumi_gcp/apigee/sync_authorization.py +4 -2
- pulumi_gcp/apigee/target_server.py +4 -2
- pulumi_gcp/appengine/firewall_rule.py +4 -2
- pulumi_gcp/appengine/flexible_app_version.py +4 -2
- pulumi_gcp/apphub/service.py +8 -4
- pulumi_gcp/apphub/service_project_attachment.py +8 -4
- pulumi_gcp/applicationintegration/client.py +0 -154
- pulumi_gcp/bigquery/_inputs.py +0 -70
- pulumi_gcp/bigquery/iam_binding.py +0 -260
- pulumi_gcp/bigquery/iam_member.py +0 -260
- pulumi_gcp/bigquery/iam_policy.py +0 -240
- pulumi_gcp/bigquery/outputs.py +0 -44
- pulumi_gcp/bigquery/reservation.py +0 -84
- pulumi_gcp/bigquery/table.py +0 -98
- pulumi_gcp/billing/project_info.py +4 -2
- pulumi_gcp/cloudasset/folder_feed.py +4 -2
- pulumi_gcp/cloudrunv2/_inputs.py +25 -25
- pulumi_gcp/cloudrunv2/get_job.py +11 -1
- pulumi_gcp/cloudrunv2/get_service.py +11 -1
- pulumi_gcp/cloudrunv2/job.py +50 -0
- pulumi_gcp/cloudrunv2/outputs.py +26 -26
- pulumi_gcp/cloudrunv2/service.py +54 -0
- pulumi_gcp/compute/_inputs.py +117 -54
- pulumi_gcp/compute/backend_service.py +52 -0
- pulumi_gcp/compute/firewall_policy_rule.py +4 -2
- pulumi_gcp/compute/forwarding_rule.py +42 -0
- pulumi_gcp/compute/get_forwarding_rule.py +11 -1
- pulumi_gcp/compute/global_address.py +8 -4
- pulumi_gcp/compute/global_forwarding_rule.py +7 -0
- pulumi_gcp/compute/instance_template.py +56 -7
- pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
- pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
- pulumi_gcp/compute/network_attachment.py +8 -4
- pulumi_gcp/compute/node_group.py +4 -2
- pulumi_gcp/compute/organization_security_policy_association.py +4 -2
- pulumi_gcp/compute/outputs.py +101 -42
- pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
- pulumi_gcp/compute/region_backend_service.py +36 -7
- pulumi_gcp/compute/region_instance_template.py +56 -7
- pulumi_gcp/compute/region_ssl_certificate.py +49 -7
- pulumi_gcp/compute/ssl_certificate.py +49 -7
- pulumi_gcp/compute/subnetwork.py +193 -23
- pulumi_gcp/config/__init__.pyi +3 -5
- pulumi_gcp/config/vars.py +6 -10
- pulumi_gcp/container/_inputs.py +19 -41
- pulumi_gcp/container/cluster.py +79 -0
- pulumi_gcp/container/get_cluster.py +21 -1
- pulumi_gcp/container/get_engine_versions.py +8 -2
- pulumi_gcp/container/outputs.py +17 -40
- pulumi_gcp/diagflow/intent.py +4 -2
- pulumi_gcp/edgenetwork/network.py +83 -0
- pulumi_gcp/edgenetwork/subnet.py +83 -0
- pulumi_gcp/firebase/database_instance.py +2 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
- pulumi_gcp/firebase/hosting_version.py +4 -2
- pulumi_gcp/firebase/project.py +2 -0
- pulumi_gcp/firestore/document.py +8 -4
- pulumi_gcp/folder/access_approval_settings.py +12 -6
- pulumi_gcp/gkeonprem/_inputs.py +11 -11
- pulumi_gcp/gkeonprem/outputs.py +9 -9
- pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
- pulumi_gcp/iam/access_boundary_policy.py +4 -2
- pulumi_gcp/iam/deny_policy.py +4 -2
- pulumi_gcp/iap/brand.py +4 -2
- pulumi_gcp/iap/client.py +4 -2
- pulumi_gcp/identityplatform/__init__.py +0 -1
- pulumi_gcp/identityplatform/_inputs.py +0 -396
- pulumi_gcp/identityplatform/config.py +2 -0
- pulumi_gcp/identityplatform/outputs.py +0 -313
- pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
- pulumi_gcp/kms/__init__.py +4 -0
- pulumi_gcp/kms/_inputs.py +130 -0
- pulumi_gcp/kms/autokey_config.py +6 -2
- pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
- pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
- pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
- pulumi_gcp/kms/key_handle.py +8 -2
- pulumi_gcp/kms/outputs.py +76 -0
- pulumi_gcp/logging/folder_settings.py +4 -2
- pulumi_gcp/monitoring/monitored_project.py +4 -2
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
- pulumi_gcp/networkservices/_inputs.py +23 -0
- pulumi_gcp/networkservices/outputs.py +17 -1
- pulumi_gcp/networkservices/tcp_route.py +2 -0
- pulumi_gcp/organizations/access_approval_settings.py +4 -2
- pulumi_gcp/organizations/folder.py +35 -1
- pulumi_gcp/organizations/get_client_config.py +14 -1
- pulumi_gcp/organizations/get_folder.py +11 -1
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -87
- pulumi_gcp/orgpolicy/policy.py +12 -6
- pulumi_gcp/projects/api_key.py +2 -52
- pulumi_gcp/provider.py +32 -52
- pulumi_gcp/pubsub/topic.py +1 -1
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +58 -0
- pulumi_gcp/resourcemanager/lien.py +4 -2
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
- pulumi_gcp/sql/_inputs.py +3 -36
- pulumi_gcp/sql/outputs.py +6 -49
- pulumi_gcp/storage/_inputs.py +23 -23
- pulumi_gcp/storage/bucket.py +6 -6
- pulumi_gcp/storage/outputs.py +27 -27
- pulumi_gcp/tags/tag_binding.py +4 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
- pulumi_gcp/vmwareengine/network.py +4 -2
- pulumi_gcp/vpcaccess/connector.py +14 -6
- pulumi_gcp/vpcaccess/get_connector.py +6 -2
- {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/RECORD +127 -127
- pulumi_gcp/datastore/__init__.py +0 -10
- pulumi_gcp/datastore/_inputs.py +0 -76
- pulumi_gcp/datastore/data_store_index.py +0 -515
- pulumi_gcp/datastore/outputs.py +0 -51
- pulumi_gcp/identityplatform/project_default_config.py +0 -357
- {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.39.0a1726118759.dist-info → pulumi_gcp-8.0.0.dist-info}/top_level.txt +0 -0
@@ -43,8 +43,6 @@ class IamBindingArgs:
|
|
43
43
|
:param pulumi.Input[str] role: The role that should be applied. Only one
|
44
44
|
`bigquery.IamBinding` can be used per role. Note that custom roles must be of the format
|
45
45
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
46
|
-
:param pulumi.Input['IamBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
47
|
-
Structure is documented below.
|
48
46
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
49
47
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
50
48
|
"""
|
@@ -114,10 +112,6 @@ class IamBindingArgs:
|
|
114
112
|
@property
|
115
113
|
@pulumi.getter
|
116
114
|
def condition(self) -> Optional[pulumi.Input['IamBindingConditionArgs']]:
|
117
|
-
"""
|
118
|
-
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
119
|
-
Structure is documented below.
|
120
|
-
"""
|
121
115
|
return pulumi.get(self, "condition")
|
122
116
|
|
123
117
|
@condition.setter
|
@@ -150,8 +144,6 @@ class _IamBindingState:
|
|
150
144
|
table_id: Optional[pulumi.Input[str]] = None):
|
151
145
|
"""
|
152
146
|
Input properties used for looking up and filtering IamBinding resources.
|
153
|
-
:param pulumi.Input['IamBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
154
|
-
Structure is documented below.
|
155
147
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
156
148
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
157
149
|
Each entry can have one of the following values:
|
@@ -188,10 +180,6 @@ class _IamBindingState:
|
|
188
180
|
@property
|
189
181
|
@pulumi.getter
|
190
182
|
def condition(self) -> Optional[pulumi.Input['IamBindingConditionArgs']]:
|
191
|
-
"""
|
192
|
-
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
193
|
-
Structure is documented below.
|
194
|
-
"""
|
195
183
|
return pulumi.get(self, "condition")
|
196
184
|
|
197
185
|
@condition.setter
|
@@ -305,8 +293,6 @@ class IamBinding(pulumi.CustomResource):
|
|
305
293
|
|
306
294
|
> **Note:** `bigquery.IamBinding` resources **can be** used in conjunction with `bigquery.IamMember` resources **only if** they do not grant privilege to the same role.
|
307
295
|
|
308
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
309
|
-
|
310
296
|
## bigquery.IamPolicy
|
311
297
|
|
312
298
|
```python
|
@@ -324,27 +310,6 @@ class IamBinding(pulumi.CustomResource):
|
|
324
310
|
policy_data=admin.policy_data)
|
325
311
|
```
|
326
312
|
|
327
|
-
With IAM Conditions:
|
328
|
-
|
329
|
-
```python
|
330
|
-
import pulumi
|
331
|
-
import pulumi_gcp as gcp
|
332
|
-
|
333
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
334
|
-
"role": "roles/bigquery.dataOwner",
|
335
|
-
"members": ["user:jane@example.com"],
|
336
|
-
"condition": {
|
337
|
-
"title": "expires_after_2019_12_31",
|
338
|
-
"description": "Expiring at midnight of 2019-12-31",
|
339
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
340
|
-
},
|
341
|
-
}])
|
342
|
-
policy = gcp.bigquery.IamPolicy("policy",
|
343
|
-
project=test["project"],
|
344
|
-
dataset_id=test["datasetId"],
|
345
|
-
table_id=test["tableId"],
|
346
|
-
policy_data=admin.policy_data)
|
347
|
-
```
|
348
313
|
## bigquery.IamBinding
|
349
314
|
|
350
315
|
```python
|
@@ -359,24 +324,6 @@ class IamBinding(pulumi.CustomResource):
|
|
359
324
|
members=["user:jane@example.com"])
|
360
325
|
```
|
361
326
|
|
362
|
-
With IAM Conditions:
|
363
|
-
|
364
|
-
```python
|
365
|
-
import pulumi
|
366
|
-
import pulumi_gcp as gcp
|
367
|
-
|
368
|
-
binding = gcp.bigquery.IamBinding("binding",
|
369
|
-
project=test["project"],
|
370
|
-
dataset_id=test["datasetId"],
|
371
|
-
table_id=test["tableId"],
|
372
|
-
role="roles/bigquery.dataOwner",
|
373
|
-
members=["user:jane@example.com"],
|
374
|
-
condition={
|
375
|
-
"title": "expires_after_2019_12_31",
|
376
|
-
"description": "Expiring at midnight of 2019-12-31",
|
377
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
378
|
-
})
|
379
|
-
```
|
380
327
|
## bigquery.IamMember
|
381
328
|
|
382
329
|
```python
|
@@ -391,25 +338,6 @@ class IamBinding(pulumi.CustomResource):
|
|
391
338
|
member="user:jane@example.com")
|
392
339
|
```
|
393
340
|
|
394
|
-
With IAM Conditions:
|
395
|
-
|
396
|
-
```python
|
397
|
-
import pulumi
|
398
|
-
import pulumi_gcp as gcp
|
399
|
-
|
400
|
-
member = gcp.bigquery.IamMember("member",
|
401
|
-
project=test["project"],
|
402
|
-
dataset_id=test["datasetId"],
|
403
|
-
table_id=test["tableId"],
|
404
|
-
role="roles/bigquery.dataOwner",
|
405
|
-
member="user:jane@example.com",
|
406
|
-
condition={
|
407
|
-
"title": "expires_after_2019_12_31",
|
408
|
-
"description": "Expiring at midnight of 2019-12-31",
|
409
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
410
|
-
})
|
411
|
-
```
|
412
|
-
|
413
341
|
## This resource supports User Project Overrides.
|
414
342
|
|
415
343
|
-
|
@@ -429,8 +357,6 @@ class IamBinding(pulumi.CustomResource):
|
|
429
357
|
|
430
358
|
> **Note:** `bigquery.IamBinding` resources **can be** used in conjunction with `bigquery.IamMember` resources **only if** they do not grant privilege to the same role.
|
431
359
|
|
432
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
433
|
-
|
434
360
|
## bigquery.IamPolicy
|
435
361
|
|
436
362
|
```python
|
@@ -448,27 +374,6 @@ class IamBinding(pulumi.CustomResource):
|
|
448
374
|
policy_data=admin.policy_data)
|
449
375
|
```
|
450
376
|
|
451
|
-
With IAM Conditions:
|
452
|
-
|
453
|
-
```python
|
454
|
-
import pulumi
|
455
|
-
import pulumi_gcp as gcp
|
456
|
-
|
457
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
458
|
-
"role": "roles/bigquery.dataOwner",
|
459
|
-
"members": ["user:jane@example.com"],
|
460
|
-
"condition": {
|
461
|
-
"title": "expires_after_2019_12_31",
|
462
|
-
"description": "Expiring at midnight of 2019-12-31",
|
463
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
464
|
-
},
|
465
|
-
}])
|
466
|
-
policy = gcp.bigquery.IamPolicy("policy",
|
467
|
-
project=test["project"],
|
468
|
-
dataset_id=test["datasetId"],
|
469
|
-
table_id=test["tableId"],
|
470
|
-
policy_data=admin.policy_data)
|
471
|
-
```
|
472
377
|
## bigquery.IamBinding
|
473
378
|
|
474
379
|
```python
|
@@ -483,24 +388,6 @@ class IamBinding(pulumi.CustomResource):
|
|
483
388
|
members=["user:jane@example.com"])
|
484
389
|
```
|
485
390
|
|
486
|
-
With IAM Conditions:
|
487
|
-
|
488
|
-
```python
|
489
|
-
import pulumi
|
490
|
-
import pulumi_gcp as gcp
|
491
|
-
|
492
|
-
binding = gcp.bigquery.IamBinding("binding",
|
493
|
-
project=test["project"],
|
494
|
-
dataset_id=test["datasetId"],
|
495
|
-
table_id=test["tableId"],
|
496
|
-
role="roles/bigquery.dataOwner",
|
497
|
-
members=["user:jane@example.com"],
|
498
|
-
condition={
|
499
|
-
"title": "expires_after_2019_12_31",
|
500
|
-
"description": "Expiring at midnight of 2019-12-31",
|
501
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
502
|
-
})
|
503
|
-
```
|
504
391
|
## bigquery.IamMember
|
505
392
|
|
506
393
|
```python
|
@@ -515,25 +402,6 @@ class IamBinding(pulumi.CustomResource):
|
|
515
402
|
member="user:jane@example.com")
|
516
403
|
```
|
517
404
|
|
518
|
-
With IAM Conditions:
|
519
|
-
|
520
|
-
```python
|
521
|
-
import pulumi
|
522
|
-
import pulumi_gcp as gcp
|
523
|
-
|
524
|
-
member = gcp.bigquery.IamMember("member",
|
525
|
-
project=test["project"],
|
526
|
-
dataset_id=test["datasetId"],
|
527
|
-
table_id=test["tableId"],
|
528
|
-
role="roles/bigquery.dataOwner",
|
529
|
-
member="user:jane@example.com",
|
530
|
-
condition={
|
531
|
-
"title": "expires_after_2019_12_31",
|
532
|
-
"description": "Expiring at midnight of 2019-12-31",
|
533
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
534
|
-
})
|
535
|
-
```
|
536
|
-
|
537
405
|
## Import
|
538
406
|
|
539
407
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -574,8 +442,6 @@ class IamBinding(pulumi.CustomResource):
|
|
574
442
|
|
575
443
|
:param str resource_name: The name of the resource.
|
576
444
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
577
|
-
:param pulumi.Input[Union['IamBindingConditionArgs', 'IamBindingConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
578
|
-
Structure is documented below.
|
579
445
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
580
446
|
Each entry can have one of the following values:
|
581
447
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
@@ -614,8 +480,6 @@ class IamBinding(pulumi.CustomResource):
|
|
614
480
|
|
615
481
|
> **Note:** `bigquery.IamBinding` resources **can be** used in conjunction with `bigquery.IamMember` resources **only if** they do not grant privilege to the same role.
|
616
482
|
|
617
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
618
|
-
|
619
483
|
## bigquery.IamPolicy
|
620
484
|
|
621
485
|
```python
|
@@ -633,27 +497,6 @@ class IamBinding(pulumi.CustomResource):
|
|
633
497
|
policy_data=admin.policy_data)
|
634
498
|
```
|
635
499
|
|
636
|
-
With IAM Conditions:
|
637
|
-
|
638
|
-
```python
|
639
|
-
import pulumi
|
640
|
-
import pulumi_gcp as gcp
|
641
|
-
|
642
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
643
|
-
"role": "roles/bigquery.dataOwner",
|
644
|
-
"members": ["user:jane@example.com"],
|
645
|
-
"condition": {
|
646
|
-
"title": "expires_after_2019_12_31",
|
647
|
-
"description": "Expiring at midnight of 2019-12-31",
|
648
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
649
|
-
},
|
650
|
-
}])
|
651
|
-
policy = gcp.bigquery.IamPolicy("policy",
|
652
|
-
project=test["project"],
|
653
|
-
dataset_id=test["datasetId"],
|
654
|
-
table_id=test["tableId"],
|
655
|
-
policy_data=admin.policy_data)
|
656
|
-
```
|
657
500
|
## bigquery.IamBinding
|
658
501
|
|
659
502
|
```python
|
@@ -668,24 +511,6 @@ class IamBinding(pulumi.CustomResource):
|
|
668
511
|
members=["user:jane@example.com"])
|
669
512
|
```
|
670
513
|
|
671
|
-
With IAM Conditions:
|
672
|
-
|
673
|
-
```python
|
674
|
-
import pulumi
|
675
|
-
import pulumi_gcp as gcp
|
676
|
-
|
677
|
-
binding = gcp.bigquery.IamBinding("binding",
|
678
|
-
project=test["project"],
|
679
|
-
dataset_id=test["datasetId"],
|
680
|
-
table_id=test["tableId"],
|
681
|
-
role="roles/bigquery.dataOwner",
|
682
|
-
members=["user:jane@example.com"],
|
683
|
-
condition={
|
684
|
-
"title": "expires_after_2019_12_31",
|
685
|
-
"description": "Expiring at midnight of 2019-12-31",
|
686
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
687
|
-
})
|
688
|
-
```
|
689
514
|
## bigquery.IamMember
|
690
515
|
|
691
516
|
```python
|
@@ -700,25 +525,6 @@ class IamBinding(pulumi.CustomResource):
|
|
700
525
|
member="user:jane@example.com")
|
701
526
|
```
|
702
527
|
|
703
|
-
With IAM Conditions:
|
704
|
-
|
705
|
-
```python
|
706
|
-
import pulumi
|
707
|
-
import pulumi_gcp as gcp
|
708
|
-
|
709
|
-
member = gcp.bigquery.IamMember("member",
|
710
|
-
project=test["project"],
|
711
|
-
dataset_id=test["datasetId"],
|
712
|
-
table_id=test["tableId"],
|
713
|
-
role="roles/bigquery.dataOwner",
|
714
|
-
member="user:jane@example.com",
|
715
|
-
condition={
|
716
|
-
"title": "expires_after_2019_12_31",
|
717
|
-
"description": "Expiring at midnight of 2019-12-31",
|
718
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
719
|
-
})
|
720
|
-
```
|
721
|
-
|
722
528
|
## This resource supports User Project Overrides.
|
723
529
|
|
724
530
|
-
|
@@ -738,8 +544,6 @@ class IamBinding(pulumi.CustomResource):
|
|
738
544
|
|
739
545
|
> **Note:** `bigquery.IamBinding` resources **can be** used in conjunction with `bigquery.IamMember` resources **only if** they do not grant privilege to the same role.
|
740
546
|
|
741
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
742
|
-
|
743
547
|
## bigquery.IamPolicy
|
744
548
|
|
745
549
|
```python
|
@@ -757,27 +561,6 @@ class IamBinding(pulumi.CustomResource):
|
|
757
561
|
policy_data=admin.policy_data)
|
758
562
|
```
|
759
563
|
|
760
|
-
With IAM Conditions:
|
761
|
-
|
762
|
-
```python
|
763
|
-
import pulumi
|
764
|
-
import pulumi_gcp as gcp
|
765
|
-
|
766
|
-
admin = gcp.organizations.get_iam_policy(bindings=[{
|
767
|
-
"role": "roles/bigquery.dataOwner",
|
768
|
-
"members": ["user:jane@example.com"],
|
769
|
-
"condition": {
|
770
|
-
"title": "expires_after_2019_12_31",
|
771
|
-
"description": "Expiring at midnight of 2019-12-31",
|
772
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
773
|
-
},
|
774
|
-
}])
|
775
|
-
policy = gcp.bigquery.IamPolicy("policy",
|
776
|
-
project=test["project"],
|
777
|
-
dataset_id=test["datasetId"],
|
778
|
-
table_id=test["tableId"],
|
779
|
-
policy_data=admin.policy_data)
|
780
|
-
```
|
781
564
|
## bigquery.IamBinding
|
782
565
|
|
783
566
|
```python
|
@@ -792,24 +575,6 @@ class IamBinding(pulumi.CustomResource):
|
|
792
575
|
members=["user:jane@example.com"])
|
793
576
|
```
|
794
577
|
|
795
|
-
With IAM Conditions:
|
796
|
-
|
797
|
-
```python
|
798
|
-
import pulumi
|
799
|
-
import pulumi_gcp as gcp
|
800
|
-
|
801
|
-
binding = gcp.bigquery.IamBinding("binding",
|
802
|
-
project=test["project"],
|
803
|
-
dataset_id=test["datasetId"],
|
804
|
-
table_id=test["tableId"],
|
805
|
-
role="roles/bigquery.dataOwner",
|
806
|
-
members=["user:jane@example.com"],
|
807
|
-
condition={
|
808
|
-
"title": "expires_after_2019_12_31",
|
809
|
-
"description": "Expiring at midnight of 2019-12-31",
|
810
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
811
|
-
})
|
812
|
-
```
|
813
578
|
## bigquery.IamMember
|
814
579
|
|
815
580
|
```python
|
@@ -824,25 +589,6 @@ class IamBinding(pulumi.CustomResource):
|
|
824
589
|
member="user:jane@example.com")
|
825
590
|
```
|
826
591
|
|
827
|
-
With IAM Conditions:
|
828
|
-
|
829
|
-
```python
|
830
|
-
import pulumi
|
831
|
-
import pulumi_gcp as gcp
|
832
|
-
|
833
|
-
member = gcp.bigquery.IamMember("member",
|
834
|
-
project=test["project"],
|
835
|
-
dataset_id=test["datasetId"],
|
836
|
-
table_id=test["tableId"],
|
837
|
-
role="roles/bigquery.dataOwner",
|
838
|
-
member="user:jane@example.com",
|
839
|
-
condition={
|
840
|
-
"title": "expires_after_2019_12_31",
|
841
|
-
"description": "Expiring at midnight of 2019-12-31",
|
842
|
-
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
843
|
-
})
|
844
|
-
```
|
845
|
-
|
846
592
|
## Import
|
847
593
|
|
848
594
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -950,8 +696,6 @@ class IamBinding(pulumi.CustomResource):
|
|
950
696
|
:param str resource_name: The unique name of the resulting resource.
|
951
697
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
952
698
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
953
|
-
:param pulumi.Input[Union['IamBindingConditionArgs', 'IamBindingConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
954
|
-
Structure is documented below.
|
955
699
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
956
700
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
957
701
|
Each entry can have one of the following values:
|
@@ -986,10 +730,6 @@ class IamBinding(pulumi.CustomResource):
|
|
986
730
|
@property
|
987
731
|
@pulumi.getter
|
988
732
|
def condition(self) -> pulumi.Output[Optional['outputs.IamBindingCondition']]:
|
989
|
-
"""
|
990
|
-
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
991
|
-
Structure is documented below.
|
992
|
-
"""
|
993
733
|
return pulumi.get(self, "condition")
|
994
734
|
|
995
735
|
@property
|