pulumi-gcp 8.28.0a1745598508__py3-none-any.whl → 8.29.0a1746076904__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 +88 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +399 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +54 -0
- pulumi_gcp/accesscontextmanager/outputs.py +369 -0
- pulumi_gcp/alloydb/_inputs.py +47 -1
- pulumi_gcp/alloydb/outputs.py +61 -3
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +8 -2
- pulumi_gcp/applicationintegration/client.py +34 -12
- pulumi_gcp/artifactregistry/outputs.py +2 -2
- pulumi_gcp/certificateauthority/_inputs.py +32 -0
- pulumi_gcp/certificateauthority/ca_pool.py +2 -0
- pulumi_gcp/certificateauthority/outputs.py +22 -0
- pulumi_gcp/clouddeploy/_inputs.py +0 -6
- pulumi_gcp/clouddeploy/delivery_pipeline.py +84 -77
- pulumi_gcp/clouddeploy/outputs.py +0 -4
- pulumi_gcp/cloudrunv2/_inputs.py +3 -3
- pulumi_gcp/cloudrunv2/outputs.py +4 -4
- pulumi_gcp/colab/runtime_template.py +3 -3
- pulumi_gcp/compute/__init__.py +7 -0
- pulumi_gcp/compute/_inputs.py +809 -1
- pulumi_gcp/compute/backend_service.py +89 -0
- pulumi_gcp/compute/firewall_policy_with_rules.py +2 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_storage_pool_iam_policy.py +183 -0
- pulumi_gcp/compute/get_storage_pool_types.py +268 -0
- pulumi_gcp/compute/outputs.py +743 -3
- pulumi_gcp/compute/resource_policy_attachment.py +476 -0
- pulumi_gcp/compute/storage_pool.py +1045 -0
- pulumi_gcp/compute/storage_pool_iam_binding.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_member.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_policy.py +907 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +63 -3
- pulumi_gcp/container/outputs.py +70 -6
- pulumi_gcp/dataproc/get_metastore_service.py +12 -1
- pulumi_gcp/dataproc/metastore_service.py +61 -0
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/discoveryengine/_inputs.py +38 -0
- pulumi_gcp/discoveryengine/chat_engine.py +6 -4
- pulumi_gcp/discoveryengine/outputs.py +26 -0
- pulumi_gcp/firebaserules/_inputs.py +6 -6
- pulumi_gcp/firebaserules/outputs.py +4 -4
- pulumi_gcp/gkebackup/__init__.py +2 -0
- pulumi_gcp/gkebackup/backup_channel.py +737 -0
- pulumi_gcp/gkebackup/restore_channel.py +737 -0
- pulumi_gcp/gkehub/_inputs.py +208 -0
- pulumi_gcp/gkehub/outputs.py +171 -1
- pulumi_gcp/healthcare/pipeline_job.py +2 -2
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_cloud_run_service_iam_policy.py +183 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_binding.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_member.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_policy.py +908 -0
- pulumi_gcp/kms/key_ring_import_job.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +8 -4
- pulumi_gcp/managedkafka/connector.py +8 -4
- pulumi_gcp/monitoring/uptime_check_config.py +49 -0
- pulumi_gcp/networkconnectivity/internal_range.py +82 -0
- pulumi_gcp/projects/_inputs.py +0 -6
- pulumi_gcp/projects/api_key.py +28 -0
- pulumi_gcp/projects/outputs.py +0 -4
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +61 -0
- pulumi_gcp/sql/_inputs.py +86 -6
- pulumi_gcp/sql/outputs.py +156 -12
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +457 -0
- pulumi_gcp/storage/batch_operations_job.py +776 -0
- pulumi_gcp/storage/outputs.py +403 -0
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/RECORD +78 -64
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/top_level.txt +0 -0
@@ -38,6 +38,7 @@ class MetastoreServiceArgs:
|
|
38
38
|
scaling_config: Optional[pulumi.Input['MetastoreServiceScalingConfigArgs']] = None,
|
39
39
|
scheduled_backup: Optional[pulumi.Input['MetastoreServiceScheduledBackupArgs']] = None,
|
40
40
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
41
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
41
42
|
telemetry_config: Optional[pulumi.Input['MetastoreServiceTelemetryConfigArgs']] = None,
|
42
43
|
tier: Optional[pulumi.Input[builtins.str]] = None):
|
43
44
|
"""
|
@@ -82,6 +83,9 @@ class MetastoreServiceArgs:
|
|
82
83
|
|
83
84
|
|
84
85
|
- - -
|
86
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
87
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
88
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
|
85
89
|
:param pulumi.Input['MetastoreServiceTelemetryConfigArgs'] telemetry_config: The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
|
86
90
|
Structure is documented below.
|
87
91
|
:param pulumi.Input[builtins.str] tier: The tier of the service.
|
@@ -119,6 +123,8 @@ class MetastoreServiceArgs:
|
|
119
123
|
pulumi.set(__self__, "scheduled_backup", scheduled_backup)
|
120
124
|
if service_id is not None:
|
121
125
|
pulumi.set(__self__, "service_id", service_id)
|
126
|
+
if tags is not None:
|
127
|
+
pulumi.set(__self__, "tags", tags)
|
122
128
|
if telemetry_config is not None:
|
123
129
|
pulumi.set(__self__, "telemetry_config", telemetry_config)
|
124
130
|
if tier is not None:
|
@@ -340,6 +346,20 @@ class MetastoreServiceArgs:
|
|
340
346
|
def service_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
341
347
|
pulumi.set(self, "service_id", value)
|
342
348
|
|
349
|
+
@property
|
350
|
+
@pulumi.getter
|
351
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
352
|
+
"""
|
353
|
+
A map of resource manager tags.
|
354
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
355
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
|
356
|
+
"""
|
357
|
+
return pulumi.get(self, "tags")
|
358
|
+
|
359
|
+
@tags.setter
|
360
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
361
|
+
pulumi.set(self, "tags", value)
|
362
|
+
|
343
363
|
@property
|
344
364
|
@pulumi.getter(name="telemetryConfig")
|
345
365
|
def telemetry_config(self) -> Optional[pulumi.Input['MetastoreServiceTelemetryConfigArgs']]:
|
@@ -394,6 +414,7 @@ class _MetastoreServiceState:
|
|
394
414
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
395
415
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
396
416
|
state_message: Optional[pulumi.Input[builtins.str]] = None,
|
417
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
397
418
|
telemetry_config: Optional[pulumi.Input['MetastoreServiceTelemetryConfigArgs']] = None,
|
398
419
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
399
420
|
uid: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -449,6 +470,9 @@ class _MetastoreServiceState:
|
|
449
470
|
- - -
|
450
471
|
:param pulumi.Input[builtins.str] state: The current state of the metastore service.
|
451
472
|
:param pulumi.Input[builtins.str] state_message: Additional information about the current state of the metastore service, if available.
|
473
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
474
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
475
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
|
452
476
|
:param pulumi.Input['MetastoreServiceTelemetryConfigArgs'] telemetry_config: The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
|
453
477
|
Structure is documented below.
|
454
478
|
:param pulumi.Input[builtins.str] tier: The tier of the service.
|
@@ -504,6 +528,8 @@ class _MetastoreServiceState:
|
|
504
528
|
pulumi.set(__self__, "state", state)
|
505
529
|
if state_message is not None:
|
506
530
|
pulumi.set(__self__, "state_message", state_message)
|
531
|
+
if tags is not None:
|
532
|
+
pulumi.set(__self__, "tags", tags)
|
507
533
|
if telemetry_config is not None:
|
508
534
|
pulumi.set(__self__, "telemetry_config", telemetry_config)
|
509
535
|
if tier is not None:
|
@@ -826,6 +852,20 @@ class _MetastoreServiceState:
|
|
826
852
|
def state_message(self, value: Optional[pulumi.Input[builtins.str]]):
|
827
853
|
pulumi.set(self, "state_message", value)
|
828
854
|
|
855
|
+
@property
|
856
|
+
@pulumi.getter
|
857
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
858
|
+
"""
|
859
|
+
A map of resource manager tags.
|
860
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
861
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
|
862
|
+
"""
|
863
|
+
return pulumi.get(self, "tags")
|
864
|
+
|
865
|
+
@tags.setter
|
866
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
867
|
+
pulumi.set(self, "tags", value)
|
868
|
+
|
829
869
|
@property
|
830
870
|
@pulumi.getter(name="telemetryConfig")
|
831
871
|
def telemetry_config(self) -> Optional[pulumi.Input['MetastoreServiceTelemetryConfigArgs']]:
|
@@ -898,6 +938,7 @@ class MetastoreService(pulumi.CustomResource):
|
|
898
938
|
scaling_config: Optional[pulumi.Input[Union['MetastoreServiceScalingConfigArgs', 'MetastoreServiceScalingConfigArgsDict']]] = None,
|
899
939
|
scheduled_backup: Optional[pulumi.Input[Union['MetastoreServiceScheduledBackupArgs', 'MetastoreServiceScheduledBackupArgsDict']]] = None,
|
900
940
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
941
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
901
942
|
telemetry_config: Optional[pulumi.Input[Union['MetastoreServiceTelemetryConfigArgs', 'MetastoreServiceTelemetryConfigArgsDict']]] = None,
|
902
943
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
903
944
|
__props__=None):
|
@@ -1254,6 +1295,9 @@ class MetastoreService(pulumi.CustomResource):
|
|
1254
1295
|
|
1255
1296
|
|
1256
1297
|
- - -
|
1298
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
1299
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
1300
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
|
1257
1301
|
:param pulumi.Input[Union['MetastoreServiceTelemetryConfigArgs', 'MetastoreServiceTelemetryConfigArgsDict']] telemetry_config: The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
|
1258
1302
|
Structure is documented below.
|
1259
1303
|
:param pulumi.Input[builtins.str] tier: The tier of the service.
|
@@ -1607,6 +1651,7 @@ class MetastoreService(pulumi.CustomResource):
|
|
1607
1651
|
scaling_config: Optional[pulumi.Input[Union['MetastoreServiceScalingConfigArgs', 'MetastoreServiceScalingConfigArgsDict']]] = None,
|
1608
1652
|
scheduled_backup: Optional[pulumi.Input[Union['MetastoreServiceScheduledBackupArgs', 'MetastoreServiceScheduledBackupArgsDict']]] = None,
|
1609
1653
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
1654
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1610
1655
|
telemetry_config: Optional[pulumi.Input[Union['MetastoreServiceTelemetryConfigArgs', 'MetastoreServiceTelemetryConfigArgsDict']]] = None,
|
1611
1656
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
1612
1657
|
__props__=None):
|
@@ -1634,6 +1679,7 @@ class MetastoreService(pulumi.CustomResource):
|
|
1634
1679
|
__props__.__dict__["scaling_config"] = scaling_config
|
1635
1680
|
__props__.__dict__["scheduled_backup"] = scheduled_backup
|
1636
1681
|
__props__.__dict__["service_id"] = service_id
|
1682
|
+
__props__.__dict__["tags"] = tags
|
1637
1683
|
__props__.__dict__["telemetry_config"] = telemetry_config
|
1638
1684
|
__props__.__dict__["tier"] = tier
|
1639
1685
|
__props__.__dict__["artifact_gcs_uri"] = None
|
@@ -1682,6 +1728,7 @@ class MetastoreService(pulumi.CustomResource):
|
|
1682
1728
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
1683
1729
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
1684
1730
|
state_message: Optional[pulumi.Input[builtins.str]] = None,
|
1731
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1685
1732
|
telemetry_config: Optional[pulumi.Input[Union['MetastoreServiceTelemetryConfigArgs', 'MetastoreServiceTelemetryConfigArgsDict']]] = None,
|
1686
1733
|
tier: Optional[pulumi.Input[builtins.str]] = None,
|
1687
1734
|
uid: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1742,6 +1789,9 @@ class MetastoreService(pulumi.CustomResource):
|
|
1742
1789
|
- - -
|
1743
1790
|
:param pulumi.Input[builtins.str] state: The current state of the metastore service.
|
1744
1791
|
:param pulumi.Input[builtins.str] state_message: Additional information about the current state of the metastore service, if available.
|
1792
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
|
1793
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
1794
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
|
1745
1795
|
:param pulumi.Input[Union['MetastoreServiceTelemetryConfigArgs', 'MetastoreServiceTelemetryConfigArgsDict']] telemetry_config: The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
|
1746
1796
|
Structure is documented below.
|
1747
1797
|
:param pulumi.Input[builtins.str] tier: The tier of the service.
|
@@ -1777,6 +1827,7 @@ class MetastoreService(pulumi.CustomResource):
|
|
1777
1827
|
__props__.__dict__["service_id"] = service_id
|
1778
1828
|
__props__.__dict__["state"] = state
|
1779
1829
|
__props__.__dict__["state_message"] = state_message
|
1830
|
+
__props__.__dict__["tags"] = tags
|
1780
1831
|
__props__.__dict__["telemetry_config"] = telemetry_config
|
1781
1832
|
__props__.__dict__["tier"] = tier
|
1782
1833
|
__props__.__dict__["uid"] = uid
|
@@ -2000,6 +2051,16 @@ class MetastoreService(pulumi.CustomResource):
|
|
2000
2051
|
"""
|
2001
2052
|
return pulumi.get(self, "state_message")
|
2002
2053
|
|
2054
|
+
@property
|
2055
|
+
@pulumi.getter
|
2056
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
2057
|
+
"""
|
2058
|
+
A map of resource manager tags.
|
2059
|
+
Resource manager tag keys and values have the same definition as resource manager tags.
|
2060
|
+
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
|
2061
|
+
"""
|
2062
|
+
return pulumi.get(self, "tags")
|
2063
|
+
|
2003
2064
|
@property
|
2004
2065
|
@pulumi.getter(name="telemetryConfig")
|
2005
2066
|
def telemetry_config(self) -> pulumi.Output['outputs.MetastoreServiceTelemetryConfig']:
|
@@ -904,6 +904,26 @@ class ConnectionProfile(pulumi.CustomResource):
|
|
904
904
|
"database": db.name,
|
905
905
|
})
|
906
906
|
```
|
907
|
+
### Datastream Connection Profile Salesforce
|
908
|
+
|
909
|
+
```python
|
910
|
+
import pulumi
|
911
|
+
import pulumi_gcp as gcp
|
912
|
+
|
913
|
+
default = gcp.datastream.ConnectionProfile("default",
|
914
|
+
display_name="Salesforce Source",
|
915
|
+
location="us-central1",
|
916
|
+
connection_profile_id="source-profile",
|
917
|
+
create_without_validation=True,
|
918
|
+
salesforce_profile={
|
919
|
+
"domain": "fake-domain.my.salesforce.com",
|
920
|
+
"user_credentials": {
|
921
|
+
"username": "fake-username",
|
922
|
+
"secret_manager_stored_password": "fake-password",
|
923
|
+
"secret_manager_stored_security_token": "fake-token",
|
924
|
+
},
|
925
|
+
})
|
926
|
+
```
|
907
927
|
### Datastream Connection Profile Postgres Secret Manager
|
908
928
|
|
909
929
|
```python
|
@@ -1251,6 +1271,26 @@ class ConnectionProfile(pulumi.CustomResource):
|
|
1251
1271
|
"database": db.name,
|
1252
1272
|
})
|
1253
1273
|
```
|
1274
|
+
### Datastream Connection Profile Salesforce
|
1275
|
+
|
1276
|
+
```python
|
1277
|
+
import pulumi
|
1278
|
+
import pulumi_gcp as gcp
|
1279
|
+
|
1280
|
+
default = gcp.datastream.ConnectionProfile("default",
|
1281
|
+
display_name="Salesforce Source",
|
1282
|
+
location="us-central1",
|
1283
|
+
connection_profile_id="source-profile",
|
1284
|
+
create_without_validation=True,
|
1285
|
+
salesforce_profile={
|
1286
|
+
"domain": "fake-domain.my.salesforce.com",
|
1287
|
+
"user_credentials": {
|
1288
|
+
"username": "fake-username",
|
1289
|
+
"secret_manager_stored_password": "fake-password",
|
1290
|
+
"secret_manager_stored_security_token": "fake-token",
|
1291
|
+
},
|
1292
|
+
})
|
1293
|
+
```
|
1254
1294
|
### Datastream Connection Profile Postgres Secret Manager
|
1255
1295
|
|
1256
1296
|
```python
|
@@ -70,6 +70,16 @@ if not MYPY:
|
|
70
70
|
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
71
71
|
Structure is documented below.
|
72
72
|
"""
|
73
|
+
allow_cross_region: NotRequired[pulumi.Input[builtins.bool]]
|
74
|
+
"""
|
75
|
+
If the flag set to true, we allow the agent and engine are in
|
76
|
+
different locations, otherwise the agent and engine are required to be
|
77
|
+
in the same location. The flag is set to false by default.
|
78
|
+
Note that the `allow_cross_region` are one-time consumed by and passed
|
79
|
+
to EngineService.CreateEngine. It means they cannot be retrieved using
|
80
|
+
EngineService.GetEngine or EngineService.ListEngines API after engine
|
81
|
+
creation.
|
82
|
+
"""
|
73
83
|
dialogflow_agent_to_link: NotRequired[pulumi.Input[builtins.str]]
|
74
84
|
"""
|
75
85
|
The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
|
@@ -82,16 +92,26 @@ elif False:
|
|
82
92
|
class ChatEngineChatEngineConfigArgs:
|
83
93
|
def __init__(__self__, *,
|
84
94
|
agent_creation_config: Optional[pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']] = None,
|
95
|
+
allow_cross_region: Optional[pulumi.Input[builtins.bool]] = None,
|
85
96
|
dialogflow_agent_to_link: Optional[pulumi.Input[builtins.str]] = None):
|
86
97
|
"""
|
87
98
|
:param pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs'] agent_creation_config: The configuration to generate the Dialogflow agent that is associated to this Engine.
|
88
99
|
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
89
100
|
Structure is documented below.
|
101
|
+
:param pulumi.Input[builtins.bool] allow_cross_region: If the flag set to true, we allow the agent and engine are in
|
102
|
+
different locations, otherwise the agent and engine are required to be
|
103
|
+
in the same location. The flag is set to false by default.
|
104
|
+
Note that the `allow_cross_region` are one-time consumed by and passed
|
105
|
+
to EngineService.CreateEngine. It means they cannot be retrieved using
|
106
|
+
EngineService.GetEngine or EngineService.ListEngines API after engine
|
107
|
+
creation.
|
90
108
|
:param pulumi.Input[builtins.str] dialogflow_agent_to_link: The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
|
91
109
|
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
92
110
|
"""
|
93
111
|
if agent_creation_config is not None:
|
94
112
|
pulumi.set(__self__, "agent_creation_config", agent_creation_config)
|
113
|
+
if allow_cross_region is not None:
|
114
|
+
pulumi.set(__self__, "allow_cross_region", allow_cross_region)
|
95
115
|
if dialogflow_agent_to_link is not None:
|
96
116
|
pulumi.set(__self__, "dialogflow_agent_to_link", dialogflow_agent_to_link)
|
97
117
|
|
@@ -109,6 +129,24 @@ class ChatEngineChatEngineConfigArgs:
|
|
109
129
|
def agent_creation_config(self, value: Optional[pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']]):
|
110
130
|
pulumi.set(self, "agent_creation_config", value)
|
111
131
|
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="allowCrossRegion")
|
134
|
+
def allow_cross_region(self) -> Optional[pulumi.Input[builtins.bool]]:
|
135
|
+
"""
|
136
|
+
If the flag set to true, we allow the agent and engine are in
|
137
|
+
different locations, otherwise the agent and engine are required to be
|
138
|
+
in the same location. The flag is set to false by default.
|
139
|
+
Note that the `allow_cross_region` are one-time consumed by and passed
|
140
|
+
to EngineService.CreateEngine. It means they cannot be retrieved using
|
141
|
+
EngineService.GetEngine or EngineService.ListEngines API after engine
|
142
|
+
creation.
|
143
|
+
"""
|
144
|
+
return pulumi.get(self, "allow_cross_region")
|
145
|
+
|
146
|
+
@allow_cross_region.setter
|
147
|
+
def allow_cross_region(self, value: Optional[pulumi.Input[builtins.bool]]):
|
148
|
+
pulumi.set(self, "allow_cross_region", value)
|
149
|
+
|
112
150
|
@property
|
113
151
|
@pulumi.getter(name="dialogflowAgentToLink")
|
114
152
|
def dialogflow_agent_to_link(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -463,7 +463,7 @@ class ChatEngine(pulumi.CustomResource):
|
|
463
463
|
import pulumi_gcp as gcp
|
464
464
|
|
465
465
|
test_data_store = gcp.discoveryengine.DataStore("test_data_store",
|
466
|
-
location="
|
466
|
+
location="eu",
|
467
467
|
data_store_id="data-store",
|
468
468
|
display_name="Structured datastore",
|
469
469
|
industry_vertical="GENERIC",
|
@@ -471,7 +471,7 @@ class ChatEngine(pulumi.CustomResource):
|
|
471
471
|
solution_types=["SOLUTION_TYPE_CHAT"])
|
472
472
|
agent = gcp.diagflow.CxAgent("agent",
|
473
473
|
display_name="dialogflowcx-agent",
|
474
|
-
location="
|
474
|
+
location="europe-west3",
|
475
475
|
default_language_code="en",
|
476
476
|
time_zone="America/Los_Angeles")
|
477
477
|
primary = gcp.discoveryengine.ChatEngine("primary",
|
@@ -486,6 +486,7 @@ class ChatEngine(pulumi.CustomResource):
|
|
486
486
|
},
|
487
487
|
chat_engine_config={
|
488
488
|
"dialogflow_agent_to_link": agent.id,
|
489
|
+
"allow_cross_region": True,
|
489
490
|
})
|
490
491
|
```
|
491
492
|
|
@@ -591,7 +592,7 @@ class ChatEngine(pulumi.CustomResource):
|
|
591
592
|
import pulumi_gcp as gcp
|
592
593
|
|
593
594
|
test_data_store = gcp.discoveryengine.DataStore("test_data_store",
|
594
|
-
location="
|
595
|
+
location="eu",
|
595
596
|
data_store_id="data-store",
|
596
597
|
display_name="Structured datastore",
|
597
598
|
industry_vertical="GENERIC",
|
@@ -599,7 +600,7 @@ class ChatEngine(pulumi.CustomResource):
|
|
599
600
|
solution_types=["SOLUTION_TYPE_CHAT"])
|
600
601
|
agent = gcp.diagflow.CxAgent("agent",
|
601
602
|
display_name="dialogflowcx-agent",
|
602
|
-
location="
|
603
|
+
location="europe-west3",
|
603
604
|
default_language_code="en",
|
604
605
|
time_zone="America/Los_Angeles")
|
605
606
|
primary = gcp.discoveryengine.ChatEngine("primary",
|
@@ -614,6 +615,7 @@ class ChatEngine(pulumi.CustomResource):
|
|
614
615
|
},
|
615
616
|
chat_engine_config={
|
616
617
|
"dialogflow_agent_to_link": agent.id,
|
618
|
+
"allow_cross_region": True,
|
617
619
|
})
|
618
620
|
```
|
619
621
|
|
@@ -47,6 +47,8 @@ class ChatEngineChatEngineConfig(dict):
|
|
47
47
|
suggest = None
|
48
48
|
if key == "agentCreationConfig":
|
49
49
|
suggest = "agent_creation_config"
|
50
|
+
elif key == "allowCrossRegion":
|
51
|
+
suggest = "allow_cross_region"
|
50
52
|
elif key == "dialogflowAgentToLink":
|
51
53
|
suggest = "dialogflow_agent_to_link"
|
52
54
|
|
@@ -63,16 +65,26 @@ class ChatEngineChatEngineConfig(dict):
|
|
63
65
|
|
64
66
|
def __init__(__self__, *,
|
65
67
|
agent_creation_config: Optional['outputs.ChatEngineChatEngineConfigAgentCreationConfig'] = None,
|
68
|
+
allow_cross_region: Optional[builtins.bool] = None,
|
66
69
|
dialogflow_agent_to_link: Optional[builtins.str] = None):
|
67
70
|
"""
|
68
71
|
:param 'ChatEngineChatEngineConfigAgentCreationConfigArgs' agent_creation_config: The configuration to generate the Dialogflow agent that is associated to this Engine.
|
69
72
|
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
70
73
|
Structure is documented below.
|
74
|
+
:param builtins.bool allow_cross_region: If the flag set to true, we allow the agent and engine are in
|
75
|
+
different locations, otherwise the agent and engine are required to be
|
76
|
+
in the same location. The flag is set to false by default.
|
77
|
+
Note that the `allow_cross_region` are one-time consumed by and passed
|
78
|
+
to EngineService.CreateEngine. It means they cannot be retrieved using
|
79
|
+
EngineService.GetEngine or EngineService.ListEngines API after engine
|
80
|
+
creation.
|
71
81
|
:param builtins.str dialogflow_agent_to_link: The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
|
72
82
|
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
73
83
|
"""
|
74
84
|
if agent_creation_config is not None:
|
75
85
|
pulumi.set(__self__, "agent_creation_config", agent_creation_config)
|
86
|
+
if allow_cross_region is not None:
|
87
|
+
pulumi.set(__self__, "allow_cross_region", allow_cross_region)
|
76
88
|
if dialogflow_agent_to_link is not None:
|
77
89
|
pulumi.set(__self__, "dialogflow_agent_to_link", dialogflow_agent_to_link)
|
78
90
|
|
@@ -86,6 +98,20 @@ class ChatEngineChatEngineConfig(dict):
|
|
86
98
|
"""
|
87
99
|
return pulumi.get(self, "agent_creation_config")
|
88
100
|
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="allowCrossRegion")
|
103
|
+
def allow_cross_region(self) -> Optional[builtins.bool]:
|
104
|
+
"""
|
105
|
+
If the flag set to true, we allow the agent and engine are in
|
106
|
+
different locations, otherwise the agent and engine are required to be
|
107
|
+
in the same location. The flag is set to false by default.
|
108
|
+
Note that the `allow_cross_region` are one-time consumed by and passed
|
109
|
+
to EngineService.CreateEngine. It means they cannot be retrieved using
|
110
|
+
EngineService.GetEngine or EngineService.ListEngines API after engine
|
111
|
+
creation.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "allow_cross_region")
|
114
|
+
|
89
115
|
@property
|
90
116
|
@pulumi.getter(name="dialogflowAgentToLink")
|
91
117
|
def dialogflow_agent_to_link(self) -> Optional[builtins.str]:
|
@@ -67,6 +67,8 @@ if not MYPY:
|
|
67
67
|
language: NotRequired[pulumi.Input[builtins.str]]
|
68
68
|
"""
|
69
69
|
`Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
|
70
|
+
|
71
|
+
- - -
|
70
72
|
"""
|
71
73
|
elif False:
|
72
74
|
RulesetSourceArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -79,6 +81,8 @@ class RulesetSourceArgs:
|
|
79
81
|
"""
|
80
82
|
:param pulumi.Input[Sequence[pulumi.Input['RulesetSourceFileArgs']]] files: `File` set constituting the `Source` bundle.
|
81
83
|
:param pulumi.Input[builtins.str] language: `Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
|
84
|
+
|
85
|
+
- - -
|
82
86
|
"""
|
83
87
|
pulumi.set(__self__, "files", files)
|
84
88
|
if language is not None:
|
@@ -101,6 +105,8 @@ class RulesetSourceArgs:
|
|
101
105
|
def language(self) -> Optional[pulumi.Input[builtins.str]]:
|
102
106
|
"""
|
103
107
|
`Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
|
108
|
+
|
109
|
+
- - -
|
104
110
|
"""
|
105
111
|
return pulumi.get(self, "language")
|
106
112
|
|
@@ -118,8 +124,6 @@ if not MYPY:
|
|
118
124
|
name: pulumi.Input[builtins.str]
|
119
125
|
"""
|
120
126
|
File name.
|
121
|
-
|
122
|
-
- - -
|
123
127
|
"""
|
124
128
|
fingerprint: NotRequired[pulumi.Input[builtins.str]]
|
125
129
|
"""
|
@@ -137,8 +141,6 @@ class RulesetSourceFileArgs:
|
|
137
141
|
"""
|
138
142
|
:param pulumi.Input[builtins.str] content: Textual Content.
|
139
143
|
:param pulumi.Input[builtins.str] name: File name.
|
140
|
-
|
141
|
-
- - -
|
142
144
|
:param pulumi.Input[builtins.str] fingerprint: Fingerprint (e.g. github sha) associated with the `File`.
|
143
145
|
"""
|
144
146
|
pulumi.set(__self__, "content", content)
|
@@ -163,8 +165,6 @@ class RulesetSourceFileArgs:
|
|
163
165
|
def name(self) -> pulumi.Input[builtins.str]:
|
164
166
|
"""
|
165
167
|
File name.
|
166
|
-
|
167
|
-
- - -
|
168
168
|
"""
|
169
169
|
return pulumi.get(self, "name")
|
170
170
|
|
@@ -49,6 +49,8 @@ class RulesetSource(dict):
|
|
49
49
|
"""
|
50
50
|
:param Sequence['RulesetSourceFileArgs'] files: `File` set constituting the `Source` bundle.
|
51
51
|
:param builtins.str language: `Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
|
52
|
+
|
53
|
+
- - -
|
52
54
|
"""
|
53
55
|
pulumi.set(__self__, "files", files)
|
54
56
|
if language is not None:
|
@@ -67,6 +69,8 @@ class RulesetSource(dict):
|
|
67
69
|
def language(self) -> Optional[builtins.str]:
|
68
70
|
"""
|
69
71
|
`Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
|
72
|
+
|
73
|
+
- - -
|
70
74
|
"""
|
71
75
|
return pulumi.get(self, "language")
|
72
76
|
|
@@ -80,8 +84,6 @@ class RulesetSourceFile(dict):
|
|
80
84
|
"""
|
81
85
|
:param builtins.str content: Textual Content.
|
82
86
|
:param builtins.str name: File name.
|
83
|
-
|
84
|
-
- - -
|
85
87
|
:param builtins.str fingerprint: Fingerprint (e.g. github sha) associated with the `File`.
|
86
88
|
"""
|
87
89
|
pulumi.set(__self__, "content", content)
|
@@ -102,8 +104,6 @@ class RulesetSourceFile(dict):
|
|
102
104
|
def name(self) -> builtins.str:
|
103
105
|
"""
|
104
106
|
File name.
|
105
|
-
|
106
|
-
- - -
|
107
107
|
"""
|
108
108
|
return pulumi.get(self, "name")
|
109
109
|
|
pulumi_gcp/gkebackup/__init__.py
CHANGED
@@ -6,12 +6,14 @@ import builtins
|
|
6
6
|
from .. import _utilities
|
7
7
|
import typing
|
8
8
|
# Export this package's modules as members:
|
9
|
+
from .backup_channel import *
|
9
10
|
from .backup_plan import *
|
10
11
|
from .backup_plan_iam_binding import *
|
11
12
|
from .backup_plan_iam_member import *
|
12
13
|
from .backup_plan_iam_policy import *
|
13
14
|
from .get_backup_plan_iam_policy import *
|
14
15
|
from .get_restore_plan_iam_policy import *
|
16
|
+
from .restore_channel import *
|
15
17
|
from .restore_plan import *
|
16
18
|
from .restore_plan_iam_binding import *
|
17
19
|
from .restore_plan_iam_member import *
|