pulumi-gcp 7.12.0a1709365001__py3-none-any.whl → 7.13.0a1709814369__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. pulumi_gcp/__init__.py +72 -0
  2. pulumi_gcp/appengine/application_url_dispatch_rules.py +2 -2
  3. pulumi_gcp/appengine/engine_split_traffic.py +4 -4
  4. pulumi_gcp/appengine/service_network_settings.py +2 -2
  5. pulumi_gcp/appengine/standard_app_version.py +4 -4
  6. pulumi_gcp/bigquery/_inputs.py +88 -0
  7. pulumi_gcp/bigquery/dataset_iam_binding.py +35 -28
  8. pulumi_gcp/bigquery/dataset_iam_member.py +35 -28
  9. pulumi_gcp/bigquery/dataset_iam_policy.py +35 -28
  10. pulumi_gcp/bigquery/outputs.py +91 -0
  11. pulumi_gcp/bigquery/routine.py +118 -12
  12. pulumi_gcp/certificatemanager/dns_authorization.py +63 -14
  13. pulumi_gcp/clouddeploy/__init__.py +4 -0
  14. pulumi_gcp/clouddeploy/_inputs.py +80 -0
  15. pulumi_gcp/clouddeploy/automation.py +16 -0
  16. pulumi_gcp/clouddeploy/get_target_iam_policy.py +162 -0
  17. pulumi_gcp/clouddeploy/outputs.py +56 -0
  18. pulumi_gcp/clouddeploy/target_iam_binding.py +324 -0
  19. pulumi_gcp/clouddeploy/target_iam_member.py +324 -0
  20. pulumi_gcp/clouddeploy/target_iam_policy.py +253 -0
  21. pulumi_gcp/cloudfunctionsv2/function.py +0 -2
  22. pulumi_gcp/cloudrunv2/_inputs.py +4 -2
  23. pulumi_gcp/cloudrunv2/outputs.py +8 -4
  24. pulumi_gcp/composer/_inputs.py +18 -2
  25. pulumi_gcp/composer/outputs.py +29 -4
  26. pulumi_gcp/compute/__init__.py +1 -0
  27. pulumi_gcp/compute/get_forwarding_rules.py +142 -0
  28. pulumi_gcp/compute/instance_group_membership.py +4 -4
  29. pulumi_gcp/compute/outputs.py +816 -0
  30. pulumi_gcp/compute/region_network_endpoint.py +2 -2
  31. pulumi_gcp/compute/region_target_https_proxy.py +162 -37
  32. pulumi_gcp/compute/router_nat.py +8 -8
  33. pulumi_gcp/container/_inputs.py +80 -0
  34. pulumi_gcp/container/cluster.py +20 -16
  35. pulumi_gcp/container/outputs.py +115 -1
  36. pulumi_gcp/firebase/__init__.py +4 -0
  37. pulumi_gcp/firebase/app_check_app_attest_config.py +461 -0
  38. pulumi_gcp/firebase/app_check_play_integrity_config.py +465 -0
  39. pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +474 -0
  40. pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +511 -0
  41. pulumi_gcp/gkehub/scope.py +85 -0
  42. pulumi_gcp/integrationconnectors/connection.py +4 -4
  43. pulumi_gcp/looker/_inputs.py +42 -0
  44. pulumi_gcp/looker/instance.py +90 -0
  45. pulumi_gcp/looker/outputs.py +34 -0
  46. pulumi_gcp/migrationcenter/__init__.py +3 -0
  47. pulumi_gcp/migrationcenter/_inputs.py +500 -0
  48. pulumi_gcp/migrationcenter/outputs.py +562 -0
  49. pulumi_gcp/migrationcenter/preference_set.py +687 -0
  50. pulumi_gcp/monitoring/custom_service.py +4 -2
  51. pulumi_gcp/monitoring/generic_service.py +4 -2
  52. pulumi_gcp/monitoring/get_app_engine_service.py +2 -2
  53. pulumi_gcp/netapp/__init__.py +1 -0
  54. pulumi_gcp/netapp/_inputs.py +275 -0
  55. pulumi_gcp/netapp/outputs.py +290 -0
  56. pulumi_gcp/netapp/volume.py +140 -2
  57. pulumi_gcp/netapp/volume_replication.py +1292 -0
  58. pulumi_gcp/notebooks/instance.py +1 -1
  59. pulumi_gcp/securityposture/_inputs.py +22 -19
  60. pulumi_gcp/securityposture/outputs.py +18 -15
  61. pulumi_gcp/securityposture/posture.py +28 -48
  62. pulumi_gcp/spanner/_inputs.py +20 -0
  63. pulumi_gcp/spanner/database_iam_binding.py +134 -0
  64. pulumi_gcp/spanner/database_iam_member.py +134 -0
  65. pulumi_gcp/spanner/database_iam_policy.py +114 -0
  66. pulumi_gcp/spanner/outputs.py +20 -0
  67. pulumi_gcp/workbench/_inputs.py +157 -2
  68. pulumi_gcp/workbench/instance.py +52 -0
  69. pulumi_gcp/workbench/outputs.py +154 -2
  70. {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/METADATA +1 -1
  71. {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/RECORD +73 -60
  72. {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/WHEEL +0 -0
  73. {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,474 @@
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__ = ['AppCheckRecaptchaEnterpriseConfigArgs', 'AppCheckRecaptchaEnterpriseConfig']
13
+
14
+ @pulumi.input_type
15
+ class AppCheckRecaptchaEnterpriseConfigArgs:
16
+ def __init__(__self__, *,
17
+ app_id: pulumi.Input[str],
18
+ site_key: pulumi.Input[str],
19
+ project: Optional[pulumi.Input[str]] = None,
20
+ token_ttl: Optional[pulumi.Input[str]] = None):
21
+ """
22
+ The set of arguments for constructing a AppCheckRecaptchaEnterpriseConfig resource.
23
+ :param pulumi.Input[str] app_id: The ID of an
24
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
25
+
26
+
27
+ - - -
28
+ :param pulumi.Input[str] site_key: The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
29
+ **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
30
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
31
+ If it is not provided, the provider project is used.
32
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
33
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
34
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
35
+ """
36
+ pulumi.set(__self__, "app_id", app_id)
37
+ pulumi.set(__self__, "site_key", site_key)
38
+ if project is not None:
39
+ pulumi.set(__self__, "project", project)
40
+ if token_ttl is not None:
41
+ pulumi.set(__self__, "token_ttl", token_ttl)
42
+
43
+ @property
44
+ @pulumi.getter(name="appId")
45
+ def app_id(self) -> pulumi.Input[str]:
46
+ """
47
+ The ID of an
48
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
49
+
50
+
51
+ - - -
52
+ """
53
+ return pulumi.get(self, "app_id")
54
+
55
+ @app_id.setter
56
+ def app_id(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "app_id", value)
58
+
59
+ @property
60
+ @pulumi.getter(name="siteKey")
61
+ def site_key(self) -> pulumi.Input[str]:
62
+ """
63
+ The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
64
+ **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
65
+ """
66
+ return pulumi.get(self, "site_key")
67
+
68
+ @site_key.setter
69
+ def site_key(self, value: pulumi.Input[str]):
70
+ pulumi.set(self, "site_key", value)
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def project(self) -> Optional[pulumi.Input[str]]:
75
+ """
76
+ The ID of the project in which the resource belongs.
77
+ If it is not provided, the provider project is used.
78
+ """
79
+ return pulumi.get(self, "project")
80
+
81
+ @project.setter
82
+ def project(self, value: Optional[pulumi.Input[str]]):
83
+ pulumi.set(self, "project", value)
84
+
85
+ @property
86
+ @pulumi.getter(name="tokenTtl")
87
+ def token_ttl(self) -> Optional[pulumi.Input[str]]:
88
+ """
89
+ Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
90
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
91
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
92
+ """
93
+ return pulumi.get(self, "token_ttl")
94
+
95
+ @token_ttl.setter
96
+ def token_ttl(self, value: Optional[pulumi.Input[str]]):
97
+ pulumi.set(self, "token_ttl", value)
98
+
99
+
100
+ @pulumi.input_type
101
+ class _AppCheckRecaptchaEnterpriseConfigState:
102
+ def __init__(__self__, *,
103
+ app_id: Optional[pulumi.Input[str]] = None,
104
+ name: Optional[pulumi.Input[str]] = None,
105
+ project: Optional[pulumi.Input[str]] = None,
106
+ site_key: Optional[pulumi.Input[str]] = None,
107
+ token_ttl: Optional[pulumi.Input[str]] = None):
108
+ """
109
+ Input properties used for looking up and filtering AppCheckRecaptchaEnterpriseConfig resources.
110
+ :param pulumi.Input[str] app_id: The ID of an
111
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
112
+
113
+
114
+ - - -
115
+ :param pulumi.Input[str] name: The relative resource name of the reCAPTCHA Enterprise configuration object
116
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
117
+ If it is not provided, the provider project is used.
118
+ :param pulumi.Input[str] site_key: The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
119
+ **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
120
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
121
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
122
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
123
+ """
124
+ if app_id is not None:
125
+ pulumi.set(__self__, "app_id", app_id)
126
+ if name is not None:
127
+ pulumi.set(__self__, "name", name)
128
+ if project is not None:
129
+ pulumi.set(__self__, "project", project)
130
+ if site_key is not None:
131
+ pulumi.set(__self__, "site_key", site_key)
132
+ if token_ttl is not None:
133
+ pulumi.set(__self__, "token_ttl", token_ttl)
134
+
135
+ @property
136
+ @pulumi.getter(name="appId")
137
+ def app_id(self) -> Optional[pulumi.Input[str]]:
138
+ """
139
+ The ID of an
140
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
141
+
142
+
143
+ - - -
144
+ """
145
+ return pulumi.get(self, "app_id")
146
+
147
+ @app_id.setter
148
+ def app_id(self, value: Optional[pulumi.Input[str]]):
149
+ pulumi.set(self, "app_id", value)
150
+
151
+ @property
152
+ @pulumi.getter
153
+ def name(self) -> Optional[pulumi.Input[str]]:
154
+ """
155
+ The relative resource name of the reCAPTCHA Enterprise configuration object
156
+ """
157
+ return pulumi.get(self, "name")
158
+
159
+ @name.setter
160
+ def name(self, value: Optional[pulumi.Input[str]]):
161
+ pulumi.set(self, "name", value)
162
+
163
+ @property
164
+ @pulumi.getter
165
+ def project(self) -> Optional[pulumi.Input[str]]:
166
+ """
167
+ The ID of the project in which the resource belongs.
168
+ If it is not provided, the provider project is used.
169
+ """
170
+ return pulumi.get(self, "project")
171
+
172
+ @project.setter
173
+ def project(self, value: Optional[pulumi.Input[str]]):
174
+ pulumi.set(self, "project", value)
175
+
176
+ @property
177
+ @pulumi.getter(name="siteKey")
178
+ def site_key(self) -> Optional[pulumi.Input[str]]:
179
+ """
180
+ The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
181
+ **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
182
+ """
183
+ return pulumi.get(self, "site_key")
184
+
185
+ @site_key.setter
186
+ def site_key(self, value: Optional[pulumi.Input[str]]):
187
+ pulumi.set(self, "site_key", value)
188
+
189
+ @property
190
+ @pulumi.getter(name="tokenTtl")
191
+ def token_ttl(self) -> Optional[pulumi.Input[str]]:
192
+ """
193
+ Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
194
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
195
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
196
+ """
197
+ return pulumi.get(self, "token_ttl")
198
+
199
+ @token_ttl.setter
200
+ def token_ttl(self, value: Optional[pulumi.Input[str]]):
201
+ pulumi.set(self, "token_ttl", value)
202
+
203
+
204
+ class AppCheckRecaptchaEnterpriseConfig(pulumi.CustomResource):
205
+ @overload
206
+ def __init__(__self__,
207
+ resource_name: str,
208
+ opts: Optional[pulumi.ResourceOptions] = None,
209
+ app_id: Optional[pulumi.Input[str]] = None,
210
+ project: Optional[pulumi.Input[str]] = None,
211
+ site_key: Optional[pulumi.Input[str]] = None,
212
+ token_ttl: Optional[pulumi.Input[str]] = None,
213
+ __props__=None):
214
+ """
215
+ An app's reCAPTCHA Enterprise configuration object.
216
+
217
+ To get more information about RecaptchaEnterpriseConfig, see:
218
+
219
+ * [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.recaptchaEnterpriseConfig)
220
+ * How-to Guides
221
+ * [Official Documentation](https://firebase.google.com/docs/app-check)
222
+
223
+ ## Example Usage
224
+ ### Firebase App Check Recaptcha Enterprise Config Basic
225
+
226
+ ```python
227
+ import pulumi
228
+ import pulumi_gcp as gcp
229
+ import pulumi_time as time
230
+
231
+ default = gcp.firebase.WebApp("default",
232
+ project="my-project-name",
233
+ display_name="Web App for reCAPTCHA Enterprise")
234
+ # It takes a while for App Check to recognize the new app
235
+ # If your app already exists, you don't have to wait 30 seconds.
236
+ wait30s = time.index.Sleep("wait_30s", create_duration=30s)
237
+ default_app_check_recaptcha_enterprise_config = gcp.firebase.AppCheckRecaptchaEnterpriseConfig("default",
238
+ project="my-project-name",
239
+ app_id=default.app_id,
240
+ site_key="6LdpMXIpAAAAANkwWQPgEdjEhal7ugkH9RK9ytuw",
241
+ token_ttl="7200s")
242
+ ```
243
+
244
+ ## Import
245
+
246
+ RecaptchaEnterpriseConfig can be imported using any of these accepted formats:
247
+
248
+ * `projects/{{project}}/apps/{{app_id}}/recaptchaEnterpriseConfig`
249
+
250
+ * `{{project}}/{{app_id}}`
251
+
252
+ * `{{app_id}}`
253
+
254
+ When using the `pulumi import` command, RecaptchaEnterpriseConfig can be imported using one of the formats above. For example:
255
+
256
+ ```sh
257
+ $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default projects/{{project}}/apps/{{app_id}}/recaptchaEnterpriseConfig
258
+ ```
259
+
260
+ ```sh
261
+ $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default {{project}}/{{app_id}}
262
+ ```
263
+
264
+ ```sh
265
+ $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default {{app_id}}
266
+ ```
267
+
268
+ :param str resource_name: The name of the resource.
269
+ :param pulumi.ResourceOptions opts: Options for the resource.
270
+ :param pulumi.Input[str] app_id: The ID of an
271
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
272
+
273
+
274
+ - - -
275
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
276
+ If it is not provided, the provider project is used.
277
+ :param pulumi.Input[str] site_key: The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
278
+ **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
279
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
280
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
281
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
282
+ """
283
+ ...
284
+ @overload
285
+ def __init__(__self__,
286
+ resource_name: str,
287
+ args: AppCheckRecaptchaEnterpriseConfigArgs,
288
+ opts: Optional[pulumi.ResourceOptions] = None):
289
+ """
290
+ An app's reCAPTCHA Enterprise configuration object.
291
+
292
+ To get more information about RecaptchaEnterpriseConfig, see:
293
+
294
+ * [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.recaptchaEnterpriseConfig)
295
+ * How-to Guides
296
+ * [Official Documentation](https://firebase.google.com/docs/app-check)
297
+
298
+ ## Example Usage
299
+ ### Firebase App Check Recaptcha Enterprise Config Basic
300
+
301
+ ```python
302
+ import pulumi
303
+ import pulumi_gcp as gcp
304
+ import pulumi_time as time
305
+
306
+ default = gcp.firebase.WebApp("default",
307
+ project="my-project-name",
308
+ display_name="Web App for reCAPTCHA Enterprise")
309
+ # It takes a while for App Check to recognize the new app
310
+ # If your app already exists, you don't have to wait 30 seconds.
311
+ wait30s = time.index.Sleep("wait_30s", create_duration=30s)
312
+ default_app_check_recaptcha_enterprise_config = gcp.firebase.AppCheckRecaptchaEnterpriseConfig("default",
313
+ project="my-project-name",
314
+ app_id=default.app_id,
315
+ site_key="6LdpMXIpAAAAANkwWQPgEdjEhal7ugkH9RK9ytuw",
316
+ token_ttl="7200s")
317
+ ```
318
+
319
+ ## Import
320
+
321
+ RecaptchaEnterpriseConfig can be imported using any of these accepted formats:
322
+
323
+ * `projects/{{project}}/apps/{{app_id}}/recaptchaEnterpriseConfig`
324
+
325
+ * `{{project}}/{{app_id}}`
326
+
327
+ * `{{app_id}}`
328
+
329
+ When using the `pulumi import` command, RecaptchaEnterpriseConfig can be imported using one of the formats above. For example:
330
+
331
+ ```sh
332
+ $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default projects/{{project}}/apps/{{app_id}}/recaptchaEnterpriseConfig
333
+ ```
334
+
335
+ ```sh
336
+ $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default {{project}}/{{app_id}}
337
+ ```
338
+
339
+ ```sh
340
+ $ pulumi import gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig default {{app_id}}
341
+ ```
342
+
343
+ :param str resource_name: The name of the resource.
344
+ :param AppCheckRecaptchaEnterpriseConfigArgs args: The arguments to use to populate this resource's properties.
345
+ :param pulumi.ResourceOptions opts: Options for the resource.
346
+ """
347
+ ...
348
+ def __init__(__self__, resource_name: str, *args, **kwargs):
349
+ resource_args, opts = _utilities.get_resource_args_opts(AppCheckRecaptchaEnterpriseConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
350
+ if resource_args is not None:
351
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
352
+ else:
353
+ __self__._internal_init(resource_name, *args, **kwargs)
354
+
355
+ def _internal_init(__self__,
356
+ resource_name: str,
357
+ opts: Optional[pulumi.ResourceOptions] = None,
358
+ app_id: Optional[pulumi.Input[str]] = None,
359
+ project: Optional[pulumi.Input[str]] = None,
360
+ site_key: Optional[pulumi.Input[str]] = None,
361
+ token_ttl: Optional[pulumi.Input[str]] = None,
362
+ __props__=None):
363
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
364
+ if not isinstance(opts, pulumi.ResourceOptions):
365
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
366
+ if opts.id is None:
367
+ if __props__ is not None:
368
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
369
+ __props__ = AppCheckRecaptchaEnterpriseConfigArgs.__new__(AppCheckRecaptchaEnterpriseConfigArgs)
370
+
371
+ if app_id is None and not opts.urn:
372
+ raise TypeError("Missing required property 'app_id'")
373
+ __props__.__dict__["app_id"] = app_id
374
+ __props__.__dict__["project"] = project
375
+ if site_key is None and not opts.urn:
376
+ raise TypeError("Missing required property 'site_key'")
377
+ __props__.__dict__["site_key"] = site_key
378
+ __props__.__dict__["token_ttl"] = token_ttl
379
+ __props__.__dict__["name"] = None
380
+ super(AppCheckRecaptchaEnterpriseConfig, __self__).__init__(
381
+ 'gcp:firebase/appCheckRecaptchaEnterpriseConfig:AppCheckRecaptchaEnterpriseConfig',
382
+ resource_name,
383
+ __props__,
384
+ opts)
385
+
386
+ @staticmethod
387
+ def get(resource_name: str,
388
+ id: pulumi.Input[str],
389
+ opts: Optional[pulumi.ResourceOptions] = None,
390
+ app_id: Optional[pulumi.Input[str]] = None,
391
+ name: Optional[pulumi.Input[str]] = None,
392
+ project: Optional[pulumi.Input[str]] = None,
393
+ site_key: Optional[pulumi.Input[str]] = None,
394
+ token_ttl: Optional[pulumi.Input[str]] = None) -> 'AppCheckRecaptchaEnterpriseConfig':
395
+ """
396
+ Get an existing AppCheckRecaptchaEnterpriseConfig resource's state with the given name, id, and optional extra
397
+ properties used to qualify the lookup.
398
+
399
+ :param str resource_name: The unique name of the resulting resource.
400
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
401
+ :param pulumi.ResourceOptions opts: Options for the resource.
402
+ :param pulumi.Input[str] app_id: The ID of an
403
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
404
+
405
+
406
+ - - -
407
+ :param pulumi.Input[str] name: The relative resource name of the reCAPTCHA Enterprise configuration object
408
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
409
+ If it is not provided, the provider project is used.
410
+ :param pulumi.Input[str] site_key: The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
411
+ **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
412
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
413
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
414
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
415
+ """
416
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
417
+
418
+ __props__ = _AppCheckRecaptchaEnterpriseConfigState.__new__(_AppCheckRecaptchaEnterpriseConfigState)
419
+
420
+ __props__.__dict__["app_id"] = app_id
421
+ __props__.__dict__["name"] = name
422
+ __props__.__dict__["project"] = project
423
+ __props__.__dict__["site_key"] = site_key
424
+ __props__.__dict__["token_ttl"] = token_ttl
425
+ return AppCheckRecaptchaEnterpriseConfig(resource_name, opts=opts, __props__=__props__)
426
+
427
+ @property
428
+ @pulumi.getter(name="appId")
429
+ def app_id(self) -> pulumi.Output[str]:
430
+ """
431
+ The ID of an
432
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
433
+
434
+
435
+ - - -
436
+ """
437
+ return pulumi.get(self, "app_id")
438
+
439
+ @property
440
+ @pulumi.getter
441
+ def name(self) -> pulumi.Output[str]:
442
+ """
443
+ The relative resource name of the reCAPTCHA Enterprise configuration object
444
+ """
445
+ return pulumi.get(self, "name")
446
+
447
+ @property
448
+ @pulumi.getter
449
+ def project(self) -> pulumi.Output[str]:
450
+ """
451
+ The ID of the project in which the resource belongs.
452
+ If it is not provided, the provider project is used.
453
+ """
454
+ return pulumi.get(self, "project")
455
+
456
+ @property
457
+ @pulumi.getter(name="siteKey")
458
+ def site_key(self) -> pulumi.Output[str]:
459
+ """
460
+ The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application.
461
+ **Important**: This is not the siteSecret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
462
+ """
463
+ return pulumi.get(self, "site_key")
464
+
465
+ @property
466
+ @pulumi.getter(name="tokenTtl")
467
+ def token_ttl(self) -> pulumi.Output[str]:
468
+ """
469
+ Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise artifacts will be valid.
470
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
471
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
472
+ """
473
+ return pulumi.get(self, "token_ttl")
474
+