pulumi-gcp 8.6.0a1728595713__py3-none-any.whl → 8.6.0a1729037011__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 +8 -0
- pulumi_gcp/bigtable/_inputs.py +58 -0
- pulumi_gcp/bigtable/instance_iam_binding.py +13 -34
- pulumi_gcp/bigtable/instance_iam_member.py +13 -34
- pulumi_gcp/bigtable/instance_iam_policy.py +0 -47
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/compute/_inputs.py +3 -3
- pulumi_gcp/compute/outputs.py +2 -2
- pulumi_gcp/container/_inputs.py +12 -0
- pulumi_gcp/container/outputs.py +8 -0
- pulumi_gcp/discoveryengine/_inputs.py +32 -5
- pulumi_gcp/discoveryengine/chat_engine.py +64 -0
- pulumi_gcp/discoveryengine/outputs.py +22 -3
- pulumi_gcp/kms/key_handle.py +8 -8
- pulumi_gcp/netapp/backup_vault.py +2 -2
- pulumi_gcp/networkconnectivity/_inputs.py +70 -0
- pulumi_gcp/networkconnectivity/internal_range.py +117 -7
- pulumi_gcp/networkconnectivity/outputs.py +42 -0
- pulumi_gcp/networkservices/gateway.py +54 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/outputs.py +2 -10
- pulumi_gcp/securesourcemanager/__init__.py +1 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +975 -0
- pulumi_gcp/spanner/backup_schedule.py +4 -2
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/RECORD +28 -27
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/top_level.txt +0 -0
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -18809,7 +18809,7 @@ if not MYPY:
|
|
18809
18809
|
is not accessible from the Internet (this means that ssh provisioners will
|
18810
18810
|
not work unless you can send traffic to the instance's
|
18811
18811
|
network (e.g. via tunnel or because it is running on another cloud instance
|
18812
|
-
on that network). This block can be
|
18812
|
+
on that network). This block can be specified once per `network_interface`. Structure documented below.
|
18813
18813
|
"""
|
18814
18814
|
alias_ip_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['InstanceTemplateNetworkInterfaceAliasIpRangeArgsDict']]]]
|
18815
18815
|
"""
|
@@ -18905,7 +18905,7 @@ class InstanceTemplateNetworkInterfaceArgs:
|
|
18905
18905
|
is not accessible from the Internet (this means that ssh provisioners will
|
18906
18906
|
not work unless you can send traffic to the instance's
|
18907
18907
|
network (e.g. via tunnel or because it is running on another cloud instance
|
18908
|
-
on that network). This block can be
|
18908
|
+
on that network). This block can be specified once per `network_interface`. Structure documented below.
|
18909
18909
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceTemplateNetworkInterfaceAliasIpRangeArgs']]] alias_ip_ranges: An
|
18910
18910
|
array of alias IP ranges for this network interface. Can only be specified for network
|
18911
18911
|
interfaces on subnet-mode networks. Structure documented below.
|
@@ -18972,7 +18972,7 @@ class InstanceTemplateNetworkInterfaceArgs:
|
|
18972
18972
|
is not accessible from the Internet (this means that ssh provisioners will
|
18973
18973
|
not work unless you can send traffic to the instance's
|
18974
18974
|
network (e.g. via tunnel or because it is running on another cloud instance
|
18975
|
-
on that network). This block can be
|
18975
|
+
on that network). This block can be specified once per `network_interface`. Structure documented below.
|
18976
18976
|
"""
|
18977
18977
|
return pulumi.get(self, "access_configs")
|
18978
18978
|
|
pulumi_gcp/compute/outputs.py
CHANGED
@@ -14060,7 +14060,7 @@ class InstanceTemplateNetworkInterface(dict):
|
|
14060
14060
|
is not accessible from the Internet (this means that ssh provisioners will
|
14061
14061
|
not work unless you can send traffic to the instance's
|
14062
14062
|
network (e.g. via tunnel or because it is running on another cloud instance
|
14063
|
-
on that network). This block can be
|
14063
|
+
on that network). This block can be specified once per `network_interface`. Structure documented below.
|
14064
14064
|
:param Sequence['InstanceTemplateNetworkInterfaceAliasIpRangeArgs'] alias_ip_ranges: An
|
14065
14065
|
array of alias IP ranges for this network interface. Can only be specified for network
|
14066
14066
|
interfaces on subnet-mode networks. Structure documented below.
|
@@ -14127,7 +14127,7 @@ class InstanceTemplateNetworkInterface(dict):
|
|
14127
14127
|
is not accessible from the Internet (this means that ssh provisioners will
|
14128
14128
|
not work unless you can send traffic to the instance's
|
14129
14129
|
network (e.g. via tunnel or because it is running on another cloud instance
|
14130
|
-
on that network). This block can be
|
14130
|
+
on that network). This block can be specified once per `network_interface`. Structure documented below.
|
14131
14131
|
"""
|
14132
14132
|
return pulumi.get(self, "access_configs")
|
14133
14133
|
|
pulumi_gcp/container/_inputs.py
CHANGED
@@ -9887,6 +9887,8 @@ if not MYPY:
|
|
9887
9887
|
The CPU management policy on the node. See
|
9888
9888
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
9889
9889
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
9890
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
9891
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
9890
9892
|
"""
|
9891
9893
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
9892
9894
|
"""
|
@@ -9917,6 +9919,8 @@ class ClusterNodeConfigKubeletConfigArgs:
|
|
9917
9919
|
:param pulumi.Input[str] cpu_manager_policy: The CPU management policy on the node. See
|
9918
9920
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
9919
9921
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
9922
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
9923
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
9920
9924
|
:param pulumi.Input[str] insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
9921
9925
|
:param pulumi.Input[int] pod_pids_limit: Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
|
9922
9926
|
"""
|
@@ -9966,6 +9970,8 @@ class ClusterNodeConfigKubeletConfigArgs:
|
|
9966
9970
|
The CPU management policy on the node. See
|
9967
9971
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
9968
9972
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
9973
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
9974
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
9969
9975
|
"""
|
9970
9976
|
return pulumi.get(self, "cpu_manager_policy")
|
9971
9977
|
|
@@ -13778,6 +13784,8 @@ if not MYPY:
|
|
13778
13784
|
The CPU management policy on the node. See
|
13779
13785
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
13780
13786
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
13787
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
13788
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
13781
13789
|
"""
|
13782
13790
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
13783
13791
|
"""
|
@@ -13808,6 +13816,8 @@ class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
|
13808
13816
|
:param pulumi.Input[str] cpu_manager_policy: The CPU management policy on the node. See
|
13809
13817
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
13810
13818
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
13819
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
13820
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
13811
13821
|
:param pulumi.Input[str] insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
13812
13822
|
:param pulumi.Input[int] pod_pids_limit: Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
|
13813
13823
|
"""
|
@@ -13857,6 +13867,8 @@ class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
|
13857
13867
|
The CPU management policy on the node. See
|
13858
13868
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
13859
13869
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
13870
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
13871
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
13860
13872
|
"""
|
13861
13873
|
return pulumi.get(self, "cpu_manager_policy")
|
13862
13874
|
|
pulumi_gcp/container/outputs.py
CHANGED
@@ -8045,6 +8045,8 @@ class ClusterNodeConfigKubeletConfig(dict):
|
|
8045
8045
|
:param str cpu_manager_policy: The CPU management policy on the node. See
|
8046
8046
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
8047
8047
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
8048
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
8049
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
8048
8050
|
:param str insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
8049
8051
|
:param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
|
8050
8052
|
"""
|
@@ -8086,6 +8088,8 @@ class ClusterNodeConfigKubeletConfig(dict):
|
|
8086
8088
|
The CPU management policy on the node. See
|
8087
8089
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
8088
8090
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
8091
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
8092
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
8089
8093
|
"""
|
8090
8094
|
return pulumi.get(self, "cpu_manager_policy")
|
8091
8095
|
|
@@ -11123,6 +11127,8 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
|
|
11123
11127
|
:param str cpu_manager_policy: The CPU management policy on the node. See
|
11124
11128
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
11125
11129
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
11130
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
11131
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
11126
11132
|
:param str insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
11127
11133
|
:param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
|
11128
11134
|
"""
|
@@ -11164,6 +11170,8 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
|
|
11164
11170
|
The CPU management policy on the node. See
|
11165
11171
|
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
11166
11172
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
11173
|
+
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
11174
|
+
is setting the empty string `""`, which will function identically to not setting this field.
|
11167
11175
|
"""
|
11168
11176
|
return pulumi.get(self, "cpu_manager_policy")
|
11169
11177
|
|
@@ -61,37 +61,64 @@ MYPY = False
|
|
61
61
|
|
62
62
|
if not MYPY:
|
63
63
|
class ChatEngineChatEngineConfigArgsDict(TypedDict):
|
64
|
-
agent_creation_config: pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgsDict']
|
64
|
+
agent_creation_config: NotRequired[pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgsDict']]
|
65
65
|
"""
|
66
66
|
The configuration to generate the Dialogflow agent that is associated to this Engine.
|
67
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
67
68
|
Structure is documented below.
|
68
69
|
"""
|
70
|
+
dialogflow_agent_to_link: NotRequired[pulumi.Input[str]]
|
71
|
+
"""
|
72
|
+
The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
|
73
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
74
|
+
"""
|
69
75
|
elif False:
|
70
76
|
ChatEngineChatEngineConfigArgsDict: TypeAlias = Mapping[str, Any]
|
71
77
|
|
72
78
|
@pulumi.input_type
|
73
79
|
class ChatEngineChatEngineConfigArgs:
|
74
80
|
def __init__(__self__, *,
|
75
|
-
agent_creation_config: pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']
|
81
|
+
agent_creation_config: Optional[pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']] = None,
|
82
|
+
dialogflow_agent_to_link: Optional[pulumi.Input[str]] = None):
|
76
83
|
"""
|
77
84
|
:param pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs'] agent_creation_config: The configuration to generate the Dialogflow agent that is associated to this Engine.
|
85
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
78
86
|
Structure is documented below.
|
87
|
+
:param pulumi.Input[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>`.
|
88
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
79
89
|
"""
|
80
|
-
|
90
|
+
if agent_creation_config is not None:
|
91
|
+
pulumi.set(__self__, "agent_creation_config", agent_creation_config)
|
92
|
+
if dialogflow_agent_to_link is not None:
|
93
|
+
pulumi.set(__self__, "dialogflow_agent_to_link", dialogflow_agent_to_link)
|
81
94
|
|
82
95
|
@property
|
83
96
|
@pulumi.getter(name="agentCreationConfig")
|
84
|
-
def agent_creation_config(self) -> pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']:
|
97
|
+
def agent_creation_config(self) -> Optional[pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']]:
|
85
98
|
"""
|
86
99
|
The configuration to generate the Dialogflow agent that is associated to this Engine.
|
100
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
87
101
|
Structure is documented below.
|
88
102
|
"""
|
89
103
|
return pulumi.get(self, "agent_creation_config")
|
90
104
|
|
91
105
|
@agent_creation_config.setter
|
92
|
-
def agent_creation_config(self, value: pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']):
|
106
|
+
def agent_creation_config(self, value: Optional[pulumi.Input['ChatEngineChatEngineConfigAgentCreationConfigArgs']]):
|
93
107
|
pulumi.set(self, "agent_creation_config", value)
|
94
108
|
|
109
|
+
@property
|
110
|
+
@pulumi.getter(name="dialogflowAgentToLink")
|
111
|
+
def dialogflow_agent_to_link(self) -> Optional[pulumi.Input[str]]:
|
112
|
+
"""
|
113
|
+
The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
|
114
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "dialogflow_agent_to_link")
|
117
|
+
|
118
|
+
@dialogflow_agent_to_link.setter
|
119
|
+
def dialogflow_agent_to_link(self, value: Optional[pulumi.Input[str]]):
|
120
|
+
pulumi.set(self, "dialogflow_agent_to_link", value)
|
121
|
+
|
95
122
|
|
96
123
|
if not MYPY:
|
97
124
|
class ChatEngineChatEngineConfigAgentCreationConfigArgsDict(TypedDict):
|
@@ -455,6 +455,38 @@ class ChatEngine(pulumi.CustomResource):
|
|
455
455
|
},
|
456
456
|
})
|
457
457
|
```
|
458
|
+
### Discoveryengine Chat Engine Existing Dialogflow Agent
|
459
|
+
|
460
|
+
```python
|
461
|
+
import pulumi
|
462
|
+
import pulumi_gcp as gcp
|
463
|
+
|
464
|
+
test_data_store = gcp.discoveryengine.DataStore("test_data_store",
|
465
|
+
location="global",
|
466
|
+
data_store_id="data-store",
|
467
|
+
display_name="Structured datastore",
|
468
|
+
industry_vertical="GENERIC",
|
469
|
+
content_config="NO_CONTENT",
|
470
|
+
solution_types=["SOLUTION_TYPE_CHAT"])
|
471
|
+
agent = gcp.diagflow.CxAgent("agent",
|
472
|
+
display_name="dialogflowcx-agent",
|
473
|
+
location="global",
|
474
|
+
default_language_code="en",
|
475
|
+
time_zone="America/Los_Angeles")
|
476
|
+
primary = gcp.discoveryengine.ChatEngine("primary",
|
477
|
+
engine_id="chat-engine-id",
|
478
|
+
collection_id="default_collection",
|
479
|
+
location=test_data_store.location,
|
480
|
+
display_name="Chat engine",
|
481
|
+
industry_vertical="GENERIC",
|
482
|
+
data_store_ids=[test_data_store.data_store_id],
|
483
|
+
common_config={
|
484
|
+
"company_name": "test-company",
|
485
|
+
},
|
486
|
+
chat_engine_config={
|
487
|
+
"dialogflow_agent_to_link": agent.id,
|
488
|
+
})
|
489
|
+
```
|
458
490
|
|
459
491
|
## Import
|
460
492
|
|
@@ -551,6 +583,38 @@ class ChatEngine(pulumi.CustomResource):
|
|
551
583
|
},
|
552
584
|
})
|
553
585
|
```
|
586
|
+
### Discoveryengine Chat Engine Existing Dialogflow Agent
|
587
|
+
|
588
|
+
```python
|
589
|
+
import pulumi
|
590
|
+
import pulumi_gcp as gcp
|
591
|
+
|
592
|
+
test_data_store = gcp.discoveryengine.DataStore("test_data_store",
|
593
|
+
location="global",
|
594
|
+
data_store_id="data-store",
|
595
|
+
display_name="Structured datastore",
|
596
|
+
industry_vertical="GENERIC",
|
597
|
+
content_config="NO_CONTENT",
|
598
|
+
solution_types=["SOLUTION_TYPE_CHAT"])
|
599
|
+
agent = gcp.diagflow.CxAgent("agent",
|
600
|
+
display_name="dialogflowcx-agent",
|
601
|
+
location="global",
|
602
|
+
default_language_code="en",
|
603
|
+
time_zone="America/Los_Angeles")
|
604
|
+
primary = gcp.discoveryengine.ChatEngine("primary",
|
605
|
+
engine_id="chat-engine-id",
|
606
|
+
collection_id="default_collection",
|
607
|
+
location=test_data_store.location,
|
608
|
+
display_name="Chat engine",
|
609
|
+
industry_vertical="GENERIC",
|
610
|
+
data_store_ids=[test_data_store.data_store_id],
|
611
|
+
common_config={
|
612
|
+
"company_name": "test-company",
|
613
|
+
},
|
614
|
+
chat_engine_config={
|
615
|
+
"dialogflow_agent_to_link": agent.id,
|
616
|
+
})
|
617
|
+
```
|
554
618
|
|
555
619
|
## Import
|
556
620
|
|
@@ -45,6 +45,8 @@ class ChatEngineChatEngineConfig(dict):
|
|
45
45
|
suggest = None
|
46
46
|
if key == "agentCreationConfig":
|
47
47
|
suggest = "agent_creation_config"
|
48
|
+
elif key == "dialogflowAgentToLink":
|
49
|
+
suggest = "dialogflow_agent_to_link"
|
48
50
|
|
49
51
|
if suggest:
|
50
52
|
pulumi.log.warn(f"Key '{key}' not found in ChatEngineChatEngineConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -58,22 +60,39 @@ class ChatEngineChatEngineConfig(dict):
|
|
58
60
|
return super().get(key, default)
|
59
61
|
|
60
62
|
def __init__(__self__, *,
|
61
|
-
agent_creation_config: 'outputs.ChatEngineChatEngineConfigAgentCreationConfig'
|
63
|
+
agent_creation_config: Optional['outputs.ChatEngineChatEngineConfigAgentCreationConfig'] = None,
|
64
|
+
dialogflow_agent_to_link: Optional[str] = None):
|
62
65
|
"""
|
63
66
|
:param 'ChatEngineChatEngineConfigAgentCreationConfigArgs' agent_creation_config: The configuration to generate the Dialogflow agent that is associated to this Engine.
|
67
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
64
68
|
Structure is documented below.
|
69
|
+
:param 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>`.
|
70
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
65
71
|
"""
|
66
|
-
|
72
|
+
if agent_creation_config is not None:
|
73
|
+
pulumi.set(__self__, "agent_creation_config", agent_creation_config)
|
74
|
+
if dialogflow_agent_to_link is not None:
|
75
|
+
pulumi.set(__self__, "dialogflow_agent_to_link", dialogflow_agent_to_link)
|
67
76
|
|
68
77
|
@property
|
69
78
|
@pulumi.getter(name="agentCreationConfig")
|
70
|
-
def agent_creation_config(self) -> 'outputs.ChatEngineChatEngineConfigAgentCreationConfig':
|
79
|
+
def agent_creation_config(self) -> Optional['outputs.ChatEngineChatEngineConfigAgentCreationConfig']:
|
71
80
|
"""
|
72
81
|
The configuration to generate the Dialogflow agent that is associated to this Engine.
|
82
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
73
83
|
Structure is documented below.
|
74
84
|
"""
|
75
85
|
return pulumi.get(self, "agent_creation_config")
|
76
86
|
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="dialogflowAgentToLink")
|
89
|
+
def dialogflow_agent_to_link(self) -> Optional[str]:
|
90
|
+
"""
|
91
|
+
The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
|
92
|
+
Exactly one of `agent_creation_config` or `dialogflow_agent_to_link` must be set.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "dialogflow_agent_to_link")
|
95
|
+
|
77
96
|
|
78
97
|
@pulumi.output_type
|
79
98
|
class ChatEngineChatEngineConfigAgentCreationConfig(dict):
|
pulumi_gcp/kms/key_handle.py
CHANGED
@@ -224,7 +224,7 @@ class KeyHandle(pulumi.CustomResource):
|
|
224
224
|
|
225
225
|
# Create Folder in GCP Organization
|
226
226
|
autokms_folder = gcp.organizations.Folder("autokms_folder",
|
227
|
-
display_name="folder
|
227
|
+
display_name="my-folder",
|
228
228
|
parent="organizations/123456789",
|
229
229
|
deletion_protection=False)
|
230
230
|
# Create the key project
|
@@ -237,8 +237,8 @@ class KeyHandle(pulumi.CustomResource):
|
|
237
237
|
opts = pulumi.ResourceOptions(depends_on=[autokms_folder]))
|
238
238
|
# Create the resource project
|
239
239
|
resource_project = gcp.organizations.Project("resource_project",
|
240
|
-
project_id="
|
241
|
-
name="
|
240
|
+
project_id="res-proj",
|
241
|
+
name="res-proj",
|
242
242
|
folder_id=autokms_folder.folder_id,
|
243
243
|
billing_account="000000-0000000-0000000-000000",
|
244
244
|
deletion_policy="DELETE",
|
@@ -279,7 +279,7 @@ class KeyHandle(pulumi.CustomResource):
|
|
279
279
|
opts = pulumi.ResourceOptions(depends_on=[autokey_config]))
|
280
280
|
example_keyhandle = gcp.kms.KeyHandle("example-keyhandle",
|
281
281
|
project=resource_project.project_id,
|
282
|
-
name="
|
282
|
+
name="tf-test-key-handle",
|
283
283
|
location="global",
|
284
284
|
resource_type_selector="storage.googleapis.com/Bucket",
|
285
285
|
opts = pulumi.ResourceOptions(depends_on=[wait_autokey_config]))
|
@@ -340,7 +340,7 @@ class KeyHandle(pulumi.CustomResource):
|
|
340
340
|
|
341
341
|
# Create Folder in GCP Organization
|
342
342
|
autokms_folder = gcp.organizations.Folder("autokms_folder",
|
343
|
-
display_name="folder
|
343
|
+
display_name="my-folder",
|
344
344
|
parent="organizations/123456789",
|
345
345
|
deletion_protection=False)
|
346
346
|
# Create the key project
|
@@ -353,8 +353,8 @@ class KeyHandle(pulumi.CustomResource):
|
|
353
353
|
opts = pulumi.ResourceOptions(depends_on=[autokms_folder]))
|
354
354
|
# Create the resource project
|
355
355
|
resource_project = gcp.organizations.Project("resource_project",
|
356
|
-
project_id="
|
357
|
-
name="
|
356
|
+
project_id="res-proj",
|
357
|
+
name="res-proj",
|
358
358
|
folder_id=autokms_folder.folder_id,
|
359
359
|
billing_account="000000-0000000-0000000-000000",
|
360
360
|
deletion_policy="DELETE",
|
@@ -395,7 +395,7 @@ class KeyHandle(pulumi.CustomResource):
|
|
395
395
|
opts = pulumi.ResourceOptions(depends_on=[autokey_config]))
|
396
396
|
example_keyhandle = gcp.kms.KeyHandle("example-keyhandle",
|
397
397
|
project=resource_project.project_id,
|
398
|
-
name="
|
398
|
+
name="tf-test-key-handle",
|
399
399
|
location="global",
|
400
400
|
resource_type_selector="storage.googleapis.com/Bucket",
|
401
401
|
opts = pulumi.ResourceOptions(depends_on=[wait_autokey_config]))
|
@@ -316,7 +316,7 @@ class BackupVault(pulumi.CustomResource):
|
|
316
316
|
|
317
317
|
test_backup_vault = gcp.netapp.BackupVault("test_backup_vault",
|
318
318
|
name="test-backup-vault",
|
319
|
-
location="us-
|
319
|
+
location="us-west1",
|
320
320
|
description="Terraform created vault",
|
321
321
|
labels={
|
322
322
|
"creator": "testuser",
|
@@ -388,7 +388,7 @@ class BackupVault(pulumi.CustomResource):
|
|
388
388
|
|
389
389
|
test_backup_vault = gcp.netapp.BackupVault("test_backup_vault",
|
390
390
|
name="test-backup-vault",
|
391
|
-
location="us-
|
391
|
+
location="us-west1",
|
392
392
|
description="Terraform created vault",
|
393
393
|
labels={
|
394
394
|
"creator": "testuser",
|
@@ -17,6 +17,8 @@ from .. import _utilities
|
|
17
17
|
__all__ = [
|
18
18
|
'HubRoutingVpcArgs',
|
19
19
|
'HubRoutingVpcArgsDict',
|
20
|
+
'InternalRangeMigrationArgs',
|
21
|
+
'InternalRangeMigrationArgsDict',
|
20
22
|
'PolicyBasedRouteFilterArgs',
|
21
23
|
'PolicyBasedRouteFilterArgsDict',
|
22
24
|
'PolicyBasedRouteInterconnectAttachmentArgs',
|
@@ -79,6 +81,74 @@ class HubRoutingVpcArgs:
|
|
79
81
|
pulumi.set(self, "uri", value)
|
80
82
|
|
81
83
|
|
84
|
+
if not MYPY:
|
85
|
+
class InternalRangeMigrationArgsDict(TypedDict):
|
86
|
+
source: pulumi.Input[str]
|
87
|
+
"""
|
88
|
+
Resource path as an URI of the source resource, for example a subnet.
|
89
|
+
The project for the source resource should match the project for the
|
90
|
+
InternalRange.
|
91
|
+
An example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
92
|
+
"""
|
93
|
+
target: pulumi.Input[str]
|
94
|
+
"""
|
95
|
+
Resource path of the target resource. The target project can be
|
96
|
+
different, as in the cases when migrating to peer networks. The resource
|
97
|
+
may not exist yet.
|
98
|
+
For example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
99
|
+
"""
|
100
|
+
elif False:
|
101
|
+
InternalRangeMigrationArgsDict: TypeAlias = Mapping[str, Any]
|
102
|
+
|
103
|
+
@pulumi.input_type
|
104
|
+
class InternalRangeMigrationArgs:
|
105
|
+
def __init__(__self__, *,
|
106
|
+
source: pulumi.Input[str],
|
107
|
+
target: pulumi.Input[str]):
|
108
|
+
"""
|
109
|
+
:param pulumi.Input[str] source: Resource path as an URI of the source resource, for example a subnet.
|
110
|
+
The project for the source resource should match the project for the
|
111
|
+
InternalRange.
|
112
|
+
An example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
113
|
+
:param pulumi.Input[str] target: Resource path of the target resource. The target project can be
|
114
|
+
different, as in the cases when migrating to peer networks. The resource
|
115
|
+
may not exist yet.
|
116
|
+
For example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
117
|
+
"""
|
118
|
+
pulumi.set(__self__, "source", source)
|
119
|
+
pulumi.set(__self__, "target", target)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def source(self) -> pulumi.Input[str]:
|
124
|
+
"""
|
125
|
+
Resource path as an URI of the source resource, for example a subnet.
|
126
|
+
The project for the source resource should match the project for the
|
127
|
+
InternalRange.
|
128
|
+
An example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "source")
|
131
|
+
|
132
|
+
@source.setter
|
133
|
+
def source(self, value: pulumi.Input[str]):
|
134
|
+
pulumi.set(self, "source", value)
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter
|
138
|
+
def target(self) -> pulumi.Input[str]:
|
139
|
+
"""
|
140
|
+
Resource path of the target resource. The target project can be
|
141
|
+
different, as in the cases when migrating to peer networks. The resource
|
142
|
+
may not exist yet.
|
143
|
+
For example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "target")
|
146
|
+
|
147
|
+
@target.setter
|
148
|
+
def target(self, value: pulumi.Input[str]):
|
149
|
+
pulumi.set(self, "target", value)
|
150
|
+
|
151
|
+
|
82
152
|
if not MYPY:
|
83
153
|
class PolicyBasedRouteFilterArgsDict(TypedDict):
|
84
154
|
protocol_version: pulumi.Input[str]
|