pulumi-gcp 8.36.0a1750484065__py3-none-any.whl → 8.37.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 +59 -0
- pulumi_gcp/alloydb/_inputs.py +26 -0
- pulumi_gcp/alloydb/outputs.py +34 -1
- pulumi_gcp/apihub/__init__.py +2 -0
- pulumi_gcp/apihub/_inputs.py +1658 -0
- pulumi_gcp/apihub/outputs.py +1374 -0
- pulumi_gcp/apihub/plugin.py +1146 -0
- pulumi_gcp/apihub/plugin_instance.py +808 -0
- pulumi_gcp/bigquery/table.py +16 -12
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +56 -6
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +73 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +201 -48
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +28 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +50 -4
- pulumi_gcp/bigtable/table.py +82 -0
- pulumi_gcp/cloudidentity/group_membership.py +47 -0
- pulumi_gcp/cloudidentity/outputs.py +11 -0
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +64 -8
- pulumi_gcp/cloudrunv2/_inputs.py +65 -9
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +73 -8
- pulumi_gcp/cloudrunv2/service.py +0 -2
- pulumi_gcp/cloudrunv2/worker_pool.py +18 -20
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +787 -18
- pulumi_gcp/compute/disk.py +35 -28
- pulumi_gcp/compute/firewall_policy_rule.py +207 -0
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_disk.py +12 -1
- pulumi_gcp/compute/instance.py +2 -2
- pulumi_gcp/compute/instance_group_manager.py +165 -14
- pulumi_gcp/compute/instance_template.py +2 -2
- pulumi_gcp/compute/interconnect.py +43 -11
- pulumi_gcp/compute/network.py +56 -0
- pulumi_gcp/compute/network_firewall_policy.py +68 -0
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +61 -0
- pulumi_gcp/compute/node_template.py +21 -0
- pulumi_gcp/compute/outputs.py +620 -12
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/region_network_firewall_policy.py +90 -0
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +109 -0
- pulumi_gcp/compute/service_attachment.py +76 -8
- pulumi_gcp/compute/wire_group.py +751 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/contactcenterinsights/__init__.py +9 -0
- pulumi_gcp/contactcenterinsights/view.py +526 -0
- pulumi_gcp/container/_inputs.py +207 -28
- pulumi_gcp/container/cluster.py +54 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/get_engine_versions.py +15 -1
- pulumi_gcp/container/node_pool.py +14 -0
- pulumi_gcp/container/outputs.py +295 -21
- pulumi_gcp/dataplex/_inputs.py +431 -6
- pulumi_gcp/dataplex/datascan.py +251 -0
- pulumi_gcp/dataplex/entry_type.py +2 -2
- pulumi_gcp/dataplex/glossary_category.py +8 -8
- pulumi_gcp/dataplex/glossary_term.py +8 -8
- pulumi_gcp/dataplex/outputs.py +353 -4
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/__init__.py +1 -0
- pulumi_gcp/dataproc/_inputs.py +486 -0
- pulumi_gcp/dataproc/batch.py +10 -10
- pulumi_gcp/dataproc/outputs.py +407 -0
- pulumi_gcp/dataproc/session_template.py +1084 -0
- pulumi_gcp/diagflow/__init__.py +2 -0
- pulumi_gcp/diagflow/_inputs.py +479 -0
- pulumi_gcp/diagflow/cx_generative_settings.py +625 -0
- pulumi_gcp/diagflow/cx_tool.py +2 -2
- pulumi_gcp/diagflow/encryption_spec.py +382 -0
- pulumi_gcp/diagflow/outputs.py +416 -0
- pulumi_gcp/dns/record_set.py +4 -2
- pulumi_gcp/firestore/database.py +0 -9
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- pulumi_gcp/iam/_inputs.py +36 -0
- pulumi_gcp/iam/outputs.py +38 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +88 -2
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/kms/autokey_config.py +28 -0
- pulumi_gcp/kms/get_autokey_config.py +12 -1
- pulumi_gcp/lustre/get_instance.py +12 -1
- pulumi_gcp/lustre/instance.py +143 -86
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/memorystore/get_instance.py +12 -1
- pulumi_gcp/memorystore/instance.py +49 -0
- pulumi_gcp/monitoring/metric_descriptor.py +55 -57
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/notebooks/instance.py +8 -8
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +44 -0
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +7 -0
- pulumi_gcp/secretmanager/regional_secret.py +38 -2
- pulumi_gcp/spanner/_inputs.py +24 -1
- pulumi_gcp/spanner/outputs.py +17 -1
- pulumi_gcp/storage/_inputs.py +43 -3
- pulumi_gcp/storage/bucket_object.py +56 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/outputs.py +53 -3
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workbench/instance.py +2 -0
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/RECORD +117 -109
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/config/__init__.pyi
CHANGED
pulumi_gcp/config/vars.py
CHANGED
@@ -226,6 +226,10 @@ class _ExportableConfig(types.ModuleType):
|
|
226
226
|
def compute_custom_endpoint(self) -> Optional[str]:
|
227
227
|
return __config__.get('computeCustomEndpoint')
|
228
228
|
|
229
|
+
@property
|
230
|
+
def contact_center_insights_custom_endpoint(self) -> Optional[str]:
|
231
|
+
return __config__.get('contactCenterInsightsCustomEndpoint')
|
232
|
+
|
229
233
|
@property
|
230
234
|
def container_analysis_custom_endpoint(self) -> Optional[str]:
|
231
235
|
return __config__.get('containerAnalysisCustomEndpoint')
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
from .. import _utilities
|
7
|
+
import typing
|
8
|
+
# Export this package's modules as members:
|
9
|
+
from .view import *
|
@@ -0,0 +1,526 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
|
18
|
+
__all__ = ['ViewArgs', 'View']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class ViewArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
location: pulumi.Input[builtins.str],
|
24
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
25
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
26
|
+
value: Optional[pulumi.Input[builtins.str]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a View resource.
|
29
|
+
:param pulumi.Input[builtins.str] location: Location of the resource.
|
30
|
+
|
31
|
+
|
32
|
+
- - -
|
33
|
+
:param pulumi.Input[builtins.str] display_name: The human-readable display name of the view.
|
34
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
35
|
+
If it is not provided, the provider project is used.
|
36
|
+
:param pulumi.Input[builtins.str] value: A filter to reduce conversation results to a specific subset.
|
37
|
+
Refer to https://cloud.google.com/contact-center/insights/docs/filtering
|
38
|
+
for details.
|
39
|
+
"""
|
40
|
+
pulumi.set(__self__, "location", location)
|
41
|
+
if display_name is not None:
|
42
|
+
pulumi.set(__self__, "display_name", display_name)
|
43
|
+
if project is not None:
|
44
|
+
pulumi.set(__self__, "project", project)
|
45
|
+
if value is not None:
|
46
|
+
pulumi.set(__self__, "value", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def location(self) -> pulumi.Input[builtins.str]:
|
51
|
+
"""
|
52
|
+
Location of the resource.
|
53
|
+
|
54
|
+
|
55
|
+
- - -
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "location")
|
58
|
+
|
59
|
+
@location.setter
|
60
|
+
def location(self, value: pulumi.Input[builtins.str]):
|
61
|
+
pulumi.set(self, "location", value)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="displayName")
|
65
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
66
|
+
"""
|
67
|
+
The human-readable display name of the view.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "display_name")
|
70
|
+
|
71
|
+
@display_name.setter
|
72
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
73
|
+
pulumi.set(self, "display_name", value)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
78
|
+
"""
|
79
|
+
The ID of the project in which the resource belongs.
|
80
|
+
If it is not provided, the provider project is used.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "project")
|
83
|
+
|
84
|
+
@project.setter
|
85
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
86
|
+
pulumi.set(self, "project", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def value(self) -> Optional[pulumi.Input[builtins.str]]:
|
91
|
+
"""
|
92
|
+
A filter to reduce conversation results to a specific subset.
|
93
|
+
Refer to https://cloud.google.com/contact-center/insights/docs/filtering
|
94
|
+
for details.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "value")
|
97
|
+
|
98
|
+
@value.setter
|
99
|
+
def value(self, value: Optional[pulumi.Input[builtins.str]]):
|
100
|
+
pulumi.set(self, "value", value)
|
101
|
+
|
102
|
+
|
103
|
+
@pulumi.input_type
|
104
|
+
class _ViewState:
|
105
|
+
def __init__(__self__, *,
|
106
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
107
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
108
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
109
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
110
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
111
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None,
|
112
|
+
value: Optional[pulumi.Input[builtins.str]] = None):
|
113
|
+
"""
|
114
|
+
Input properties used for looking up and filtering View resources.
|
115
|
+
:param pulumi.Input[builtins.str] create_time: Output only. The time at which this view was created.
|
116
|
+
:param pulumi.Input[builtins.str] display_name: The human-readable display name of the view.
|
117
|
+
:param pulumi.Input[builtins.str] location: Location of the resource.
|
118
|
+
|
119
|
+
|
120
|
+
- - -
|
121
|
+
:param pulumi.Input[builtins.str] name: The resource name of the view. Randomly generated by Insights.
|
122
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
123
|
+
If it is not provided, the provider project is used.
|
124
|
+
:param pulumi.Input[builtins.str] update_time: Output only. The most recent time at which the view was updated.
|
125
|
+
:param pulumi.Input[builtins.str] value: A filter to reduce conversation results to a specific subset.
|
126
|
+
Refer to https://cloud.google.com/contact-center/insights/docs/filtering
|
127
|
+
for details.
|
128
|
+
"""
|
129
|
+
if create_time is not None:
|
130
|
+
pulumi.set(__self__, "create_time", create_time)
|
131
|
+
if display_name is not None:
|
132
|
+
pulumi.set(__self__, "display_name", display_name)
|
133
|
+
if location is not None:
|
134
|
+
pulumi.set(__self__, "location", location)
|
135
|
+
if name is not None:
|
136
|
+
pulumi.set(__self__, "name", name)
|
137
|
+
if project is not None:
|
138
|
+
pulumi.set(__self__, "project", project)
|
139
|
+
if update_time is not None:
|
140
|
+
pulumi.set(__self__, "update_time", update_time)
|
141
|
+
if value is not None:
|
142
|
+
pulumi.set(__self__, "value", value)
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="createTime")
|
146
|
+
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
147
|
+
"""
|
148
|
+
Output only. The time at which this view was created.
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "create_time")
|
151
|
+
|
152
|
+
@create_time.setter
|
153
|
+
def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
154
|
+
pulumi.set(self, "create_time", value)
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="displayName")
|
158
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
159
|
+
"""
|
160
|
+
The human-readable display name of the view.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "display_name")
|
163
|
+
|
164
|
+
@display_name.setter
|
165
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
166
|
+
pulumi.set(self, "display_name", value)
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter
|
170
|
+
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
171
|
+
"""
|
172
|
+
Location of the resource.
|
173
|
+
|
174
|
+
|
175
|
+
- - -
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "location")
|
178
|
+
|
179
|
+
@location.setter
|
180
|
+
def location(self, value: Optional[pulumi.Input[builtins.str]]):
|
181
|
+
pulumi.set(self, "location", value)
|
182
|
+
|
183
|
+
@property
|
184
|
+
@pulumi.getter
|
185
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
186
|
+
"""
|
187
|
+
The resource name of the view. Randomly generated by Insights.
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "name")
|
190
|
+
|
191
|
+
@name.setter
|
192
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
193
|
+
pulumi.set(self, "name", value)
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter
|
197
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
198
|
+
"""
|
199
|
+
The ID of the project in which the resource belongs.
|
200
|
+
If it is not provided, the provider project is used.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "project")
|
203
|
+
|
204
|
+
@project.setter
|
205
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
206
|
+
pulumi.set(self, "project", value)
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter(name="updateTime")
|
210
|
+
def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
211
|
+
"""
|
212
|
+
Output only. The most recent time at which the view was updated.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "update_time")
|
215
|
+
|
216
|
+
@update_time.setter
|
217
|
+
def update_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
218
|
+
pulumi.set(self, "update_time", value)
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter
|
222
|
+
def value(self) -> Optional[pulumi.Input[builtins.str]]:
|
223
|
+
"""
|
224
|
+
A filter to reduce conversation results to a specific subset.
|
225
|
+
Refer to https://cloud.google.com/contact-center/insights/docs/filtering
|
226
|
+
for details.
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "value")
|
229
|
+
|
230
|
+
@value.setter
|
231
|
+
def value(self, value: Optional[pulumi.Input[builtins.str]]):
|
232
|
+
pulumi.set(self, "value", value)
|
233
|
+
|
234
|
+
|
235
|
+
@pulumi.type_token("gcp:contactcenterinsights/view:View")
|
236
|
+
class View(pulumi.CustomResource):
|
237
|
+
@overload
|
238
|
+
def __init__(__self__,
|
239
|
+
resource_name: str,
|
240
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
241
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
242
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
243
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
244
|
+
value: Optional[pulumi.Input[builtins.str]] = None,
|
245
|
+
__props__=None):
|
246
|
+
"""
|
247
|
+
Insights View resource for filtering conversations
|
248
|
+
|
249
|
+
To get more information about View, see:
|
250
|
+
|
251
|
+
* [API documentation](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations.views)
|
252
|
+
|
253
|
+
## Example Usage
|
254
|
+
|
255
|
+
### Contact Center Insights View Basic
|
256
|
+
|
257
|
+
```python
|
258
|
+
import pulumi
|
259
|
+
import pulumi_gcp as gcp
|
260
|
+
|
261
|
+
basic_view = gcp.contactcenterinsights.View("basic_view",
|
262
|
+
location="us-central1",
|
263
|
+
display_name="view-display-name",
|
264
|
+
value="medium=\\"CHAT\\"")
|
265
|
+
```
|
266
|
+
### Contact Center Insights View Full
|
267
|
+
|
268
|
+
```python
|
269
|
+
import pulumi
|
270
|
+
import pulumi_gcp as gcp
|
271
|
+
|
272
|
+
full_view = gcp.contactcenterinsights.View("full_view",
|
273
|
+
location="us-central1",
|
274
|
+
display_name="view-display-name",
|
275
|
+
value="medium=\\"PHONE_CALL\\"")
|
276
|
+
```
|
277
|
+
|
278
|
+
## Import
|
279
|
+
|
280
|
+
View can be imported using any of these accepted formats:
|
281
|
+
|
282
|
+
* `projects/{{project}}/locations/{{location}}/views/{{name}}`
|
283
|
+
|
284
|
+
* `{{project}}/{{location}}/{{name}}`
|
285
|
+
|
286
|
+
* `{{location}}/{{name}}`
|
287
|
+
|
288
|
+
When using the `pulumi import` command, View can be imported using one of the formats above. For example:
|
289
|
+
|
290
|
+
```sh
|
291
|
+
$ pulumi import gcp:contactcenterinsights/view:View default projects/{{project}}/locations/{{location}}/views/{{name}}
|
292
|
+
```
|
293
|
+
|
294
|
+
```sh
|
295
|
+
$ pulumi import gcp:contactcenterinsights/view:View default {{project}}/{{location}}/{{name}}
|
296
|
+
```
|
297
|
+
|
298
|
+
```sh
|
299
|
+
$ pulumi import gcp:contactcenterinsights/view:View default {{location}}/{{name}}
|
300
|
+
```
|
301
|
+
|
302
|
+
:param str resource_name: The name of the resource.
|
303
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
304
|
+
:param pulumi.Input[builtins.str] display_name: The human-readable display name of the view.
|
305
|
+
:param pulumi.Input[builtins.str] location: Location of the resource.
|
306
|
+
|
307
|
+
|
308
|
+
- - -
|
309
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
310
|
+
If it is not provided, the provider project is used.
|
311
|
+
:param pulumi.Input[builtins.str] value: A filter to reduce conversation results to a specific subset.
|
312
|
+
Refer to https://cloud.google.com/contact-center/insights/docs/filtering
|
313
|
+
for details.
|
314
|
+
"""
|
315
|
+
...
|
316
|
+
@overload
|
317
|
+
def __init__(__self__,
|
318
|
+
resource_name: str,
|
319
|
+
args: ViewArgs,
|
320
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
321
|
+
"""
|
322
|
+
Insights View resource for filtering conversations
|
323
|
+
|
324
|
+
To get more information about View, see:
|
325
|
+
|
326
|
+
* [API documentation](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations.views)
|
327
|
+
|
328
|
+
## Example Usage
|
329
|
+
|
330
|
+
### Contact Center Insights View Basic
|
331
|
+
|
332
|
+
```python
|
333
|
+
import pulumi
|
334
|
+
import pulumi_gcp as gcp
|
335
|
+
|
336
|
+
basic_view = gcp.contactcenterinsights.View("basic_view",
|
337
|
+
location="us-central1",
|
338
|
+
display_name="view-display-name",
|
339
|
+
value="medium=\\"CHAT\\"")
|
340
|
+
```
|
341
|
+
### Contact Center Insights View Full
|
342
|
+
|
343
|
+
```python
|
344
|
+
import pulumi
|
345
|
+
import pulumi_gcp as gcp
|
346
|
+
|
347
|
+
full_view = gcp.contactcenterinsights.View("full_view",
|
348
|
+
location="us-central1",
|
349
|
+
display_name="view-display-name",
|
350
|
+
value="medium=\\"PHONE_CALL\\"")
|
351
|
+
```
|
352
|
+
|
353
|
+
## Import
|
354
|
+
|
355
|
+
View can be imported using any of these accepted formats:
|
356
|
+
|
357
|
+
* `projects/{{project}}/locations/{{location}}/views/{{name}}`
|
358
|
+
|
359
|
+
* `{{project}}/{{location}}/{{name}}`
|
360
|
+
|
361
|
+
* `{{location}}/{{name}}`
|
362
|
+
|
363
|
+
When using the `pulumi import` command, View can be imported using one of the formats above. For example:
|
364
|
+
|
365
|
+
```sh
|
366
|
+
$ pulumi import gcp:contactcenterinsights/view:View default projects/{{project}}/locations/{{location}}/views/{{name}}
|
367
|
+
```
|
368
|
+
|
369
|
+
```sh
|
370
|
+
$ pulumi import gcp:contactcenterinsights/view:View default {{project}}/{{location}}/{{name}}
|
371
|
+
```
|
372
|
+
|
373
|
+
```sh
|
374
|
+
$ pulumi import gcp:contactcenterinsights/view:View default {{location}}/{{name}}
|
375
|
+
```
|
376
|
+
|
377
|
+
:param str resource_name: The name of the resource.
|
378
|
+
:param ViewArgs args: The arguments to use to populate this resource's properties.
|
379
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
380
|
+
"""
|
381
|
+
...
|
382
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
383
|
+
resource_args, opts = _utilities.get_resource_args_opts(ViewArgs, pulumi.ResourceOptions, *args, **kwargs)
|
384
|
+
if resource_args is not None:
|
385
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
386
|
+
else:
|
387
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
388
|
+
|
389
|
+
def _internal_init(__self__,
|
390
|
+
resource_name: str,
|
391
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
392
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
393
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
394
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
395
|
+
value: Optional[pulumi.Input[builtins.str]] = None,
|
396
|
+
__props__=None):
|
397
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
398
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
399
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
400
|
+
if opts.id is None:
|
401
|
+
if __props__ is not None:
|
402
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
403
|
+
__props__ = ViewArgs.__new__(ViewArgs)
|
404
|
+
|
405
|
+
__props__.__dict__["display_name"] = display_name
|
406
|
+
if location is None and not opts.urn:
|
407
|
+
raise TypeError("Missing required property 'location'")
|
408
|
+
__props__.__dict__["location"] = location
|
409
|
+
__props__.__dict__["project"] = project
|
410
|
+
__props__.__dict__["value"] = value
|
411
|
+
__props__.__dict__["create_time"] = None
|
412
|
+
__props__.__dict__["name"] = None
|
413
|
+
__props__.__dict__["update_time"] = None
|
414
|
+
super(View, __self__).__init__(
|
415
|
+
'gcp:contactcenterinsights/view:View',
|
416
|
+
resource_name,
|
417
|
+
__props__,
|
418
|
+
opts)
|
419
|
+
|
420
|
+
@staticmethod
|
421
|
+
def get(resource_name: str,
|
422
|
+
id: pulumi.Input[str],
|
423
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
424
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
425
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
426
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
427
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
428
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
429
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None,
|
430
|
+
value: Optional[pulumi.Input[builtins.str]] = None) -> 'View':
|
431
|
+
"""
|
432
|
+
Get an existing View resource's state with the given name, id, and optional extra
|
433
|
+
properties used to qualify the lookup.
|
434
|
+
|
435
|
+
:param str resource_name: The unique name of the resulting resource.
|
436
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
437
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
438
|
+
:param pulumi.Input[builtins.str] create_time: Output only. The time at which this view was created.
|
439
|
+
:param pulumi.Input[builtins.str] display_name: The human-readable display name of the view.
|
440
|
+
:param pulumi.Input[builtins.str] location: Location of the resource.
|
441
|
+
|
442
|
+
|
443
|
+
- - -
|
444
|
+
:param pulumi.Input[builtins.str] name: The resource name of the view. Randomly generated by Insights.
|
445
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
446
|
+
If it is not provided, the provider project is used.
|
447
|
+
:param pulumi.Input[builtins.str] update_time: Output only. The most recent time at which the view was updated.
|
448
|
+
:param pulumi.Input[builtins.str] value: A filter to reduce conversation results to a specific subset.
|
449
|
+
Refer to https://cloud.google.com/contact-center/insights/docs/filtering
|
450
|
+
for details.
|
451
|
+
"""
|
452
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
453
|
+
|
454
|
+
__props__ = _ViewState.__new__(_ViewState)
|
455
|
+
|
456
|
+
__props__.__dict__["create_time"] = create_time
|
457
|
+
__props__.__dict__["display_name"] = display_name
|
458
|
+
__props__.__dict__["location"] = location
|
459
|
+
__props__.__dict__["name"] = name
|
460
|
+
__props__.__dict__["project"] = project
|
461
|
+
__props__.__dict__["update_time"] = update_time
|
462
|
+
__props__.__dict__["value"] = value
|
463
|
+
return View(resource_name, opts=opts, __props__=__props__)
|
464
|
+
|
465
|
+
@property
|
466
|
+
@pulumi.getter(name="createTime")
|
467
|
+
def create_time(self) -> pulumi.Output[builtins.str]:
|
468
|
+
"""
|
469
|
+
Output only. The time at which this view was created.
|
470
|
+
"""
|
471
|
+
return pulumi.get(self, "create_time")
|
472
|
+
|
473
|
+
@property
|
474
|
+
@pulumi.getter(name="displayName")
|
475
|
+
def display_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
476
|
+
"""
|
477
|
+
The human-readable display name of the view.
|
478
|
+
"""
|
479
|
+
return pulumi.get(self, "display_name")
|
480
|
+
|
481
|
+
@property
|
482
|
+
@pulumi.getter
|
483
|
+
def location(self) -> pulumi.Output[builtins.str]:
|
484
|
+
"""
|
485
|
+
Location of the resource.
|
486
|
+
|
487
|
+
|
488
|
+
- - -
|
489
|
+
"""
|
490
|
+
return pulumi.get(self, "location")
|
491
|
+
|
492
|
+
@property
|
493
|
+
@pulumi.getter
|
494
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
495
|
+
"""
|
496
|
+
The resource name of the view. Randomly generated by Insights.
|
497
|
+
"""
|
498
|
+
return pulumi.get(self, "name")
|
499
|
+
|
500
|
+
@property
|
501
|
+
@pulumi.getter
|
502
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
503
|
+
"""
|
504
|
+
The ID of the project in which the resource belongs.
|
505
|
+
If it is not provided, the provider project is used.
|
506
|
+
"""
|
507
|
+
return pulumi.get(self, "project")
|
508
|
+
|
509
|
+
@property
|
510
|
+
@pulumi.getter(name="updateTime")
|
511
|
+
def update_time(self) -> pulumi.Output[builtins.str]:
|
512
|
+
"""
|
513
|
+
Output only. The most recent time at which the view was updated.
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "update_time")
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter
|
519
|
+
def value(self) -> pulumi.Output[Optional[builtins.str]]:
|
520
|
+
"""
|
521
|
+
A filter to reduce conversation results to a specific subset.
|
522
|
+
Refer to https://cloud.google.com/contact-center/insights/docs/filtering
|
523
|
+
for details.
|
524
|
+
"""
|
525
|
+
return pulumi.get(self, "value")
|
526
|
+
|