pulumi-gcp 8.38.0__py3-none-any.whl → 8.39.0__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.
Files changed (36) hide show
  1. pulumi_gcp/__init__.py +16 -0
  2. pulumi_gcp/apigee/_inputs.py +62 -0
  3. pulumi_gcp/apigee/instance.py +63 -0
  4. pulumi_gcp/apigee/outputs.py +37 -0
  5. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  6. pulumi_gcp/backupdisasterrecovery/service_config.py +297 -0
  7. pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
  8. pulumi_gcp/bigqueryanalyticshub/_inputs.py +355 -0
  9. pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +1082 -0
  10. pulumi_gcp/bigqueryanalyticshub/listing.py +116 -0
  11. pulumi_gcp/bigqueryanalyticshub/outputs.py +287 -0
  12. pulumi_gcp/compute/__init__.py +1 -0
  13. pulumi_gcp/compute/_inputs.py +699 -19
  14. pulumi_gcp/compute/firewall.py +54 -0
  15. pulumi_gcp/compute/future_reservation.py +124 -0
  16. pulumi_gcp/compute/get_network_attachment.py +288 -0
  17. pulumi_gcp/compute/get_region_disk.py +23 -1
  18. pulumi_gcp/compute/get_reservation.py +45 -1
  19. pulumi_gcp/compute/interconnect.py +108 -0
  20. pulumi_gcp/compute/outputs.py +734 -15
  21. pulumi_gcp/compute/region_disk.py +115 -0
  22. pulumi_gcp/compute/reservation.py +449 -0
  23. pulumi_gcp/firebase/hosting_site.py +50 -2
  24. pulumi_gcp/firestore/__init__.py +1 -0
  25. pulumi_gcp/firestore/database.py +117 -1
  26. pulumi_gcp/firestore/get_document.py +234 -0
  27. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +12 -0
  28. pulumi_gcp/networksecurity/backend_authentication_config.py +12 -0
  29. pulumi_gcp/pulumi-plugin.json +1 -1
  30. pulumi_gcp/storage/bucket_object.py +47 -0
  31. pulumi_gcp/storage/get_bucket_object.py +12 -1
  32. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  33. {pulumi_gcp-8.38.0.dist-info → pulumi_gcp-8.39.0.dist-info}/METADATA +1 -1
  34. {pulumi_gcp-8.38.0.dist-info → pulumi_gcp-8.39.0.dist-info}/RECORD +36 -32
  35. {pulumi_gcp-8.38.0.dist-info → pulumi_gcp-8.39.0.dist-info}/WHEEL +0 -0
  36. {pulumi_gcp-8.38.0.dist-info → pulumi_gcp-8.39.0.dist-info}/top_level.txt +0 -0
@@ -88,7 +88,8 @@ class _HostingSiteState:
88
88
  default_url: Optional[pulumi.Input[builtins.str]] = None,
89
89
  name: Optional[pulumi.Input[builtins.str]] = None,
90
90
  project: Optional[pulumi.Input[builtins.str]] = None,
91
- site_id: Optional[pulumi.Input[builtins.str]] = None):
91
+ site_id: Optional[pulumi.Input[builtins.str]] = None,
92
+ type: Optional[pulumi.Input[builtins.str]] = None):
92
93
  """
93
94
  Input properties used for looking up and filtering HostingSite resources.
94
95
  :param pulumi.Input[builtins.str] app_id: Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id)
@@ -106,6 +107,7 @@ class _HostingSiteState:
106
107
  :param pulumi.Input[builtins.str] site_id: Required. Immutable. A globally unique identifier for the Hosting site. This identifier is
107
108
  used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid
108
109
  domain name label.
110
+ :param pulumi.Input[builtins.str] type: The type of Hosting site, either 'DEFAULT_SITE' or `USER_SITE`
109
111
  """
110
112
  if app_id is not None:
111
113
  pulumi.set(__self__, "app_id", app_id)
@@ -117,6 +119,8 @@ class _HostingSiteState:
117
119
  pulumi.set(__self__, "project", project)
118
120
  if site_id is not None:
119
121
  pulumi.set(__self__, "site_id", site_id)
122
+ if type is not None:
123
+ pulumi.set(__self__, "type", type)
120
124
 
121
125
  @property
122
126
  @pulumi.getter(name="appId")
@@ -188,6 +192,18 @@ class _HostingSiteState:
188
192
  def site_id(self, value: Optional[pulumi.Input[builtins.str]]):
189
193
  pulumi.set(self, "site_id", value)
190
194
 
195
+ @property
196
+ @pulumi.getter
197
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
198
+ """
199
+ The type of Hosting site, either 'DEFAULT_SITE' or `USER_SITE`
200
+ """
201
+ return pulumi.get(self, "type")
202
+
203
+ @type.setter
204
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
205
+ pulumi.set(self, "type", value)
206
+
191
207
 
192
208
  @pulumi.type_token("gcp:firebase/hostingSite:HostingSite")
193
209
  class HostingSite(pulumi.CustomResource):
@@ -226,6 +242,16 @@ class HostingSite(pulumi.CustomResource):
226
242
  site_id="site-with-app",
227
243
  app_id=default.app_id)
228
244
  ```
245
+ ### Firebasehosting Site Default
246
+
247
+ ```python
248
+ import pulumi
249
+ import pulumi_gcp as gcp
250
+
251
+ default = gcp.firebase.HostingSite("default",
252
+ project="my-project-name",
253
+ site_id="my-project-name")
254
+ ```
229
255
 
230
256
  ## Import
231
257
 
@@ -300,6 +326,16 @@ class HostingSite(pulumi.CustomResource):
300
326
  site_id="site-with-app",
301
327
  app_id=default.app_id)
302
328
  ```
329
+ ### Firebasehosting Site Default
330
+
331
+ ```python
332
+ import pulumi
333
+ import pulumi_gcp as gcp
334
+
335
+ default = gcp.firebase.HostingSite("default",
336
+ project="my-project-name",
337
+ site_id="my-project-name")
338
+ ```
303
339
 
304
340
  ## Import
305
341
 
@@ -363,6 +399,7 @@ class HostingSite(pulumi.CustomResource):
363
399
  __props__.__dict__["site_id"] = site_id
364
400
  __props__.__dict__["default_url"] = None
365
401
  __props__.__dict__["name"] = None
402
+ __props__.__dict__["type"] = None
366
403
  super(HostingSite, __self__).__init__(
367
404
  'gcp:firebase/hostingSite:HostingSite',
368
405
  resource_name,
@@ -377,7 +414,8 @@ class HostingSite(pulumi.CustomResource):
377
414
  default_url: Optional[pulumi.Input[builtins.str]] = None,
378
415
  name: Optional[pulumi.Input[builtins.str]] = None,
379
416
  project: Optional[pulumi.Input[builtins.str]] = None,
380
- site_id: Optional[pulumi.Input[builtins.str]] = None) -> 'HostingSite':
417
+ site_id: Optional[pulumi.Input[builtins.str]] = None,
418
+ type: Optional[pulumi.Input[builtins.str]] = None) -> 'HostingSite':
381
419
  """
382
420
  Get an existing HostingSite resource's state with the given name, id, and optional extra
383
421
  properties used to qualify the lookup.
@@ -400,6 +438,7 @@ class HostingSite(pulumi.CustomResource):
400
438
  :param pulumi.Input[builtins.str] site_id: Required. Immutable. A globally unique identifier for the Hosting site. This identifier is
401
439
  used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid
402
440
  domain name label.
441
+ :param pulumi.Input[builtins.str] type: The type of Hosting site, either 'DEFAULT_SITE' or `USER_SITE`
403
442
  """
404
443
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
405
444
 
@@ -410,6 +449,7 @@ class HostingSite(pulumi.CustomResource):
410
449
  __props__.__dict__["name"] = name
411
450
  __props__.__dict__["project"] = project
412
451
  __props__.__dict__["site_id"] = site_id
452
+ __props__.__dict__["type"] = type
413
453
  return HostingSite(resource_name, opts=opts, __props__=__props__)
414
454
 
415
455
  @property
@@ -462,3 +502,11 @@ class HostingSite(pulumi.CustomResource):
462
502
  """
463
503
  return pulumi.get(self, "site_id")
464
504
 
505
+ @property
506
+ @pulumi.getter
507
+ def type(self) -> pulumi.Output[builtins.str]:
508
+ """
509
+ The type of Hosting site, either 'DEFAULT_SITE' or `USER_SITE`
510
+ """
511
+ return pulumi.get(self, "type")
512
+
@@ -10,6 +10,7 @@ from .backup_schedule import *
10
10
  from .database import *
11
11
  from .document import *
12
12
  from .field import *
13
+ from .get_document import *
13
14
  from .index import *
14
15
  from ._inputs import *
15
16
  from . import outputs
@@ -32,7 +32,8 @@ class DatabaseArgs:
32
32
  deletion_policy: Optional[pulumi.Input[builtins.str]] = None,
33
33
  name: Optional[pulumi.Input[builtins.str]] = None,
34
34
  point_in_time_recovery_enablement: Optional[pulumi.Input[builtins.str]] = None,
35
- project: Optional[pulumi.Input[builtins.str]] = None):
35
+ project: Optional[pulumi.Input[builtins.str]] = None,
36
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
36
37
  """
37
38
  The set of arguments for constructing a Database resource.
38
39
  :param pulumi.Input[builtins.str] location_id: The location of the database. Available locations are listed at
@@ -66,6 +67,12 @@ class DatabaseArgs:
66
67
  Possible values are: `POINT_IN_TIME_RECOVERY_ENABLED`, `POINT_IN_TIME_RECOVERY_DISABLED`.
67
68
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
68
69
  If it is not provided, the provider project is used.
70
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Input only. A map of resource manager tags. Resource manager tag keys
71
+ and values have the same definition as resource manager tags.
72
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
73
+ The field is ignored when empty. The field is immutable and causes
74
+ resource replacement when mutated. To apply tags to an existing resource, see
75
+ the `tags.TagValue` resource.
69
76
  """
70
77
  pulumi.set(__self__, "location_id", location_id)
71
78
  pulumi.set(__self__, "type", type)
@@ -87,6 +94,8 @@ class DatabaseArgs:
87
94
  pulumi.set(__self__, "point_in_time_recovery_enablement", point_in_time_recovery_enablement)
88
95
  if project is not None:
89
96
  pulumi.set(__self__, "project", project)
97
+ if tags is not None:
98
+ pulumi.set(__self__, "tags", tags)
90
99
 
91
100
  @property
92
101
  @pulumi.getter(name="locationId")
@@ -236,6 +245,23 @@ class DatabaseArgs:
236
245
  def project(self, value: Optional[pulumi.Input[builtins.str]]):
237
246
  pulumi.set(self, "project", value)
238
247
 
248
+ @property
249
+ @pulumi.getter
250
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
251
+ """
252
+ Input only. A map of resource manager tags. Resource manager tag keys
253
+ and values have the same definition as resource manager tags.
254
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
255
+ The field is ignored when empty. The field is immutable and causes
256
+ resource replacement when mutated. To apply tags to an existing resource, see
257
+ the `tags.TagValue` resource.
258
+ """
259
+ return pulumi.get(self, "tags")
260
+
261
+ @tags.setter
262
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
263
+ pulumi.set(self, "tags", value)
264
+
239
265
 
240
266
  @pulumi.input_type
241
267
  class _DatabaseState:
@@ -254,6 +280,7 @@ class _DatabaseState:
254
280
  name: Optional[pulumi.Input[builtins.str]] = None,
255
281
  point_in_time_recovery_enablement: Optional[pulumi.Input[builtins.str]] = None,
256
282
  project: Optional[pulumi.Input[builtins.str]] = None,
283
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
257
284
  type: Optional[pulumi.Input[builtins.str]] = None,
258
285
  uid: Optional[pulumi.Input[builtins.str]] = None,
259
286
  update_time: Optional[pulumi.Input[builtins.str]] = None,
@@ -298,6 +325,12 @@ class _DatabaseState:
298
325
  Possible values are: `POINT_IN_TIME_RECOVERY_ENABLED`, `POINT_IN_TIME_RECOVERY_DISABLED`.
299
326
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
300
327
  If it is not provided, the provider project is used.
328
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Input only. A map of resource manager tags. Resource manager tag keys
329
+ and values have the same definition as resource manager tags.
330
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
331
+ The field is ignored when empty. The field is immutable and causes
332
+ resource replacement when mutated. To apply tags to an existing resource, see
333
+ the `tags.TagValue` resource.
301
334
  :param pulumi.Input[builtins.str] type: The type of the database.
302
335
  See https://cloud.google.com/datastore/docs/firestore-or-datastore
303
336
  for information about how to choose.
@@ -337,6 +370,8 @@ class _DatabaseState:
337
370
  pulumi.set(__self__, "point_in_time_recovery_enablement", point_in_time_recovery_enablement)
338
371
  if project is not None:
339
372
  pulumi.set(__self__, "project", project)
373
+ if tags is not None:
374
+ pulumi.set(__self__, "tags", tags)
340
375
  if type is not None:
341
376
  pulumi.set(__self__, "type", type)
342
377
  if uid is not None:
@@ -534,6 +569,23 @@ class _DatabaseState:
534
569
  def project(self, value: Optional[pulumi.Input[builtins.str]]):
535
570
  pulumi.set(self, "project", value)
536
571
 
572
+ @property
573
+ @pulumi.getter
574
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
575
+ """
576
+ Input only. A map of resource manager tags. Resource manager tag keys
577
+ and values have the same definition as resource manager tags.
578
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
579
+ The field is ignored when empty. The field is immutable and causes
580
+ resource replacement when mutated. To apply tags to an existing resource, see
581
+ the `tags.TagValue` resource.
582
+ """
583
+ return pulumi.get(self, "tags")
584
+
585
+ @tags.setter
586
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
587
+ pulumi.set(self, "tags", value)
588
+
537
589
  @property
538
590
  @pulumi.getter
539
591
  def type(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -605,6 +657,7 @@ class Database(pulumi.CustomResource):
605
657
  name: Optional[pulumi.Input[builtins.str]] = None,
606
658
  point_in_time_recovery_enablement: Optional[pulumi.Input[builtins.str]] = None,
607
659
  project: Optional[pulumi.Input[builtins.str]] = None,
660
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
608
661
  type: Optional[pulumi.Input[builtins.str]] = None,
609
662
  __props__=None):
610
663
  """
@@ -653,6 +706,23 @@ class Database(pulumi.CustomResource):
653
706
  delete_protection_state="DELETE_PROTECTION_ENABLED",
654
707
  deletion_policy="DELETE")
655
708
  ```
709
+ ### Firestore Database With Tags
710
+
711
+ ```python
712
+ import pulumi
713
+ import pulumi_gcp as gcp
714
+
715
+ database = gcp.firestore.Database("database",
716
+ project="my-project-name",
717
+ name="database-with-tags-id",
718
+ location_id="nam5",
719
+ type="FIRESTORE_NATIVE",
720
+ delete_protection_state="DELETE_PROTECTION_ENABLED",
721
+ deletion_policy="DELETE",
722
+ tags={
723
+ "keyname": "valuename",
724
+ })
725
+ ```
656
726
  ### Firestore Cmek Database
657
727
 
658
728
  ```python
@@ -816,6 +886,12 @@ class Database(pulumi.CustomResource):
816
886
  Possible values are: `POINT_IN_TIME_RECOVERY_ENABLED`, `POINT_IN_TIME_RECOVERY_DISABLED`.
817
887
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
818
888
  If it is not provided, the provider project is used.
889
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Input only. A map of resource manager tags. Resource manager tag keys
890
+ and values have the same definition as resource manager tags.
891
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
892
+ The field is ignored when empty. The field is immutable and causes
893
+ resource replacement when mutated. To apply tags to an existing resource, see
894
+ the `tags.TagValue` resource.
819
895
  :param pulumi.Input[builtins.str] type: The type of the database.
820
896
  See https://cloud.google.com/datastore/docs/firestore-or-datastore
821
897
  for information about how to choose.
@@ -873,6 +949,23 @@ class Database(pulumi.CustomResource):
873
949
  delete_protection_state="DELETE_PROTECTION_ENABLED",
874
950
  deletion_policy="DELETE")
875
951
  ```
952
+ ### Firestore Database With Tags
953
+
954
+ ```python
955
+ import pulumi
956
+ import pulumi_gcp as gcp
957
+
958
+ database = gcp.firestore.Database("database",
959
+ project="my-project-name",
960
+ name="database-with-tags-id",
961
+ location_id="nam5",
962
+ type="FIRESTORE_NATIVE",
963
+ delete_protection_state="DELETE_PROTECTION_ENABLED",
964
+ deletion_policy="DELETE",
965
+ tags={
966
+ "keyname": "valuename",
967
+ })
968
+ ```
876
969
  ### Firestore Cmek Database
877
970
 
878
971
  ```python
@@ -1032,6 +1125,7 @@ class Database(pulumi.CustomResource):
1032
1125
  name: Optional[pulumi.Input[builtins.str]] = None,
1033
1126
  point_in_time_recovery_enablement: Optional[pulumi.Input[builtins.str]] = None,
1034
1127
  project: Optional[pulumi.Input[builtins.str]] = None,
1128
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1035
1129
  type: Optional[pulumi.Input[builtins.str]] = None,
1036
1130
  __props__=None):
1037
1131
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -1054,6 +1148,7 @@ class Database(pulumi.CustomResource):
1054
1148
  __props__.__dict__["name"] = name
1055
1149
  __props__.__dict__["point_in_time_recovery_enablement"] = point_in_time_recovery_enablement
1056
1150
  __props__.__dict__["project"] = project
1151
+ __props__.__dict__["tags"] = tags
1057
1152
  if type is None and not opts.urn:
1058
1153
  raise TypeError("Missing required property 'type'")
1059
1154
  __props__.__dict__["type"] = type
@@ -1088,6 +1183,7 @@ class Database(pulumi.CustomResource):
1088
1183
  name: Optional[pulumi.Input[builtins.str]] = None,
1089
1184
  point_in_time_recovery_enablement: Optional[pulumi.Input[builtins.str]] = None,
1090
1185
  project: Optional[pulumi.Input[builtins.str]] = None,
1186
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1091
1187
  type: Optional[pulumi.Input[builtins.str]] = None,
1092
1188
  uid: Optional[pulumi.Input[builtins.str]] = None,
1093
1189
  update_time: Optional[pulumi.Input[builtins.str]] = None,
@@ -1137,6 +1233,12 @@ class Database(pulumi.CustomResource):
1137
1233
  Possible values are: `POINT_IN_TIME_RECOVERY_ENABLED`, `POINT_IN_TIME_RECOVERY_DISABLED`.
1138
1234
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
1139
1235
  If it is not provided, the provider project is used.
1236
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Input only. A map of resource manager tags. Resource manager tag keys
1237
+ and values have the same definition as resource manager tags.
1238
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
1239
+ The field is ignored when empty. The field is immutable and causes
1240
+ resource replacement when mutated. To apply tags to an existing resource, see
1241
+ the `tags.TagValue` resource.
1140
1242
  :param pulumi.Input[builtins.str] type: The type of the database.
1141
1243
  See https://cloud.google.com/datastore/docs/firestore-or-datastore
1142
1244
  for information about how to choose.
@@ -1166,6 +1268,7 @@ class Database(pulumi.CustomResource):
1166
1268
  __props__.__dict__["name"] = name
1167
1269
  __props__.__dict__["point_in_time_recovery_enablement"] = point_in_time_recovery_enablement
1168
1270
  __props__.__dict__["project"] = project
1271
+ __props__.__dict__["tags"] = tags
1169
1272
  __props__.__dict__["type"] = type
1170
1273
  __props__.__dict__["uid"] = uid
1171
1274
  __props__.__dict__["update_time"] = update_time
@@ -1304,6 +1407,19 @@ class Database(pulumi.CustomResource):
1304
1407
  """
1305
1408
  return pulumi.get(self, "project")
1306
1409
 
1410
+ @property
1411
+ @pulumi.getter
1412
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
1413
+ """
1414
+ Input only. A map of resource manager tags. Resource manager tag keys
1415
+ and values have the same definition as resource manager tags.
1416
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
1417
+ The field is ignored when empty. The field is immutable and causes
1418
+ resource replacement when mutated. To apply tags to an existing resource, see
1419
+ the `tags.TagValue` resource.
1420
+ """
1421
+ return pulumi.get(self, "tags")
1422
+
1307
1423
  @property
1308
1424
  @pulumi.getter
1309
1425
  def type(self) -> pulumi.Output[builtins.str]:
@@ -0,0 +1,234 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = [
19
+ 'GetDocumentResult',
20
+ 'AwaitableGetDocumentResult',
21
+ 'get_document',
22
+ 'get_document_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetDocumentResult:
27
+ """
28
+ A collection of values returned by getDocument.
29
+ """
30
+ def __init__(__self__, collection=None, create_time=None, database=None, document_id=None, fields=None, id=None, name=None, path=None, project=None, update_time=None):
31
+ if collection and not isinstance(collection, str):
32
+ raise TypeError("Expected argument 'collection' to be a str")
33
+ pulumi.set(__self__, "collection", collection)
34
+ if create_time and not isinstance(create_time, str):
35
+ raise TypeError("Expected argument 'create_time' to be a str")
36
+ pulumi.set(__self__, "create_time", create_time)
37
+ if database and not isinstance(database, str):
38
+ raise TypeError("Expected argument 'database' to be a str")
39
+ pulumi.set(__self__, "database", database)
40
+ if document_id and not isinstance(document_id, str):
41
+ raise TypeError("Expected argument 'document_id' to be a str")
42
+ pulumi.set(__self__, "document_id", document_id)
43
+ if fields and not isinstance(fields, str):
44
+ raise TypeError("Expected argument 'fields' to be a str")
45
+ pulumi.set(__self__, "fields", fields)
46
+ if id and not isinstance(id, str):
47
+ raise TypeError("Expected argument 'id' to be a str")
48
+ pulumi.set(__self__, "id", id)
49
+ if name and not isinstance(name, str):
50
+ raise TypeError("Expected argument 'name' to be a str")
51
+ pulumi.set(__self__, "name", name)
52
+ if path and not isinstance(path, str):
53
+ raise TypeError("Expected argument 'path' to be a str")
54
+ pulumi.set(__self__, "path", path)
55
+ if project and not isinstance(project, str):
56
+ raise TypeError("Expected argument 'project' to be a str")
57
+ pulumi.set(__self__, "project", project)
58
+ if update_time and not isinstance(update_time, str):
59
+ raise TypeError("Expected argument 'update_time' to be a str")
60
+ pulumi.set(__self__, "update_time", update_time)
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def collection(self) -> builtins.str:
65
+ return pulumi.get(self, "collection")
66
+
67
+ @property
68
+ @pulumi.getter(name="createTime")
69
+ def create_time(self) -> builtins.str:
70
+ return pulumi.get(self, "create_time")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def database(self) -> builtins.str:
75
+ return pulumi.get(self, "database")
76
+
77
+ @property
78
+ @pulumi.getter(name="documentId")
79
+ def document_id(self) -> builtins.str:
80
+ return pulumi.get(self, "document_id")
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def fields(self) -> builtins.str:
85
+ return pulumi.get(self, "fields")
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def id(self) -> builtins.str:
90
+ """
91
+ The provider-assigned unique ID for this managed resource.
92
+ """
93
+ return pulumi.get(self, "id")
94
+
95
+ @property
96
+ @pulumi.getter
97
+ def name(self) -> builtins.str:
98
+ return pulumi.get(self, "name")
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def path(self) -> builtins.str:
103
+ return pulumi.get(self, "path")
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def project(self) -> Optional[builtins.str]:
108
+ return pulumi.get(self, "project")
109
+
110
+ @property
111
+ @pulumi.getter(name="updateTime")
112
+ def update_time(self) -> builtins.str:
113
+ return pulumi.get(self, "update_time")
114
+
115
+
116
+ class AwaitableGetDocumentResult(GetDocumentResult):
117
+ # pylint: disable=using-constant-test
118
+ def __await__(self):
119
+ if False:
120
+ yield self
121
+ return GetDocumentResult(
122
+ collection=self.collection,
123
+ create_time=self.create_time,
124
+ database=self.database,
125
+ document_id=self.document_id,
126
+ fields=self.fields,
127
+ id=self.id,
128
+ name=self.name,
129
+ path=self.path,
130
+ project=self.project,
131
+ update_time=self.update_time)
132
+
133
+
134
+ def get_document(collection: Optional[builtins.str] = None,
135
+ database: Optional[builtins.str] = None,
136
+ document_id: Optional[builtins.str] = None,
137
+ project: Optional[builtins.str] = None,
138
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDocumentResult:
139
+ """
140
+ Reads a document from a Firestore database.
141
+ See [the official documentation](https://cloud.google.com/firestore/native/docs/)
142
+ and
143
+ [API](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents/get/).
144
+
145
+ ## Example Usage
146
+
147
+ Retrieve a document from the Firestore database.
148
+
149
+ ```python
150
+ import pulumi
151
+ import pulumi_gcp as gcp
152
+
153
+ mydoc = gcp.firestore.Document("mydoc",
154
+ project=database["project"],
155
+ database=database["name"],
156
+ collection="somenewcollection",
157
+ document_id="my-doc-id")
158
+ ```
159
+
160
+
161
+ :param builtins.str collection: The name of the collection of documents.
162
+ :param builtins.str database: The name of the Firestore database.
163
+ :param builtins.str document_id: The id of the document to get.
164
+ :param builtins.str project: The project in which the database resides.
165
+ """
166
+ __args__ = dict()
167
+ __args__['collection'] = collection
168
+ __args__['database'] = database
169
+ __args__['documentId'] = document_id
170
+ __args__['project'] = project
171
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
172
+ __ret__ = pulumi.runtime.invoke('gcp:firestore/getDocument:getDocument', __args__, opts=opts, typ=GetDocumentResult).value
173
+
174
+ return AwaitableGetDocumentResult(
175
+ collection=pulumi.get(__ret__, 'collection'),
176
+ create_time=pulumi.get(__ret__, 'create_time'),
177
+ database=pulumi.get(__ret__, 'database'),
178
+ document_id=pulumi.get(__ret__, 'document_id'),
179
+ fields=pulumi.get(__ret__, 'fields'),
180
+ id=pulumi.get(__ret__, 'id'),
181
+ name=pulumi.get(__ret__, 'name'),
182
+ path=pulumi.get(__ret__, 'path'),
183
+ project=pulumi.get(__ret__, 'project'),
184
+ update_time=pulumi.get(__ret__, 'update_time'))
185
+ def get_document_output(collection: Optional[pulumi.Input[builtins.str]] = None,
186
+ database: Optional[pulumi.Input[builtins.str]] = None,
187
+ document_id: Optional[pulumi.Input[builtins.str]] = None,
188
+ project: Optional[pulumi.Input[Optional[builtins.str]]] = None,
189
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDocumentResult]:
190
+ """
191
+ Reads a document from a Firestore database.
192
+ See [the official documentation](https://cloud.google.com/firestore/native/docs/)
193
+ and
194
+ [API](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents/get/).
195
+
196
+ ## Example Usage
197
+
198
+ Retrieve a document from the Firestore database.
199
+
200
+ ```python
201
+ import pulumi
202
+ import pulumi_gcp as gcp
203
+
204
+ mydoc = gcp.firestore.Document("mydoc",
205
+ project=database["project"],
206
+ database=database["name"],
207
+ collection="somenewcollection",
208
+ document_id="my-doc-id")
209
+ ```
210
+
211
+
212
+ :param builtins.str collection: The name of the collection of documents.
213
+ :param builtins.str database: The name of the Firestore database.
214
+ :param builtins.str document_id: The id of the document to get.
215
+ :param builtins.str project: The project in which the database resides.
216
+ """
217
+ __args__ = dict()
218
+ __args__['collection'] = collection
219
+ __args__['database'] = database
220
+ __args__['documentId'] = document_id
221
+ __args__['project'] = project
222
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
223
+ __ret__ = pulumi.runtime.invoke_output('gcp:firestore/getDocument:getDocument', __args__, opts=opts, typ=GetDocumentResult)
224
+ return __ret__.apply(lambda __response__: GetDocumentResult(
225
+ collection=pulumi.get(__response__, 'collection'),
226
+ create_time=pulumi.get(__response__, 'create_time'),
227
+ database=pulumi.get(__response__, 'database'),
228
+ document_id=pulumi.get(__response__, 'document_id'),
229
+ fields=pulumi.get(__response__, 'fields'),
230
+ id=pulumi.get(__response__, 'id'),
231
+ name=pulumi.get(__response__, 'name'),
232
+ path=pulumi.get(__response__, 'path'),
233
+ project=pulumi.get(__response__, 'project'),
234
+ update_time=pulumi.get(__response__, 'update_time')))
@@ -943,6 +943,12 @@ class VmwareAdminCluster(pulumi.CustomResource):
943
943
  vcenter: Optional[pulumi.Input[Union['VmwareAdminClusterVcenterArgs', 'VmwareAdminClusterVcenterArgsDict']]] = None,
944
944
  __props__=None):
945
945
  """
946
+ A Google VMware Admin Cluster.
947
+
948
+ To get more information about VmwareAdminCluster, see:
949
+
950
+ * [API documentation](https://cloud.google.com/kubernetes-engine/distributed-cloud/reference/on-prem-api/rest/v1/projects.locations.vmwareAdminClusters)
951
+
946
952
  ## Example Usage
947
953
 
948
954
  ### Gkeonprem Vmware Admin Cluster Basic
@@ -1215,6 +1221,12 @@ class VmwareAdminCluster(pulumi.CustomResource):
1215
1221
  args: VmwareAdminClusterArgs,
1216
1222
  opts: Optional[pulumi.ResourceOptions] = None):
1217
1223
  """
1224
+ A Google VMware Admin Cluster.
1225
+
1226
+ To get more information about VmwareAdminCluster, see:
1227
+
1228
+ * [API documentation](https://cloud.google.com/kubernetes-engine/distributed-cloud/reference/on-prem-api/rest/v1/projects.locations.vmwareAdminClusters)
1229
+
1218
1230
  ## Example Usage
1219
1231
 
1220
1232
  ### Gkeonprem Vmware Admin Cluster Basic
@@ -407,6 +407,12 @@ class BackendAuthenticationConfig(pulumi.CustomResource):
407
407
  well_known_roots: Optional[pulumi.Input[builtins.str]] = None,
408
408
  __props__=None):
409
409
  """
410
+ BackendAuthenticationConfig groups the TrustConfig together with other settings that control how the load balancer authenticates, and expresses its identity to the backend.
411
+
412
+ To get more information about BackendAuthenticationConfig, see:
413
+ * How-to Guides
414
+ * [Backend mTLS](https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#backend-authentication-config)
415
+
410
416
  ## Example Usage
411
417
 
412
418
  ### Network Security Backend Authentication Config Basic
@@ -551,6 +557,12 @@ class BackendAuthenticationConfig(pulumi.CustomResource):
551
557
  args: Optional[BackendAuthenticationConfigArgs] = None,
552
558
  opts: Optional[pulumi.ResourceOptions] = None):
553
559
  """
560
+ BackendAuthenticationConfig groups the TrustConfig together with other settings that control how the load balancer authenticates, and expresses its identity to the backend.
561
+
562
+ To get more information about BackendAuthenticationConfig, see:
563
+ * How-to Guides
564
+ * [Backend mTLS](https://cloud.google.com/load-balancing/docs/backend-authenticated-tls-backend-mtls#backend-authentication-config)
565
+
554
566
  ## Example Usage
555
567
 
556
568
  ### Network Security Backend Authentication Config Basic
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "gcp",
4
- "version": "8.38.0"
4
+ "version": "8.39.0"
5
5
  }