pulumi-gcp 7.10.0a1708496697__py3-none-any.whl → 7.11.0a1708599049__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/bigtable/table_iam_binding.py +6 -6
- pulumi_gcp/bigtable/table_iam_member.py +6 -6
- pulumi_gcp/bigtable/table_iam_policy.py +6 -6
- pulumi_gcp/cloudbuildv2/_inputs.py +32 -12
- pulumi_gcp/cloudbuildv2/connection.py +140 -38
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +13 -0
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -0
- pulumi_gcp/cloudbuildv2/outputs.py +32 -12
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +277 -2
- pulumi_gcp/clouddeploy/custom_target_type.py +923 -0
- pulumi_gcp/clouddeploy/outputs.py +263 -2
- pulumi_gcp/cloudfunctions/function.py +32 -0
- pulumi_gcp/cloudfunctions/get_function.py +11 -1
- pulumi_gcp/cloudrunv2/service.py +18 -0
- pulumi_gcp/compute/_inputs.py +20 -20
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/config/vars.py +2 -2
- pulumi_gcp/container/_inputs.py +22 -0
- pulumi_gcp/container/outputs.py +28 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/get_managed_zone.py +2 -2
- pulumi_gcp/dns/get_managed_zones.py +35 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +78 -0
- pulumi_gcp/eventarc/outputs.py +83 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/app_check_debug_token.py +480 -0
- pulumi_gcp/healthcare/hl7_store.py +50 -1
- pulumi_gcp/identityplatform/_inputs.py +330 -0
- pulumi_gcp/identityplatform/config.py +216 -0
- pulumi_gcp/identityplatform/outputs.py +397 -0
- pulumi_gcp/networksecurity/__init__.py +2 -0
- pulumi_gcp/networksecurity/firewall_endpoint.py +631 -0
- pulumi_gcp/networksecurity/security_profile_group.py +654 -0
- pulumi_gcp/notebooks/instance.py +109 -4
- pulumi_gcp/provider.py +8 -0
- pulumi_gcp/recaptcha/enterprise_key.py +4 -4
- pulumi_gcp/securityposture/_inputs.py +48 -48
- pulumi_gcp/securityposture/outputs.py +40 -40
- pulumi_gcp/securityposture/posture.py +22 -2
- pulumi_gcp/vertex/_inputs.py +63 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +208 -0
- pulumi_gcp/vertex/outputs.py +87 -0
- pulumi_gcp/workbench/_inputs.py +4 -4
- pulumi_gcp/workbench/instance.py +59 -8
- pulumi_gcp/workbench/outputs.py +4 -4
- pulumi_gcp/workstations/_inputs.py +16 -0
- pulumi_gcp/workstations/outputs.py +14 -0
- pulumi_gcp/workstations/workstation_config.py +2 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0a1708599049.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0a1708599049.dist-info}/RECORD +57 -53
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0a1708599049.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0a1708599049.dist-info}/top_level.txt +0 -0
pulumi_gcp/firebase/__init__.py
CHANGED
@@ -0,0 +1,480 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['AppCheckDebugTokenArgs', 'AppCheckDebugToken']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class AppCheckDebugTokenArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
app_id: pulumi.Input[str],
|
18
|
+
display_name: pulumi.Input[str],
|
19
|
+
token: pulumi.Input[str],
|
20
|
+
project: Optional[pulumi.Input[str]] = None):
|
21
|
+
"""
|
22
|
+
The set of arguments for constructing a AppCheckDebugToken resource.
|
23
|
+
:param pulumi.Input[str] app_id: The ID of a
|
24
|
+
[Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
|
25
|
+
[Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
|
26
|
+
or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
|
27
|
+
|
28
|
+
|
29
|
+
- - -
|
30
|
+
:param pulumi.Input[str] display_name: A human readable display name used to identify this debug token.
|
31
|
+
:param pulumi.Input[str] token: The secret token itself. Must be provided during creation, and must be a UUID4,
|
32
|
+
case insensitive. You may use a method of your choice such as random/random_uuid
|
33
|
+
to generate the token.
|
34
|
+
This field is immutable once set, and cannot be updated. You can, however, delete
|
35
|
+
this debug token to revoke it.
|
36
|
+
For security reasons, this field will never be populated in any response.
|
37
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
38
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
39
|
+
If it is not provided, the provider project is used.
|
40
|
+
"""
|
41
|
+
pulumi.set(__self__, "app_id", app_id)
|
42
|
+
pulumi.set(__self__, "display_name", display_name)
|
43
|
+
pulumi.set(__self__, "token", token)
|
44
|
+
if project is not None:
|
45
|
+
pulumi.set(__self__, "project", project)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="appId")
|
49
|
+
def app_id(self) -> pulumi.Input[str]:
|
50
|
+
"""
|
51
|
+
The ID of a
|
52
|
+
[Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
|
53
|
+
[Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
|
54
|
+
or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
|
55
|
+
|
56
|
+
|
57
|
+
- - -
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "app_id")
|
60
|
+
|
61
|
+
@app_id.setter
|
62
|
+
def app_id(self, value: pulumi.Input[str]):
|
63
|
+
pulumi.set(self, "app_id", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="displayName")
|
67
|
+
def display_name(self) -> pulumi.Input[str]:
|
68
|
+
"""
|
69
|
+
A human readable display name used to identify this debug token.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "display_name")
|
72
|
+
|
73
|
+
@display_name.setter
|
74
|
+
def display_name(self, value: pulumi.Input[str]):
|
75
|
+
pulumi.set(self, "display_name", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter
|
79
|
+
def token(self) -> pulumi.Input[str]:
|
80
|
+
"""
|
81
|
+
The secret token itself. Must be provided during creation, and must be a UUID4,
|
82
|
+
case insensitive. You may use a method of your choice such as random/random_uuid
|
83
|
+
to generate the token.
|
84
|
+
This field is immutable once set, and cannot be updated. You can, however, delete
|
85
|
+
this debug token to revoke it.
|
86
|
+
For security reasons, this field will never be populated in any response.
|
87
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "token")
|
90
|
+
|
91
|
+
@token.setter
|
92
|
+
def token(self, value: pulumi.Input[str]):
|
93
|
+
pulumi.set(self, "token", value)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
98
|
+
"""
|
99
|
+
The ID of the project in which the resource belongs.
|
100
|
+
If it is not provided, the provider project is used.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "project")
|
103
|
+
|
104
|
+
@project.setter
|
105
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
106
|
+
pulumi.set(self, "project", value)
|
107
|
+
|
108
|
+
|
109
|
+
@pulumi.input_type
|
110
|
+
class _AppCheckDebugTokenState:
|
111
|
+
def __init__(__self__, *,
|
112
|
+
app_id: Optional[pulumi.Input[str]] = None,
|
113
|
+
debug_token_id: Optional[pulumi.Input[str]] = None,
|
114
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
115
|
+
project: Optional[pulumi.Input[str]] = None,
|
116
|
+
token: Optional[pulumi.Input[str]] = None):
|
117
|
+
"""
|
118
|
+
Input properties used for looking up and filtering AppCheckDebugToken resources.
|
119
|
+
:param pulumi.Input[str] app_id: The ID of a
|
120
|
+
[Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
|
121
|
+
[Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
|
122
|
+
or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
|
123
|
+
|
124
|
+
|
125
|
+
- - -
|
126
|
+
:param pulumi.Input[str] debug_token_id: The last segment of the resource name of the debug token.
|
127
|
+
:param pulumi.Input[str] display_name: A human readable display name used to identify this debug token.
|
128
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
129
|
+
If it is not provided, the provider project is used.
|
130
|
+
:param pulumi.Input[str] token: The secret token itself. Must be provided during creation, and must be a UUID4,
|
131
|
+
case insensitive. You may use a method of your choice such as random/random_uuid
|
132
|
+
to generate the token.
|
133
|
+
This field is immutable once set, and cannot be updated. You can, however, delete
|
134
|
+
this debug token to revoke it.
|
135
|
+
For security reasons, this field will never be populated in any response.
|
136
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
137
|
+
"""
|
138
|
+
if app_id is not None:
|
139
|
+
pulumi.set(__self__, "app_id", app_id)
|
140
|
+
if debug_token_id is not None:
|
141
|
+
pulumi.set(__self__, "debug_token_id", debug_token_id)
|
142
|
+
if display_name is not None:
|
143
|
+
pulumi.set(__self__, "display_name", display_name)
|
144
|
+
if project is not None:
|
145
|
+
pulumi.set(__self__, "project", project)
|
146
|
+
if token is not None:
|
147
|
+
pulumi.set(__self__, "token", token)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="appId")
|
151
|
+
def app_id(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
"""
|
153
|
+
The ID of a
|
154
|
+
[Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
|
155
|
+
[Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
|
156
|
+
or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
|
157
|
+
|
158
|
+
|
159
|
+
- - -
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "app_id")
|
162
|
+
|
163
|
+
@app_id.setter
|
164
|
+
def app_id(self, value: Optional[pulumi.Input[str]]):
|
165
|
+
pulumi.set(self, "app_id", value)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="debugTokenId")
|
169
|
+
def debug_token_id(self) -> Optional[pulumi.Input[str]]:
|
170
|
+
"""
|
171
|
+
The last segment of the resource name of the debug token.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "debug_token_id")
|
174
|
+
|
175
|
+
@debug_token_id.setter
|
176
|
+
def debug_token_id(self, value: Optional[pulumi.Input[str]]):
|
177
|
+
pulumi.set(self, "debug_token_id", value)
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="displayName")
|
181
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
182
|
+
"""
|
183
|
+
A human readable display name used to identify this debug token.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "display_name")
|
186
|
+
|
187
|
+
@display_name.setter
|
188
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
189
|
+
pulumi.set(self, "display_name", value)
|
190
|
+
|
191
|
+
@property
|
192
|
+
@pulumi.getter
|
193
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
194
|
+
"""
|
195
|
+
The ID of the project in which the resource belongs.
|
196
|
+
If it is not provided, the provider project is used.
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "project")
|
199
|
+
|
200
|
+
@project.setter
|
201
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
202
|
+
pulumi.set(self, "project", value)
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter
|
206
|
+
def token(self) -> Optional[pulumi.Input[str]]:
|
207
|
+
"""
|
208
|
+
The secret token itself. Must be provided during creation, and must be a UUID4,
|
209
|
+
case insensitive. You may use a method of your choice such as random/random_uuid
|
210
|
+
to generate the token.
|
211
|
+
This field is immutable once set, and cannot be updated. You can, however, delete
|
212
|
+
this debug token to revoke it.
|
213
|
+
For security reasons, this field will never be populated in any response.
|
214
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "token")
|
217
|
+
|
218
|
+
@token.setter
|
219
|
+
def token(self, value: Optional[pulumi.Input[str]]):
|
220
|
+
pulumi.set(self, "token", value)
|
221
|
+
|
222
|
+
|
223
|
+
class AppCheckDebugToken(pulumi.CustomResource):
|
224
|
+
@overload
|
225
|
+
def __init__(__self__,
|
226
|
+
resource_name: str,
|
227
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
228
|
+
app_id: Optional[pulumi.Input[str]] = None,
|
229
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
230
|
+
project: Optional[pulumi.Input[str]] = None,
|
231
|
+
token: Optional[pulumi.Input[str]] = None,
|
232
|
+
__props__=None):
|
233
|
+
"""
|
234
|
+
A debug token is a secret used during the development or integration testing of
|
235
|
+
an app. It essentially allows the development or integration testing to bypass
|
236
|
+
app attestation while still allowing App Check to enforce protection on supported
|
237
|
+
production Firebase services.
|
238
|
+
|
239
|
+
To get more information about DebugToken, see:
|
240
|
+
|
241
|
+
* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.debugTokens)
|
242
|
+
* How-to Guides
|
243
|
+
* [Official Documentation](https://firebase.google.com/docs/app-check)
|
244
|
+
|
245
|
+
## Example Usage
|
246
|
+
|
247
|
+
## Import
|
248
|
+
|
249
|
+
DebugToken can be imported using any of these accepted formats:
|
250
|
+
|
251
|
+
* `projects/{{project}}/apps/{{app_id}}/debugTokens/{{debug_token_id}}`
|
252
|
+
|
253
|
+
* `{{project}}/{{app_id}}/{{debug_token_id}}`
|
254
|
+
|
255
|
+
* `{{app_id}}/{{debug_token_id}}`
|
256
|
+
|
257
|
+
When using the `pulumi import` command, DebugToken can be imported using one of the formats above. For example:
|
258
|
+
|
259
|
+
```sh
|
260
|
+
$ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default projects/{{project}}/apps/{{app_id}}/debugTokens/{{debug_token_id}}
|
261
|
+
```
|
262
|
+
|
263
|
+
```sh
|
264
|
+
$ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default {{project}}/{{app_id}}/{{debug_token_id}}
|
265
|
+
```
|
266
|
+
|
267
|
+
```sh
|
268
|
+
$ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default {{app_id}}/{{debug_token_id}}
|
269
|
+
```
|
270
|
+
|
271
|
+
:param str resource_name: The name of the resource.
|
272
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
273
|
+
:param pulumi.Input[str] app_id: The ID of a
|
274
|
+
[Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
|
275
|
+
[Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
|
276
|
+
or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
|
277
|
+
|
278
|
+
|
279
|
+
- - -
|
280
|
+
:param pulumi.Input[str] display_name: A human readable display name used to identify this debug token.
|
281
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
282
|
+
If it is not provided, the provider project is used.
|
283
|
+
:param pulumi.Input[str] token: The secret token itself. Must be provided during creation, and must be a UUID4,
|
284
|
+
case insensitive. You may use a method of your choice such as random/random_uuid
|
285
|
+
to generate the token.
|
286
|
+
This field is immutable once set, and cannot be updated. You can, however, delete
|
287
|
+
this debug token to revoke it.
|
288
|
+
For security reasons, this field will never be populated in any response.
|
289
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
290
|
+
"""
|
291
|
+
...
|
292
|
+
@overload
|
293
|
+
def __init__(__self__,
|
294
|
+
resource_name: str,
|
295
|
+
args: AppCheckDebugTokenArgs,
|
296
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
297
|
+
"""
|
298
|
+
A debug token is a secret used during the development or integration testing of
|
299
|
+
an app. It essentially allows the development or integration testing to bypass
|
300
|
+
app attestation while still allowing App Check to enforce protection on supported
|
301
|
+
production Firebase services.
|
302
|
+
|
303
|
+
To get more information about DebugToken, see:
|
304
|
+
|
305
|
+
* [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.debugTokens)
|
306
|
+
* How-to Guides
|
307
|
+
* [Official Documentation](https://firebase.google.com/docs/app-check)
|
308
|
+
|
309
|
+
## Example Usage
|
310
|
+
|
311
|
+
## Import
|
312
|
+
|
313
|
+
DebugToken can be imported using any of these accepted formats:
|
314
|
+
|
315
|
+
* `projects/{{project}}/apps/{{app_id}}/debugTokens/{{debug_token_id}}`
|
316
|
+
|
317
|
+
* `{{project}}/{{app_id}}/{{debug_token_id}}`
|
318
|
+
|
319
|
+
* `{{app_id}}/{{debug_token_id}}`
|
320
|
+
|
321
|
+
When using the `pulumi import` command, DebugToken can be imported using one of the formats above. For example:
|
322
|
+
|
323
|
+
```sh
|
324
|
+
$ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default projects/{{project}}/apps/{{app_id}}/debugTokens/{{debug_token_id}}
|
325
|
+
```
|
326
|
+
|
327
|
+
```sh
|
328
|
+
$ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default {{project}}/{{app_id}}/{{debug_token_id}}
|
329
|
+
```
|
330
|
+
|
331
|
+
```sh
|
332
|
+
$ pulumi import gcp:firebase/appCheckDebugToken:AppCheckDebugToken default {{app_id}}/{{debug_token_id}}
|
333
|
+
```
|
334
|
+
|
335
|
+
:param str resource_name: The name of the resource.
|
336
|
+
:param AppCheckDebugTokenArgs args: The arguments to use to populate this resource's properties.
|
337
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
338
|
+
"""
|
339
|
+
...
|
340
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
341
|
+
resource_args, opts = _utilities.get_resource_args_opts(AppCheckDebugTokenArgs, pulumi.ResourceOptions, *args, **kwargs)
|
342
|
+
if resource_args is not None:
|
343
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
344
|
+
else:
|
345
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
346
|
+
|
347
|
+
def _internal_init(__self__,
|
348
|
+
resource_name: str,
|
349
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
350
|
+
app_id: Optional[pulumi.Input[str]] = None,
|
351
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
352
|
+
project: Optional[pulumi.Input[str]] = None,
|
353
|
+
token: Optional[pulumi.Input[str]] = None,
|
354
|
+
__props__=None):
|
355
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
356
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
357
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
358
|
+
if opts.id is None:
|
359
|
+
if __props__ is not None:
|
360
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
361
|
+
__props__ = AppCheckDebugTokenArgs.__new__(AppCheckDebugTokenArgs)
|
362
|
+
|
363
|
+
if app_id is None and not opts.urn:
|
364
|
+
raise TypeError("Missing required property 'app_id'")
|
365
|
+
__props__.__dict__["app_id"] = app_id
|
366
|
+
if display_name is None and not opts.urn:
|
367
|
+
raise TypeError("Missing required property 'display_name'")
|
368
|
+
__props__.__dict__["display_name"] = display_name
|
369
|
+
__props__.__dict__["project"] = project
|
370
|
+
if token is None and not opts.urn:
|
371
|
+
raise TypeError("Missing required property 'token'")
|
372
|
+
__props__.__dict__["token"] = None if token is None else pulumi.Output.secret(token)
|
373
|
+
__props__.__dict__["debug_token_id"] = None
|
374
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"])
|
375
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
376
|
+
super(AppCheckDebugToken, __self__).__init__(
|
377
|
+
'gcp:firebase/appCheckDebugToken:AppCheckDebugToken',
|
378
|
+
resource_name,
|
379
|
+
__props__,
|
380
|
+
opts)
|
381
|
+
|
382
|
+
@staticmethod
|
383
|
+
def get(resource_name: str,
|
384
|
+
id: pulumi.Input[str],
|
385
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
386
|
+
app_id: Optional[pulumi.Input[str]] = None,
|
387
|
+
debug_token_id: Optional[pulumi.Input[str]] = None,
|
388
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
389
|
+
project: Optional[pulumi.Input[str]] = None,
|
390
|
+
token: Optional[pulumi.Input[str]] = None) -> 'AppCheckDebugToken':
|
391
|
+
"""
|
392
|
+
Get an existing AppCheckDebugToken resource's state with the given name, id, and optional extra
|
393
|
+
properties used to qualify the lookup.
|
394
|
+
|
395
|
+
:param str resource_name: The unique name of the resulting resource.
|
396
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
397
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
398
|
+
:param pulumi.Input[str] app_id: The ID of a
|
399
|
+
[Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
|
400
|
+
[Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
|
401
|
+
or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
|
402
|
+
|
403
|
+
|
404
|
+
- - -
|
405
|
+
:param pulumi.Input[str] debug_token_id: The last segment of the resource name of the debug token.
|
406
|
+
:param pulumi.Input[str] display_name: A human readable display name used to identify this debug token.
|
407
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
408
|
+
If it is not provided, the provider project is used.
|
409
|
+
:param pulumi.Input[str] token: The secret token itself. Must be provided during creation, and must be a UUID4,
|
410
|
+
case insensitive. You may use a method of your choice such as random/random_uuid
|
411
|
+
to generate the token.
|
412
|
+
This field is immutable once set, and cannot be updated. You can, however, delete
|
413
|
+
this debug token to revoke it.
|
414
|
+
For security reasons, this field will never be populated in any response.
|
415
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
416
|
+
"""
|
417
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
418
|
+
|
419
|
+
__props__ = _AppCheckDebugTokenState.__new__(_AppCheckDebugTokenState)
|
420
|
+
|
421
|
+
__props__.__dict__["app_id"] = app_id
|
422
|
+
__props__.__dict__["debug_token_id"] = debug_token_id
|
423
|
+
__props__.__dict__["display_name"] = display_name
|
424
|
+
__props__.__dict__["project"] = project
|
425
|
+
__props__.__dict__["token"] = token
|
426
|
+
return AppCheckDebugToken(resource_name, opts=opts, __props__=__props__)
|
427
|
+
|
428
|
+
@property
|
429
|
+
@pulumi.getter(name="appId")
|
430
|
+
def app_id(self) -> pulumi.Output[str]:
|
431
|
+
"""
|
432
|
+
The ID of a
|
433
|
+
[Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id),
|
434
|
+
[Apple App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps#IosApp.FIELDS.app_id),
|
435
|
+
or [Android App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps#AndroidApp.FIELDS.app_id)
|
436
|
+
|
437
|
+
|
438
|
+
- - -
|
439
|
+
"""
|
440
|
+
return pulumi.get(self, "app_id")
|
441
|
+
|
442
|
+
@property
|
443
|
+
@pulumi.getter(name="debugTokenId")
|
444
|
+
def debug_token_id(self) -> pulumi.Output[str]:
|
445
|
+
"""
|
446
|
+
The last segment of the resource name of the debug token.
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "debug_token_id")
|
449
|
+
|
450
|
+
@property
|
451
|
+
@pulumi.getter(name="displayName")
|
452
|
+
def display_name(self) -> pulumi.Output[str]:
|
453
|
+
"""
|
454
|
+
A human readable display name used to identify this debug token.
|
455
|
+
"""
|
456
|
+
return pulumi.get(self, "display_name")
|
457
|
+
|
458
|
+
@property
|
459
|
+
@pulumi.getter
|
460
|
+
def project(self) -> pulumi.Output[str]:
|
461
|
+
"""
|
462
|
+
The ID of the project in which the resource belongs.
|
463
|
+
If it is not provided, the provider project is used.
|
464
|
+
"""
|
465
|
+
return pulumi.get(self, "project")
|
466
|
+
|
467
|
+
@property
|
468
|
+
@pulumi.getter
|
469
|
+
def token(self) -> pulumi.Output[str]:
|
470
|
+
"""
|
471
|
+
The secret token itself. Must be provided during creation, and must be a UUID4,
|
472
|
+
case insensitive. You may use a method of your choice such as random/random_uuid
|
473
|
+
to generate the token.
|
474
|
+
This field is immutable once set, and cannot be updated. You can, however, delete
|
475
|
+
this debug token to revoke it.
|
476
|
+
For security reasons, this field will never be populated in any response.
|
477
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
478
|
+
"""
|
479
|
+
return pulumi.get(self, "token")
|
480
|
+
|
@@ -21,7 +21,8 @@ class Hl7StoreArgs:
|
|
21
21
|
name: Optional[pulumi.Input[str]] = None,
|
22
22
|
notification_config: Optional[pulumi.Input['Hl7StoreNotificationConfigArgs']] = None,
|
23
23
|
notification_configs: Optional[pulumi.Input[Sequence[pulumi.Input['Hl7StoreNotificationConfigsArgs']]]] = None,
|
24
|
-
parser_config: Optional[pulumi.Input['Hl7StoreParserConfigArgs']] = None
|
24
|
+
parser_config: Optional[pulumi.Input['Hl7StoreParserConfigArgs']] = None,
|
25
|
+
reject_duplicate_message: Optional[pulumi.Input[bool]] = None):
|
25
26
|
"""
|
26
27
|
The set of arguments for constructing a Hl7Store resource.
|
27
28
|
:param pulumi.Input[str] dataset: Identifies the dataset addressed by this request. Must be in the format
|
@@ -53,6 +54,7 @@ class Hl7StoreArgs:
|
|
53
54
|
Structure is documented below.
|
54
55
|
:param pulumi.Input['Hl7StoreParserConfigArgs'] parser_config: A nested object resource
|
55
56
|
Structure is documented below.
|
57
|
+
:param pulumi.Input[bool] reject_duplicate_message: Determines whether duplicate messages are allowed.
|
56
58
|
"""
|
57
59
|
pulumi.set(__self__, "dataset", dataset)
|
58
60
|
if labels is not None:
|
@@ -68,6 +70,8 @@ class Hl7StoreArgs:
|
|
68
70
|
pulumi.set(__self__, "notification_configs", notification_configs)
|
69
71
|
if parser_config is not None:
|
70
72
|
pulumi.set(__self__, "parser_config", parser_config)
|
73
|
+
if reject_duplicate_message is not None:
|
74
|
+
pulumi.set(__self__, "reject_duplicate_message", reject_duplicate_message)
|
71
75
|
|
72
76
|
@property
|
73
77
|
@pulumi.getter
|
@@ -167,6 +171,18 @@ class Hl7StoreArgs:
|
|
167
171
|
def parser_config(self, value: Optional[pulumi.Input['Hl7StoreParserConfigArgs']]):
|
168
172
|
pulumi.set(self, "parser_config", value)
|
169
173
|
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="rejectDuplicateMessage")
|
176
|
+
def reject_duplicate_message(self) -> Optional[pulumi.Input[bool]]:
|
177
|
+
"""
|
178
|
+
Determines whether duplicate messages are allowed.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "reject_duplicate_message")
|
181
|
+
|
182
|
+
@reject_duplicate_message.setter
|
183
|
+
def reject_duplicate_message(self, value: Optional[pulumi.Input[bool]]):
|
184
|
+
pulumi.set(self, "reject_duplicate_message", value)
|
185
|
+
|
170
186
|
|
171
187
|
@pulumi.input_type
|
172
188
|
class _Hl7StoreState:
|
@@ -179,6 +195,7 @@ class _Hl7StoreState:
|
|
179
195
|
notification_configs: Optional[pulumi.Input[Sequence[pulumi.Input['Hl7StoreNotificationConfigsArgs']]]] = None,
|
180
196
|
parser_config: Optional[pulumi.Input['Hl7StoreParserConfigArgs']] = None,
|
181
197
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
198
|
+
reject_duplicate_message: Optional[pulumi.Input[bool]] = None,
|
182
199
|
self_link: Optional[pulumi.Input[str]] = None):
|
183
200
|
"""
|
184
201
|
Input properties used for looking up and filtering Hl7Store resources.
|
@@ -214,6 +231,7 @@ class _Hl7StoreState:
|
|
214
231
|
Structure is documented below.
|
215
232
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
216
233
|
and default labels configured on the provider.
|
234
|
+
:param pulumi.Input[bool] reject_duplicate_message: Determines whether duplicate messages are allowed.
|
217
235
|
:param pulumi.Input[str] self_link: The fully qualified name of this dataset
|
218
236
|
"""
|
219
237
|
if dataset is not None:
|
@@ -235,6 +253,8 @@ class _Hl7StoreState:
|
|
235
253
|
pulumi.set(__self__, "parser_config", parser_config)
|
236
254
|
if pulumi_labels is not None:
|
237
255
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
256
|
+
if reject_duplicate_message is not None:
|
257
|
+
pulumi.set(__self__, "reject_duplicate_message", reject_duplicate_message)
|
238
258
|
if self_link is not None:
|
239
259
|
pulumi.set(__self__, "self_link", self_link)
|
240
260
|
|
@@ -361,6 +381,18 @@ class _Hl7StoreState:
|
|
361
381
|
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
362
382
|
pulumi.set(self, "pulumi_labels", value)
|
363
383
|
|
384
|
+
@property
|
385
|
+
@pulumi.getter(name="rejectDuplicateMessage")
|
386
|
+
def reject_duplicate_message(self) -> Optional[pulumi.Input[bool]]:
|
387
|
+
"""
|
388
|
+
Determines whether duplicate messages are allowed.
|
389
|
+
"""
|
390
|
+
return pulumi.get(self, "reject_duplicate_message")
|
391
|
+
|
392
|
+
@reject_duplicate_message.setter
|
393
|
+
def reject_duplicate_message(self, value: Optional[pulumi.Input[bool]]):
|
394
|
+
pulumi.set(self, "reject_duplicate_message", value)
|
395
|
+
|
364
396
|
@property
|
365
397
|
@pulumi.getter(name="selfLink")
|
366
398
|
def self_link(self) -> Optional[pulumi.Input[str]]:
|
@@ -385,6 +417,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
385
417
|
notification_config: Optional[pulumi.Input[pulumi.InputType['Hl7StoreNotificationConfigArgs']]] = None,
|
386
418
|
notification_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['Hl7StoreNotificationConfigsArgs']]]]] = None,
|
387
419
|
parser_config: Optional[pulumi.Input[pulumi.InputType['Hl7StoreParserConfigArgs']]] = None,
|
420
|
+
reject_duplicate_message: Optional[pulumi.Input[bool]] = None,
|
388
421
|
__props__=None):
|
389
422
|
"""
|
390
423
|
A Hl7V2Store is a datastore inside a Healthcare dataset that conforms to the FHIR (https://www.hl7.org/hl7V2/STU3/)
|
@@ -407,6 +440,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
407
440
|
dataset = gcp.healthcare.Dataset("dataset", location="us-central1")
|
408
441
|
store = gcp.healthcare.Hl7Store("store",
|
409
442
|
dataset=dataset.id,
|
443
|
+
reject_duplicate_message=True,
|
410
444
|
notification_configs=[gcp.healthcare.Hl7StoreNotificationConfigsArgs(
|
411
445
|
pubsub_topic=topic.id,
|
412
446
|
)],
|
@@ -576,6 +610,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
576
610
|
Structure is documented below.
|
577
611
|
:param pulumi.Input[pulumi.InputType['Hl7StoreParserConfigArgs']] parser_config: A nested object resource
|
578
612
|
Structure is documented below.
|
613
|
+
:param pulumi.Input[bool] reject_duplicate_message: Determines whether duplicate messages are allowed.
|
579
614
|
"""
|
580
615
|
...
|
581
616
|
@overload
|
@@ -604,6 +639,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
604
639
|
dataset = gcp.healthcare.Dataset("dataset", location="us-central1")
|
605
640
|
store = gcp.healthcare.Hl7Store("store",
|
606
641
|
dataset=dataset.id,
|
642
|
+
reject_duplicate_message=True,
|
607
643
|
notification_configs=[gcp.healthcare.Hl7StoreNotificationConfigsArgs(
|
608
644
|
pubsub_topic=topic.id,
|
609
645
|
)],
|
@@ -763,6 +799,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
763
799
|
notification_config: Optional[pulumi.Input[pulumi.InputType['Hl7StoreNotificationConfigArgs']]] = None,
|
764
800
|
notification_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['Hl7StoreNotificationConfigsArgs']]]]] = None,
|
765
801
|
parser_config: Optional[pulumi.Input[pulumi.InputType['Hl7StoreParserConfigArgs']]] = None,
|
802
|
+
reject_duplicate_message: Optional[pulumi.Input[bool]] = None,
|
766
803
|
__props__=None):
|
767
804
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
768
805
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -780,6 +817,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
780
817
|
__props__.__dict__["notification_config"] = notification_config
|
781
818
|
__props__.__dict__["notification_configs"] = notification_configs
|
782
819
|
__props__.__dict__["parser_config"] = parser_config
|
820
|
+
__props__.__dict__["reject_duplicate_message"] = reject_duplicate_message
|
783
821
|
__props__.__dict__["effective_labels"] = None
|
784
822
|
__props__.__dict__["pulumi_labels"] = None
|
785
823
|
__props__.__dict__["self_link"] = None
|
@@ -803,6 +841,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
803
841
|
notification_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['Hl7StoreNotificationConfigsArgs']]]]] = None,
|
804
842
|
parser_config: Optional[pulumi.Input[pulumi.InputType['Hl7StoreParserConfigArgs']]] = None,
|
805
843
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
844
|
+
reject_duplicate_message: Optional[pulumi.Input[bool]] = None,
|
806
845
|
self_link: Optional[pulumi.Input[str]] = None) -> 'Hl7Store':
|
807
846
|
"""
|
808
847
|
Get an existing Hl7Store resource's state with the given name, id, and optional extra
|
@@ -843,6 +882,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
843
882
|
Structure is documented below.
|
844
883
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
845
884
|
and default labels configured on the provider.
|
885
|
+
:param pulumi.Input[bool] reject_duplicate_message: Determines whether duplicate messages are allowed.
|
846
886
|
:param pulumi.Input[str] self_link: The fully qualified name of this dataset
|
847
887
|
"""
|
848
888
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -857,6 +897,7 @@ class Hl7Store(pulumi.CustomResource):
|
|
857
897
|
__props__.__dict__["notification_configs"] = notification_configs
|
858
898
|
__props__.__dict__["parser_config"] = parser_config
|
859
899
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
900
|
+
__props__.__dict__["reject_duplicate_message"] = reject_duplicate_message
|
860
901
|
__props__.__dict__["self_link"] = self_link
|
861
902
|
return Hl7Store(resource_name, opts=opts, __props__=__props__)
|
862
903
|
|
@@ -951,6 +992,14 @@ class Hl7Store(pulumi.CustomResource):
|
|
951
992
|
"""
|
952
993
|
return pulumi.get(self, "pulumi_labels")
|
953
994
|
|
995
|
+
@property
|
996
|
+
@pulumi.getter(name="rejectDuplicateMessage")
|
997
|
+
def reject_duplicate_message(self) -> pulumi.Output[Optional[bool]]:
|
998
|
+
"""
|
999
|
+
Determines whether duplicate messages are allowed.
|
1000
|
+
"""
|
1001
|
+
return pulumi.get(self, "reject_duplicate_message")
|
1002
|
+
|
954
1003
|
@property
|
955
1004
|
@pulumi.getter(name="selfLink")
|
956
1005
|
def self_link(self) -> pulumi.Output[str]:
|