pulumi-gcp 8.5.0__py3-none-any.whl → 8.5.0a1727969630__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -24
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/bigtable/gc_policy.py +0 -7
- pulumi_gcp/compute/_inputs.py +15 -299
- pulumi_gcp/compute/backend_service.py +7 -111
- pulumi_gcp/compute/get_backend_service.py +1 -11
- pulumi_gcp/compute/network.py +0 -236
- pulumi_gcp/compute/outputs.py +14 -399
- pulumi_gcp/compute/region_backend_service.py +7 -115
- pulumi_gcp/compute/route.py +0 -92
- pulumi_gcp/compute/subnetwork.py +2 -2
- pulumi_gcp/container/_inputs.py +0 -94
- pulumi_gcp/container/aws_node_pool.py +0 -59
- pulumi_gcp/container/outputs.py +0 -79
- pulumi_gcp/dataproc/__init__.py +0 -1
- pulumi_gcp/dataproc/_inputs.py +0 -1394
- pulumi_gcp/dataproc/outputs.py +0 -1127
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/healthcare/__init__.py +0 -1
- pulumi_gcp/healthcare/_inputs.py +0 -538
- pulumi_gcp/healthcare/outputs.py +0 -467
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/logging/log_scope.py +7 -7
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/pubsub/_inputs.py +1 -333
- pulumi_gcp/pubsub/outputs.py +2 -410
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +0 -44
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/repository.py +2 -0
- pulumi_gcp/securityposture/posture.py +2 -0
- pulumi_gcp/securityposture/posture_deployment.py +2 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +2 -0
- pulumi_gcp/siteverification/__init__.py +0 -1
- pulumi_gcp/sourcerepo/get_repository.py +1 -11
- pulumi_gcp/sourcerepo/repository.py +0 -47
- pulumi_gcp/tags/tag_key.py +7 -7
- pulumi_gcp/tags/tag_value.py +7 -7
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- {pulumi_gcp-8.5.0.dist-info → pulumi_gcp-8.5.0a1727969630.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.5.0.dist-info → pulumi_gcp-8.5.0a1727969630.dist-info}/RECORD +49 -52
- pulumi_gcp/dataproc/batch.py +0 -1514
- pulumi_gcp/healthcare/pipeline_job.py +0 -1233
- pulumi_gcp/siteverification/owner.py +0 -398
- {pulumi_gcp-8.5.0.dist-info → pulumi_gcp-8.5.0a1727969630.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.5.0.dist-info → pulumi_gcp-8.5.0a1727969630.dist-info}/top_level.txt +0 -0
@@ -1,398 +0,0 @@
|
|
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 sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
|
17
|
-
__all__ = ['OwnerArgs', 'Owner']
|
18
|
-
|
19
|
-
@pulumi.input_type
|
20
|
-
class OwnerArgs:
|
21
|
-
def __init__(__self__, *,
|
22
|
-
email: pulumi.Input[str],
|
23
|
-
web_resource_id: pulumi.Input[str]):
|
24
|
-
"""
|
25
|
-
The set of arguments for constructing a Owner resource.
|
26
|
-
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
27
|
-
|
28
|
-
- - -
|
29
|
-
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
30
|
-
such as `webResource/https://www.example.com/`
|
31
|
-
"""
|
32
|
-
pulumi.set(__self__, "email", email)
|
33
|
-
pulumi.set(__self__, "web_resource_id", web_resource_id)
|
34
|
-
|
35
|
-
@property
|
36
|
-
@pulumi.getter
|
37
|
-
def email(self) -> pulumi.Input[str]:
|
38
|
-
"""
|
39
|
-
The email of the user to be added as an owner.
|
40
|
-
|
41
|
-
- - -
|
42
|
-
"""
|
43
|
-
return pulumi.get(self, "email")
|
44
|
-
|
45
|
-
@email.setter
|
46
|
-
def email(self, value: pulumi.Input[str]):
|
47
|
-
pulumi.set(self, "email", value)
|
48
|
-
|
49
|
-
@property
|
50
|
-
@pulumi.getter(name="webResourceId")
|
51
|
-
def web_resource_id(self) -> pulumi.Input[str]:
|
52
|
-
"""
|
53
|
-
The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
54
|
-
such as `webResource/https://www.example.com/`
|
55
|
-
"""
|
56
|
-
return pulumi.get(self, "web_resource_id")
|
57
|
-
|
58
|
-
@web_resource_id.setter
|
59
|
-
def web_resource_id(self, value: pulumi.Input[str]):
|
60
|
-
pulumi.set(self, "web_resource_id", value)
|
61
|
-
|
62
|
-
|
63
|
-
@pulumi.input_type
|
64
|
-
class _OwnerState:
|
65
|
-
def __init__(__self__, *,
|
66
|
-
email: Optional[pulumi.Input[str]] = None,
|
67
|
-
web_resource_id: Optional[pulumi.Input[str]] = None):
|
68
|
-
"""
|
69
|
-
Input properties used for looking up and filtering Owner resources.
|
70
|
-
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
71
|
-
|
72
|
-
- - -
|
73
|
-
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
74
|
-
such as `webResource/https://www.example.com/`
|
75
|
-
"""
|
76
|
-
if email is not None:
|
77
|
-
pulumi.set(__self__, "email", email)
|
78
|
-
if web_resource_id is not None:
|
79
|
-
pulumi.set(__self__, "web_resource_id", web_resource_id)
|
80
|
-
|
81
|
-
@property
|
82
|
-
@pulumi.getter
|
83
|
-
def email(self) -> Optional[pulumi.Input[str]]:
|
84
|
-
"""
|
85
|
-
The email of the user to be added as an owner.
|
86
|
-
|
87
|
-
- - -
|
88
|
-
"""
|
89
|
-
return pulumi.get(self, "email")
|
90
|
-
|
91
|
-
@email.setter
|
92
|
-
def email(self, value: Optional[pulumi.Input[str]]):
|
93
|
-
pulumi.set(self, "email", value)
|
94
|
-
|
95
|
-
@property
|
96
|
-
@pulumi.getter(name="webResourceId")
|
97
|
-
def web_resource_id(self) -> Optional[pulumi.Input[str]]:
|
98
|
-
"""
|
99
|
-
The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
100
|
-
such as `webResource/https://www.example.com/`
|
101
|
-
"""
|
102
|
-
return pulumi.get(self, "web_resource_id")
|
103
|
-
|
104
|
-
@web_resource_id.setter
|
105
|
-
def web_resource_id(self, value: Optional[pulumi.Input[str]]):
|
106
|
-
pulumi.set(self, "web_resource_id", value)
|
107
|
-
|
108
|
-
|
109
|
-
class Owner(pulumi.CustomResource):
|
110
|
-
@overload
|
111
|
-
def __init__(__self__,
|
112
|
-
resource_name: str,
|
113
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
114
|
-
email: Optional[pulumi.Input[str]] = None,
|
115
|
-
web_resource_id: Optional[pulumi.Input[str]] = None,
|
116
|
-
__props__=None):
|
117
|
-
"""
|
118
|
-
## subcategory: "Site Verification"
|
119
|
-
|
120
|
-
description: |-
|
121
|
-
Manages additional owners on verified web resources.
|
122
|
-
---
|
123
|
-
|
124
|
-
# siteverification.Owner
|
125
|
-
|
126
|
-
An owner is an additional user that may manage a verified web site in the
|
127
|
-
[Google Search Console](https://www.google.com/webmasters/tools/). There
|
128
|
-
are two types of web resource owners:
|
129
|
-
|
130
|
-
* Verified owners, which are added to a web resource automatically when it
|
131
|
-
is created (i.e., when the resource is verified). A verified owner is
|
132
|
-
determined by the identity of the user requesting verification.
|
133
|
-
* Additional owners, which can be added to the resource by verified owners.
|
134
|
-
|
135
|
-
`siteverification.Owner` creates additional owners. If your web site
|
136
|
-
was verified using the
|
137
|
-
`siteverification.WebResource`
|
138
|
-
resource then you (or the identity was used to create the resource, such as a
|
139
|
-
service account) are already an owner.
|
140
|
-
|
141
|
-
> **Note:** The email address of the owner must belong to a Google account,
|
142
|
-
such as a Gmail account, a Google Workspace account, or a GCP service account.
|
143
|
-
|
144
|
-
Working with site verification requires the `https://www.googleapis.com/auth/siteverification`
|
145
|
-
authentication scope. See the
|
146
|
-
Google Provider authentication documentation
|
147
|
-
to learn how to configure additional scopes.
|
148
|
-
|
149
|
-
To get more information about site owners, see:
|
150
|
-
|
151
|
-
* [API documentation](https://developers.google.com/site-verification/v1)
|
152
|
-
* How-to Guides
|
153
|
-
* [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
|
154
|
-
|
155
|
-
## Example Usage
|
156
|
-
|
157
|
-
### Site Verification Storage Bucket
|
158
|
-
|
159
|
-
This example uses the `FILE` verification method to verify ownership of web site hosted
|
160
|
-
in a Google Cloud Storage bucket. Ownership is proved by creating a file with a Google-provided
|
161
|
-
value in a known location. The user applying this configuration will automatically be
|
162
|
-
added as a verified owner, and the `siteverification.Owner` resource will add
|
163
|
-
`user@example.com` as an additional owner.
|
164
|
-
|
165
|
-
```python
|
166
|
-
import pulumi
|
167
|
-
import pulumi_gcp as gcp
|
168
|
-
|
169
|
-
bucket = gcp.storage.Bucket("bucket",
|
170
|
-
name="example-storage-bucket",
|
171
|
-
location="US")
|
172
|
-
token = gcp.siteverification.get_token_output(type="SITE",
|
173
|
-
identifier=bucket.name.apply(lambda name: f"https://{name}.storage.googleapis.com/"),
|
174
|
-
verification_method="FILE")
|
175
|
-
object = gcp.storage.BucketObject("object",
|
176
|
-
name=token.token,
|
177
|
-
content=token.apply(lambda token: f"google-site-verification: {token.token}"),
|
178
|
-
bucket=bucket.name)
|
179
|
-
public_rule = gcp.storage.ObjectAccessControl("public_rule",
|
180
|
-
bucket=bucket.name,
|
181
|
-
object=object.name,
|
182
|
-
role="READER",
|
183
|
-
entity="allUsers")
|
184
|
-
example = gcp.siteverification.WebResource("example",
|
185
|
-
site={
|
186
|
-
"type": token.type,
|
187
|
-
"identifier": token.identifier,
|
188
|
-
},
|
189
|
-
verification_method=token.verification_method)
|
190
|
-
example_owner = gcp.siteverification.Owner("example",
|
191
|
-
web_resource_id=example.id,
|
192
|
-
email="user@example.com")
|
193
|
-
```
|
194
|
-
|
195
|
-
## Import
|
196
|
-
|
197
|
-
Owner can be imported using this format:
|
198
|
-
|
199
|
-
* `webResource/{{web_resource_id}}/{{email}}`
|
200
|
-
|
201
|
-
When using the `pulumi import` command, Site owners can be imported using the format above. For example:
|
202
|
-
|
203
|
-
```sh
|
204
|
-
$ pulumi import gcp:siteverification/owner:Owner default webResource/{{web_resource_id}}/{{email}}
|
205
|
-
```
|
206
|
-
|
207
|
-
verified owners is to delete the web resource itself.
|
208
|
-
|
209
|
-
:param str resource_name: The name of the resource.
|
210
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
211
|
-
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
212
|
-
|
213
|
-
- - -
|
214
|
-
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
215
|
-
such as `webResource/https://www.example.com/`
|
216
|
-
"""
|
217
|
-
...
|
218
|
-
@overload
|
219
|
-
def __init__(__self__,
|
220
|
-
resource_name: str,
|
221
|
-
args: OwnerArgs,
|
222
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
223
|
-
"""
|
224
|
-
## subcategory: "Site Verification"
|
225
|
-
|
226
|
-
description: |-
|
227
|
-
Manages additional owners on verified web resources.
|
228
|
-
---
|
229
|
-
|
230
|
-
# siteverification.Owner
|
231
|
-
|
232
|
-
An owner is an additional user that may manage a verified web site in the
|
233
|
-
[Google Search Console](https://www.google.com/webmasters/tools/). There
|
234
|
-
are two types of web resource owners:
|
235
|
-
|
236
|
-
* Verified owners, which are added to a web resource automatically when it
|
237
|
-
is created (i.e., when the resource is verified). A verified owner is
|
238
|
-
determined by the identity of the user requesting verification.
|
239
|
-
* Additional owners, which can be added to the resource by verified owners.
|
240
|
-
|
241
|
-
`siteverification.Owner` creates additional owners. If your web site
|
242
|
-
was verified using the
|
243
|
-
`siteverification.WebResource`
|
244
|
-
resource then you (or the identity was used to create the resource, such as a
|
245
|
-
service account) are already an owner.
|
246
|
-
|
247
|
-
> **Note:** The email address of the owner must belong to a Google account,
|
248
|
-
such as a Gmail account, a Google Workspace account, or a GCP service account.
|
249
|
-
|
250
|
-
Working with site verification requires the `https://www.googleapis.com/auth/siteverification`
|
251
|
-
authentication scope. See the
|
252
|
-
Google Provider authentication documentation
|
253
|
-
to learn how to configure additional scopes.
|
254
|
-
|
255
|
-
To get more information about site owners, see:
|
256
|
-
|
257
|
-
* [API documentation](https://developers.google.com/site-verification/v1)
|
258
|
-
* How-to Guides
|
259
|
-
* [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
|
260
|
-
|
261
|
-
## Example Usage
|
262
|
-
|
263
|
-
### Site Verification Storage Bucket
|
264
|
-
|
265
|
-
This example uses the `FILE` verification method to verify ownership of web site hosted
|
266
|
-
in a Google Cloud Storage bucket. Ownership is proved by creating a file with a Google-provided
|
267
|
-
value in a known location. The user applying this configuration will automatically be
|
268
|
-
added as a verified owner, and the `siteverification.Owner` resource will add
|
269
|
-
`user@example.com` as an additional owner.
|
270
|
-
|
271
|
-
```python
|
272
|
-
import pulumi
|
273
|
-
import pulumi_gcp as gcp
|
274
|
-
|
275
|
-
bucket = gcp.storage.Bucket("bucket",
|
276
|
-
name="example-storage-bucket",
|
277
|
-
location="US")
|
278
|
-
token = gcp.siteverification.get_token_output(type="SITE",
|
279
|
-
identifier=bucket.name.apply(lambda name: f"https://{name}.storage.googleapis.com/"),
|
280
|
-
verification_method="FILE")
|
281
|
-
object = gcp.storage.BucketObject("object",
|
282
|
-
name=token.token,
|
283
|
-
content=token.apply(lambda token: f"google-site-verification: {token.token}"),
|
284
|
-
bucket=bucket.name)
|
285
|
-
public_rule = gcp.storage.ObjectAccessControl("public_rule",
|
286
|
-
bucket=bucket.name,
|
287
|
-
object=object.name,
|
288
|
-
role="READER",
|
289
|
-
entity="allUsers")
|
290
|
-
example = gcp.siteverification.WebResource("example",
|
291
|
-
site={
|
292
|
-
"type": token.type,
|
293
|
-
"identifier": token.identifier,
|
294
|
-
},
|
295
|
-
verification_method=token.verification_method)
|
296
|
-
example_owner = gcp.siteverification.Owner("example",
|
297
|
-
web_resource_id=example.id,
|
298
|
-
email="user@example.com")
|
299
|
-
```
|
300
|
-
|
301
|
-
## Import
|
302
|
-
|
303
|
-
Owner can be imported using this format:
|
304
|
-
|
305
|
-
* `webResource/{{web_resource_id}}/{{email}}`
|
306
|
-
|
307
|
-
When using the `pulumi import` command, Site owners can be imported using the format above. For example:
|
308
|
-
|
309
|
-
```sh
|
310
|
-
$ pulumi import gcp:siteverification/owner:Owner default webResource/{{web_resource_id}}/{{email}}
|
311
|
-
```
|
312
|
-
|
313
|
-
verified owners is to delete the web resource itself.
|
314
|
-
|
315
|
-
:param str resource_name: The name of the resource.
|
316
|
-
:param OwnerArgs args: The arguments to use to populate this resource's properties.
|
317
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
318
|
-
"""
|
319
|
-
...
|
320
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
321
|
-
resource_args, opts = _utilities.get_resource_args_opts(OwnerArgs, pulumi.ResourceOptions, *args, **kwargs)
|
322
|
-
if resource_args is not None:
|
323
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
324
|
-
else:
|
325
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
326
|
-
|
327
|
-
def _internal_init(__self__,
|
328
|
-
resource_name: str,
|
329
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
330
|
-
email: Optional[pulumi.Input[str]] = None,
|
331
|
-
web_resource_id: Optional[pulumi.Input[str]] = None,
|
332
|
-
__props__=None):
|
333
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
334
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
335
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
336
|
-
if opts.id is None:
|
337
|
-
if __props__ is not None:
|
338
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
339
|
-
__props__ = OwnerArgs.__new__(OwnerArgs)
|
340
|
-
|
341
|
-
if email is None and not opts.urn:
|
342
|
-
raise TypeError("Missing required property 'email'")
|
343
|
-
__props__.__dict__["email"] = email
|
344
|
-
if web_resource_id is None and not opts.urn:
|
345
|
-
raise TypeError("Missing required property 'web_resource_id'")
|
346
|
-
__props__.__dict__["web_resource_id"] = web_resource_id
|
347
|
-
super(Owner, __self__).__init__(
|
348
|
-
'gcp:siteverification/owner:Owner',
|
349
|
-
resource_name,
|
350
|
-
__props__,
|
351
|
-
opts)
|
352
|
-
|
353
|
-
@staticmethod
|
354
|
-
def get(resource_name: str,
|
355
|
-
id: pulumi.Input[str],
|
356
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
357
|
-
email: Optional[pulumi.Input[str]] = None,
|
358
|
-
web_resource_id: Optional[pulumi.Input[str]] = None) -> 'Owner':
|
359
|
-
"""
|
360
|
-
Get an existing Owner resource's state with the given name, id, and optional extra
|
361
|
-
properties used to qualify the lookup.
|
362
|
-
|
363
|
-
:param str resource_name: The unique name of the resulting resource.
|
364
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
365
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
366
|
-
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
367
|
-
|
368
|
-
- - -
|
369
|
-
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
370
|
-
such as `webResource/https://www.example.com/`
|
371
|
-
"""
|
372
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
373
|
-
|
374
|
-
__props__ = _OwnerState.__new__(_OwnerState)
|
375
|
-
|
376
|
-
__props__.__dict__["email"] = email
|
377
|
-
__props__.__dict__["web_resource_id"] = web_resource_id
|
378
|
-
return Owner(resource_name, opts=opts, __props__=__props__)
|
379
|
-
|
380
|
-
@property
|
381
|
-
@pulumi.getter
|
382
|
-
def email(self) -> pulumi.Output[str]:
|
383
|
-
"""
|
384
|
-
The email of the user to be added as an owner.
|
385
|
-
|
386
|
-
- - -
|
387
|
-
"""
|
388
|
-
return pulumi.get(self, "email")
|
389
|
-
|
390
|
-
@property
|
391
|
-
@pulumi.getter(name="webResourceId")
|
392
|
-
def web_resource_id(self) -> pulumi.Output[str]:
|
393
|
-
"""
|
394
|
-
The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
395
|
-
such as `webResource/https://www.example.com/`
|
396
|
-
"""
|
397
|
-
return pulumi.get(self, "web_resource_id")
|
398
|
-
|
File without changes
|
File without changes
|