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,511 @@
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__ = ['AppCheckRecaptchaV3ConfigArgs', 'AppCheckRecaptchaV3Config']
13
+
14
+ @pulumi.input_type
15
+ class AppCheckRecaptchaV3ConfigArgs:
16
+ def __init__(__self__, *,
17
+ app_id: pulumi.Input[str],
18
+ site_secret: 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 AppCheckRecaptchaV3Config 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_secret: The site secret used to identify your service for reCAPTCHA v3 verification.
29
+ For security reasons, this field will never be populated in any response.
30
+ **Note**: This property is sensitive and will not be displayed in the plan.
31
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
32
+ If it is not provided, the provider project is used.
33
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
34
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
35
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
36
+ """
37
+ pulumi.set(__self__, "app_id", app_id)
38
+ pulumi.set(__self__, "site_secret", site_secret)
39
+ if project is not None:
40
+ pulumi.set(__self__, "project", project)
41
+ if token_ttl is not None:
42
+ pulumi.set(__self__, "token_ttl", token_ttl)
43
+
44
+ @property
45
+ @pulumi.getter(name="appId")
46
+ def app_id(self) -> pulumi.Input[str]:
47
+ """
48
+ The ID of an
49
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
50
+
51
+
52
+ - - -
53
+ """
54
+ return pulumi.get(self, "app_id")
55
+
56
+ @app_id.setter
57
+ def app_id(self, value: pulumi.Input[str]):
58
+ pulumi.set(self, "app_id", value)
59
+
60
+ @property
61
+ @pulumi.getter(name="siteSecret")
62
+ def site_secret(self) -> pulumi.Input[str]:
63
+ """
64
+ The site secret used to identify your service for reCAPTCHA v3 verification.
65
+ For security reasons, this field will never be populated in any response.
66
+ **Note**: This property is sensitive and will not be displayed in the plan.
67
+ """
68
+ return pulumi.get(self, "site_secret")
69
+
70
+ @site_secret.setter
71
+ def site_secret(self, value: pulumi.Input[str]):
72
+ pulumi.set(self, "site_secret", value)
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def project(self) -> Optional[pulumi.Input[str]]:
77
+ """
78
+ The ID of the project in which the resource belongs.
79
+ If it is not provided, the provider project is used.
80
+ """
81
+ return pulumi.get(self, "project")
82
+
83
+ @project.setter
84
+ def project(self, value: Optional[pulumi.Input[str]]):
85
+ pulumi.set(self, "project", value)
86
+
87
+ @property
88
+ @pulumi.getter(name="tokenTtl")
89
+ def token_ttl(self) -> Optional[pulumi.Input[str]]:
90
+ """
91
+ Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
92
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
93
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
94
+ """
95
+ return pulumi.get(self, "token_ttl")
96
+
97
+ @token_ttl.setter
98
+ def token_ttl(self, value: Optional[pulumi.Input[str]]):
99
+ pulumi.set(self, "token_ttl", value)
100
+
101
+
102
+ @pulumi.input_type
103
+ class _AppCheckRecaptchaV3ConfigState:
104
+ def __init__(__self__, *,
105
+ app_id: Optional[pulumi.Input[str]] = None,
106
+ name: Optional[pulumi.Input[str]] = None,
107
+ project: Optional[pulumi.Input[str]] = None,
108
+ site_secret: Optional[pulumi.Input[str]] = None,
109
+ site_secret_set: Optional[pulumi.Input[bool]] = None,
110
+ token_ttl: Optional[pulumi.Input[str]] = None):
111
+ """
112
+ Input properties used for looking up and filtering AppCheckRecaptchaV3Config resources.
113
+ :param pulumi.Input[str] app_id: The ID of an
114
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
115
+
116
+
117
+ - - -
118
+ :param pulumi.Input[str] name: The relative resource name of the reCAPTCHA V3 configuration object
119
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
120
+ If it is not provided, the provider project is used.
121
+ :param pulumi.Input[str] site_secret: The site secret used to identify your service for reCAPTCHA v3 verification.
122
+ For security reasons, this field will never be populated in any response.
123
+ **Note**: This property is sensitive and will not be displayed in the plan.
124
+ :param pulumi.Input[bool] site_secret_set: Whether the siteSecret was previously set. Since we will never return the siteSecret field, this field is the only way to find out whether it was previously set.
125
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
126
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
127
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
128
+ """
129
+ if app_id is not None:
130
+ pulumi.set(__self__, "app_id", app_id)
131
+ if name is not None:
132
+ pulumi.set(__self__, "name", name)
133
+ if project is not None:
134
+ pulumi.set(__self__, "project", project)
135
+ if site_secret is not None:
136
+ pulumi.set(__self__, "site_secret", site_secret)
137
+ if site_secret_set is not None:
138
+ pulumi.set(__self__, "site_secret_set", site_secret_set)
139
+ if token_ttl is not None:
140
+ pulumi.set(__self__, "token_ttl", token_ttl)
141
+
142
+ @property
143
+ @pulumi.getter(name="appId")
144
+ def app_id(self) -> Optional[pulumi.Input[str]]:
145
+ """
146
+ The ID of an
147
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
148
+
149
+
150
+ - - -
151
+ """
152
+ return pulumi.get(self, "app_id")
153
+
154
+ @app_id.setter
155
+ def app_id(self, value: Optional[pulumi.Input[str]]):
156
+ pulumi.set(self, "app_id", value)
157
+
158
+ @property
159
+ @pulumi.getter
160
+ def name(self) -> Optional[pulumi.Input[str]]:
161
+ """
162
+ The relative resource name of the reCAPTCHA V3 configuration object
163
+ """
164
+ return pulumi.get(self, "name")
165
+
166
+ @name.setter
167
+ def name(self, value: Optional[pulumi.Input[str]]):
168
+ pulumi.set(self, "name", value)
169
+
170
+ @property
171
+ @pulumi.getter
172
+ def project(self) -> Optional[pulumi.Input[str]]:
173
+ """
174
+ The ID of the project in which the resource belongs.
175
+ If it is not provided, the provider project is used.
176
+ """
177
+ return pulumi.get(self, "project")
178
+
179
+ @project.setter
180
+ def project(self, value: Optional[pulumi.Input[str]]):
181
+ pulumi.set(self, "project", value)
182
+
183
+ @property
184
+ @pulumi.getter(name="siteSecret")
185
+ def site_secret(self) -> Optional[pulumi.Input[str]]:
186
+ """
187
+ The site secret used to identify your service for reCAPTCHA v3 verification.
188
+ For security reasons, this field will never be populated in any response.
189
+ **Note**: This property is sensitive and will not be displayed in the plan.
190
+ """
191
+ return pulumi.get(self, "site_secret")
192
+
193
+ @site_secret.setter
194
+ def site_secret(self, value: Optional[pulumi.Input[str]]):
195
+ pulumi.set(self, "site_secret", value)
196
+
197
+ @property
198
+ @pulumi.getter(name="siteSecretSet")
199
+ def site_secret_set(self) -> Optional[pulumi.Input[bool]]:
200
+ """
201
+ Whether the siteSecret was previously set. Since we will never return the siteSecret field, this field is the only way to find out whether it was previously set.
202
+ """
203
+ return pulumi.get(self, "site_secret_set")
204
+
205
+ @site_secret_set.setter
206
+ def site_secret_set(self, value: Optional[pulumi.Input[bool]]):
207
+ pulumi.set(self, "site_secret_set", value)
208
+
209
+ @property
210
+ @pulumi.getter(name="tokenTtl")
211
+ def token_ttl(self) -> Optional[pulumi.Input[str]]:
212
+ """
213
+ Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
214
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
215
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
216
+ """
217
+ return pulumi.get(self, "token_ttl")
218
+
219
+ @token_ttl.setter
220
+ def token_ttl(self, value: Optional[pulumi.Input[str]]):
221
+ pulumi.set(self, "token_ttl", value)
222
+
223
+
224
+ class AppCheckRecaptchaV3Config(pulumi.CustomResource):
225
+ @overload
226
+ def __init__(__self__,
227
+ resource_name: str,
228
+ opts: Optional[pulumi.ResourceOptions] = None,
229
+ app_id: Optional[pulumi.Input[str]] = None,
230
+ project: Optional[pulumi.Input[str]] = None,
231
+ site_secret: Optional[pulumi.Input[str]] = None,
232
+ token_ttl: Optional[pulumi.Input[str]] = None,
233
+ __props__=None):
234
+ """
235
+ An app's reCAPTCHA V3 configuration object.
236
+
237
+ To get more information about RecaptchaV3Config, see:
238
+
239
+ * [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.recaptchaV3Config)
240
+ * How-to Guides
241
+ * [Official Documentation](https://firebase.google.com/docs/app-check)
242
+
243
+ ## Example Usage
244
+ ### Firebase App Check Recaptcha V3 Config Basic
245
+
246
+ ```python
247
+ import pulumi
248
+ import pulumi_gcp as gcp
249
+ import pulumi_time as time
250
+
251
+ default = gcp.firebase.WebApp("default",
252
+ project="my-project-name",
253
+ display_name="Web App for reCAPTCHA V3")
254
+ # It takes a while for App Check to recognize the new app
255
+ # If your app already exists, you don't have to wait 30 seconds.
256
+ wait30s = time.index.Sleep("wait_30s", create_duration=30s)
257
+ default_app_check_recaptcha_v3_config = gcp.firebase.AppCheckRecaptchaV3Config("default",
258
+ project="my-project-name",
259
+ app_id=default.app_id,
260
+ site_secret="6Lf9YnQpAAAAAC3-MHmdAllTbPwTZxpUw5d34YzX",
261
+ token_ttl="7200s")
262
+ ```
263
+
264
+ ## Import
265
+
266
+ RecaptchaV3Config can be imported using any of these accepted formats:
267
+
268
+ * `projects/{{project}}/apps/{{app_id}}/recaptchaV3Config`
269
+
270
+ * `{{project}}/{{app_id}}`
271
+
272
+ * `{{app_id}}`
273
+
274
+ When using the `pulumi import` command, RecaptchaV3Config can be imported using one of the formats above. For example:
275
+
276
+ ```sh
277
+ $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default projects/{{project}}/apps/{{app_id}}/recaptchaV3Config
278
+ ```
279
+
280
+ ```sh
281
+ $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default {{project}}/{{app_id}}
282
+ ```
283
+
284
+ ```sh
285
+ $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default {{app_id}}
286
+ ```
287
+
288
+ :param str resource_name: The name of the resource.
289
+ :param pulumi.ResourceOptions opts: Options for the resource.
290
+ :param pulumi.Input[str] app_id: The ID of an
291
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
292
+
293
+
294
+ - - -
295
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
296
+ If it is not provided, the provider project is used.
297
+ :param pulumi.Input[str] site_secret: The site secret used to identify your service for reCAPTCHA v3 verification.
298
+ For security reasons, this field will never be populated in any response.
299
+ **Note**: This property is sensitive and will not be displayed in the plan.
300
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
301
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
302
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
303
+ """
304
+ ...
305
+ @overload
306
+ def __init__(__self__,
307
+ resource_name: str,
308
+ args: AppCheckRecaptchaV3ConfigArgs,
309
+ opts: Optional[pulumi.ResourceOptions] = None):
310
+ """
311
+ An app's reCAPTCHA V3 configuration object.
312
+
313
+ To get more information about RecaptchaV3Config, see:
314
+
315
+ * [API documentation](https://firebase.google.com/docs/reference/appcheck/rest/v1/projects.apps.recaptchaV3Config)
316
+ * How-to Guides
317
+ * [Official Documentation](https://firebase.google.com/docs/app-check)
318
+
319
+ ## Example Usage
320
+ ### Firebase App Check Recaptcha V3 Config Basic
321
+
322
+ ```python
323
+ import pulumi
324
+ import pulumi_gcp as gcp
325
+ import pulumi_time as time
326
+
327
+ default = gcp.firebase.WebApp("default",
328
+ project="my-project-name",
329
+ display_name="Web App for reCAPTCHA V3")
330
+ # It takes a while for App Check to recognize the new app
331
+ # If your app already exists, you don't have to wait 30 seconds.
332
+ wait30s = time.index.Sleep("wait_30s", create_duration=30s)
333
+ default_app_check_recaptcha_v3_config = gcp.firebase.AppCheckRecaptchaV3Config("default",
334
+ project="my-project-name",
335
+ app_id=default.app_id,
336
+ site_secret="6Lf9YnQpAAAAAC3-MHmdAllTbPwTZxpUw5d34YzX",
337
+ token_ttl="7200s")
338
+ ```
339
+
340
+ ## Import
341
+
342
+ RecaptchaV3Config can be imported using any of these accepted formats:
343
+
344
+ * `projects/{{project}}/apps/{{app_id}}/recaptchaV3Config`
345
+
346
+ * `{{project}}/{{app_id}}`
347
+
348
+ * `{{app_id}}`
349
+
350
+ When using the `pulumi import` command, RecaptchaV3Config can be imported using one of the formats above. For example:
351
+
352
+ ```sh
353
+ $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default projects/{{project}}/apps/{{app_id}}/recaptchaV3Config
354
+ ```
355
+
356
+ ```sh
357
+ $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default {{project}}/{{app_id}}
358
+ ```
359
+
360
+ ```sh
361
+ $ pulumi import gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config default {{app_id}}
362
+ ```
363
+
364
+ :param str resource_name: The name of the resource.
365
+ :param AppCheckRecaptchaV3ConfigArgs args: The arguments to use to populate this resource's properties.
366
+ :param pulumi.ResourceOptions opts: Options for the resource.
367
+ """
368
+ ...
369
+ def __init__(__self__, resource_name: str, *args, **kwargs):
370
+ resource_args, opts = _utilities.get_resource_args_opts(AppCheckRecaptchaV3ConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
371
+ if resource_args is not None:
372
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
373
+ else:
374
+ __self__._internal_init(resource_name, *args, **kwargs)
375
+
376
+ def _internal_init(__self__,
377
+ resource_name: str,
378
+ opts: Optional[pulumi.ResourceOptions] = None,
379
+ app_id: Optional[pulumi.Input[str]] = None,
380
+ project: Optional[pulumi.Input[str]] = None,
381
+ site_secret: Optional[pulumi.Input[str]] = None,
382
+ token_ttl: Optional[pulumi.Input[str]] = None,
383
+ __props__=None):
384
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
385
+ if not isinstance(opts, pulumi.ResourceOptions):
386
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
387
+ if opts.id is None:
388
+ if __props__ is not None:
389
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
390
+ __props__ = AppCheckRecaptchaV3ConfigArgs.__new__(AppCheckRecaptchaV3ConfigArgs)
391
+
392
+ if app_id is None and not opts.urn:
393
+ raise TypeError("Missing required property 'app_id'")
394
+ __props__.__dict__["app_id"] = app_id
395
+ __props__.__dict__["project"] = project
396
+ if site_secret is None and not opts.urn:
397
+ raise TypeError("Missing required property 'site_secret'")
398
+ __props__.__dict__["site_secret"] = None if site_secret is None else pulumi.Output.secret(site_secret)
399
+ __props__.__dict__["token_ttl"] = token_ttl
400
+ __props__.__dict__["name"] = None
401
+ __props__.__dict__["site_secret_set"] = None
402
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["siteSecret"])
403
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
404
+ super(AppCheckRecaptchaV3Config, __self__).__init__(
405
+ 'gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config',
406
+ resource_name,
407
+ __props__,
408
+ opts)
409
+
410
+ @staticmethod
411
+ def get(resource_name: str,
412
+ id: pulumi.Input[str],
413
+ opts: Optional[pulumi.ResourceOptions] = None,
414
+ app_id: Optional[pulumi.Input[str]] = None,
415
+ name: Optional[pulumi.Input[str]] = None,
416
+ project: Optional[pulumi.Input[str]] = None,
417
+ site_secret: Optional[pulumi.Input[str]] = None,
418
+ site_secret_set: Optional[pulumi.Input[bool]] = None,
419
+ token_ttl: Optional[pulumi.Input[str]] = None) -> 'AppCheckRecaptchaV3Config':
420
+ """
421
+ Get an existing AppCheckRecaptchaV3Config resource's state with the given name, id, and optional extra
422
+ properties used to qualify the lookup.
423
+
424
+ :param str resource_name: The unique name of the resulting resource.
425
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
426
+ :param pulumi.ResourceOptions opts: Options for the resource.
427
+ :param pulumi.Input[str] app_id: The ID of an
428
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
429
+
430
+
431
+ - - -
432
+ :param pulumi.Input[str] name: The relative resource name of the reCAPTCHA V3 configuration object
433
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
434
+ If it is not provided, the provider project is used.
435
+ :param pulumi.Input[str] site_secret: The site secret used to identify your service for reCAPTCHA v3 verification.
436
+ For security reasons, this field will never be populated in any response.
437
+ **Note**: This property is sensitive and will not be displayed in the plan.
438
+ :param pulumi.Input[bool] site_secret_set: Whether the siteSecret was previously set. Since we will never return the siteSecret field, this field is the only way to find out whether it was previously set.
439
+ :param pulumi.Input[str] token_ttl: Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
440
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
441
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
442
+ """
443
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
444
+
445
+ __props__ = _AppCheckRecaptchaV3ConfigState.__new__(_AppCheckRecaptchaV3ConfigState)
446
+
447
+ __props__.__dict__["app_id"] = app_id
448
+ __props__.__dict__["name"] = name
449
+ __props__.__dict__["project"] = project
450
+ __props__.__dict__["site_secret"] = site_secret
451
+ __props__.__dict__["site_secret_set"] = site_secret_set
452
+ __props__.__dict__["token_ttl"] = token_ttl
453
+ return AppCheckRecaptchaV3Config(resource_name, opts=opts, __props__=__props__)
454
+
455
+ @property
456
+ @pulumi.getter(name="appId")
457
+ def app_id(self) -> pulumi.Output[str]:
458
+ """
459
+ The ID of an
460
+ [Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id).
461
+
462
+
463
+ - - -
464
+ """
465
+ return pulumi.get(self, "app_id")
466
+
467
+ @property
468
+ @pulumi.getter
469
+ def name(self) -> pulumi.Output[str]:
470
+ """
471
+ The relative resource name of the reCAPTCHA V3 configuration object
472
+ """
473
+ return pulumi.get(self, "name")
474
+
475
+ @property
476
+ @pulumi.getter
477
+ def project(self) -> pulumi.Output[str]:
478
+ """
479
+ The ID of the project in which the resource belongs.
480
+ If it is not provided, the provider project is used.
481
+ """
482
+ return pulumi.get(self, "project")
483
+
484
+ @property
485
+ @pulumi.getter(name="siteSecret")
486
+ def site_secret(self) -> pulumi.Output[str]:
487
+ """
488
+ The site secret used to identify your service for reCAPTCHA v3 verification.
489
+ For security reasons, this field will never be populated in any response.
490
+ **Note**: This property is sensitive and will not be displayed in the plan.
491
+ """
492
+ return pulumi.get(self, "site_secret")
493
+
494
+ @property
495
+ @pulumi.getter(name="siteSecretSet")
496
+ def site_secret_set(self) -> pulumi.Output[bool]:
497
+ """
498
+ Whether the siteSecret was previously set. Since we will never return the siteSecret field, this field is the only way to find out whether it was previously set.
499
+ """
500
+ return pulumi.get(self, "site_secret_set")
501
+
502
+ @property
503
+ @pulumi.getter(name="tokenTtl")
504
+ def token_ttl(self) -> pulumi.Output[str]:
505
+ """
506
+ Specifies the duration for which App Check tokens exchanged from reCAPTCHA V3 artifacts will be valid.
507
+ If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
508
+ A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
509
+ """
510
+ return pulumi.get(self, "token_ttl")
511
+