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