pulumi-gcp 7.34.0a1722421695__py3-none-any.whl → 7.34.0a1722604983__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.

Potentially problematic release.


This version of pulumi-gcp might be problematic. Click here for more details.

Files changed (78) hide show
  1. pulumi_gcp/__init__.py +40 -0
  2. pulumi_gcp/alloydb/_inputs.py +174 -0
  3. pulumi_gcp/alloydb/instance.py +54 -0
  4. pulumi_gcp/alloydb/outputs.py +133 -0
  5. pulumi_gcp/apigee/__init__.py +2 -0
  6. pulumi_gcp/apigee/environment_keyvaluemaps.py +370 -0
  7. pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +440 -0
  8. pulumi_gcp/apigee/instance.py +2 -2
  9. pulumi_gcp/apigee/nat_address.py +2 -2
  10. pulumi_gcp/apigee/organization.py +4 -4
  11. pulumi_gcp/apphub/service_project_attachment.py +11 -11
  12. pulumi_gcp/bigquery/_inputs.py +36 -0
  13. pulumi_gcp/bigquery/app_profile.py +54 -0
  14. pulumi_gcp/bigquery/outputs.py +38 -0
  15. pulumi_gcp/bigquery/reservation.py +34 -4
  16. pulumi_gcp/bigquery/table.py +65 -21
  17. pulumi_gcp/bigtable/table.py +27 -26
  18. pulumi_gcp/certificateauthority/authority.py +4 -4
  19. pulumi_gcp/cloudfunctions/function.py +47 -0
  20. pulumi_gcp/cloudfunctions/get_function.py +11 -1
  21. pulumi_gcp/cloudfunctionsv2/function.py +2 -2
  22. pulumi_gcp/cloudrun/_inputs.py +24 -21
  23. pulumi_gcp/cloudrun/outputs.py +20 -24
  24. pulumi_gcp/cloudrunv2/_inputs.py +3 -0
  25. pulumi_gcp/cloudrunv2/outputs.py +4 -0
  26. pulumi_gcp/compute/__init__.py +2 -0
  27. pulumi_gcp/compute/_inputs.py +2334 -329
  28. pulumi_gcp/compute/backend_service.py +6 -0
  29. pulumi_gcp/compute/outputs.py +1466 -7
  30. pulumi_gcp/compute/public_advertised_prefix.py +30 -2
  31. pulumi_gcp/compute/resize_request.py +782 -0
  32. pulumi_gcp/compute/router_peer.py +437 -0
  33. pulumi_gcp/compute/router_route_policy.py +616 -0
  34. pulumi_gcp/compute/service_attachment.py +7 -14
  35. pulumi_gcp/container/_inputs.py +215 -18
  36. pulumi_gcp/container/node_pool.py +0 -14
  37. pulumi_gcp/container/outputs.py +226 -12
  38. pulumi_gcp/databasemigrationservice/private_connection.py +10 -6
  39. pulumi_gcp/dataloss/_inputs.py +707 -21
  40. pulumi_gcp/dataloss/outputs.py +588 -14
  41. pulumi_gcp/datastore/data_store_index.py +24 -12
  42. pulumi_gcp/datastream/_inputs.py +83 -3
  43. pulumi_gcp/datastream/outputs.py +51 -3
  44. pulumi_gcp/datastream/stream.py +170 -0
  45. pulumi_gcp/firebase/database_instance.py +8 -8
  46. pulumi_gcp/firebase/hosting_site.py +8 -8
  47. pulumi_gcp/firestore/index.py +10 -10
  48. pulumi_gcp/gkeonprem/_inputs.py +78 -78
  49. pulumi_gcp/gkeonprem/outputs.py +52 -52
  50. pulumi_gcp/iap/client.py +4 -4
  51. pulumi_gcp/integrationconnectors/_inputs.py +30 -30
  52. pulumi_gcp/integrationconnectors/outputs.py +20 -20
  53. pulumi_gcp/netapp/volume.py +1 -1
  54. pulumi_gcp/networkconnectivity/_inputs.py +3 -6
  55. pulumi_gcp/networkconnectivity/hub.py +60 -49
  56. pulumi_gcp/networkconnectivity/outputs.py +2 -4
  57. pulumi_gcp/networkconnectivity/spoke.py +159 -104
  58. pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
  59. pulumi_gcp/orgpolicy/policy.py +4 -4
  60. pulumi_gcp/projects/get_project_service.py +11 -1
  61. pulumi_gcp/projects/service.py +68 -0
  62. pulumi_gcp/projects/service_identity.py +30 -2
  63. pulumi_gcp/pubsub/subscription.py +6 -6
  64. pulumi_gcp/pulumi-plugin.json +1 -1
  65. pulumi_gcp/securesourcemanager/instance.py +528 -4
  66. pulumi_gcp/securitycenter/__init__.py +1 -0
  67. pulumi_gcp/securitycenter/v2_organization_mute_config.py +673 -0
  68. pulumi_gcp/sql/database_instance.py +2 -2
  69. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  70. pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
  71. pulumi_gcp/vmwareengine/private_cloud.py +121 -2
  72. pulumi_gcp/workbench/_inputs.py +77 -0
  73. pulumi_gcp/workbench/instance.py +18 -4
  74. pulumi_gcp/workbench/outputs.py +67 -1
  75. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/METADATA +1 -1
  76. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/RECORD +78 -73
  77. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/WHEEL +0 -0
  78. {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.34.0a1722604983.dist-info}/top_level.txt +0 -0
@@ -579,7 +579,7 @@ class TlsInspectionPolicy(pulumi.CustomResource):
579
579
  default_ca_pool_iam_member = gcp.certificateauthority.CaPoolIamMember("default",
580
580
  ca_pool=default.id,
581
581
  role="roles/privateca.certificateManager",
582
- member=ns_sa.email.apply(lambda email: f"serviceAccount:{email}"))
582
+ member=ns_sa.member)
583
583
  default_trust_config = gcp.certificatemanager.TrustConfig("default",
584
584
  name="my-trust-config",
585
585
  description="sample trust config description",
@@ -828,7 +828,7 @@ class TlsInspectionPolicy(pulumi.CustomResource):
828
828
  default_ca_pool_iam_member = gcp.certificateauthority.CaPoolIamMember("default",
829
829
  ca_pool=default.id,
830
830
  role="roles/privateca.certificateManager",
831
- member=ns_sa.email.apply(lambda email: f"serviceAccount:{email}"))
831
+ member=ns_sa.member)
832
832
  default_trust_config = gcp.certificatemanager.TrustConfig("default",
833
833
  name="my-trust-config",
834
834
  description="sample trust config description",
@@ -288,7 +288,7 @@ class Policy(pulumi.CustomResource):
288
288
  {
289
289
  "condition": {
290
290
  "description": "A sample condition for the policy",
291
- "expression": "resource.matchLabels('labelKeys/123', 'labelValues/345')",
291
+ "expression": "resource.matchTagId('tagKeys/123', 'tagValues/345')",
292
292
  "location": "sample-location.log",
293
293
  "title": "sample-condition",
294
294
  },
@@ -310,7 +310,7 @@ class Policy(pulumi.CustomResource):
310
310
  import pulumi_gcp as gcp
311
311
 
312
312
  constraint = gcp.orgpolicy.CustomConstraint("constraint",
313
- name="custom.disableGkeAutoUpgrade_40785",
313
+ name="custom.disableGkeAutoUpgrade_37559",
314
314
  parent="organizations/123456789",
315
315
  display_name="Disable GKE auto upgrade",
316
316
  description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
@@ -446,7 +446,7 @@ class Policy(pulumi.CustomResource):
446
446
  {
447
447
  "condition": {
448
448
  "description": "A sample condition for the policy",
449
- "expression": "resource.matchLabels('labelKeys/123', 'labelValues/345')",
449
+ "expression": "resource.matchTagId('tagKeys/123', 'tagValues/345')",
450
450
  "location": "sample-location.log",
451
451
  "title": "sample-condition",
452
452
  },
@@ -468,7 +468,7 @@ class Policy(pulumi.CustomResource):
468
468
  import pulumi_gcp as gcp
469
469
 
470
470
  constraint = gcp.orgpolicy.CustomConstraint("constraint",
471
- name="custom.disableGkeAutoUpgrade_40785",
471
+ name="custom.disableGkeAutoUpgrade_37559",
472
472
  parent="organizations/123456789",
473
473
  display_name="Disable GKE auto upgrade",
474
474
  description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
@@ -26,7 +26,10 @@ class GetProjectServiceResult:
26
26
  """
27
27
  A collection of values returned by getProjectService.
28
28
  """
29
- def __init__(__self__, disable_dependent_services=None, disable_on_destroy=None, id=None, project=None, service=None):
29
+ def __init__(__self__, check_if_service_has_usage_on_destroy=None, disable_dependent_services=None, disable_on_destroy=None, id=None, project=None, service=None):
30
+ if check_if_service_has_usage_on_destroy and not isinstance(check_if_service_has_usage_on_destroy, bool):
31
+ raise TypeError("Expected argument 'check_if_service_has_usage_on_destroy' to be a bool")
32
+ pulumi.set(__self__, "check_if_service_has_usage_on_destroy", check_if_service_has_usage_on_destroy)
30
33
  if disable_dependent_services and not isinstance(disable_dependent_services, bool):
31
34
  raise TypeError("Expected argument 'disable_dependent_services' to be a bool")
32
35
  pulumi.set(__self__, "disable_dependent_services", disable_dependent_services)
@@ -43,6 +46,11 @@ class GetProjectServiceResult:
43
46
  raise TypeError("Expected argument 'service' to be a str")
44
47
  pulumi.set(__self__, "service", service)
45
48
 
49
+ @property
50
+ @pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
51
+ def check_if_service_has_usage_on_destroy(self) -> bool:
52
+ return pulumi.get(self, "check_if_service_has_usage_on_destroy")
53
+
46
54
  @property
47
55
  @pulumi.getter(name="disableDependentServices")
48
56
  def disable_dependent_services(self) -> bool:
@@ -78,6 +86,7 @@ class AwaitableGetProjectServiceResult(GetProjectServiceResult):
78
86
  if False:
79
87
  yield self
80
88
  return GetProjectServiceResult(
89
+ check_if_service_has_usage_on_destroy=self.check_if_service_has_usage_on_destroy,
81
90
  disable_dependent_services=self.disable_dependent_services,
82
91
  disable_on_destroy=self.disable_on_destroy,
83
92
  id=self.id,
@@ -126,6 +135,7 @@ def get_project_service(project: Optional[str] = None,
126
135
  __ret__ = pulumi.runtime.invoke('gcp:projects/getProjectService:getProjectService', __args__, opts=opts, typ=GetProjectServiceResult).value
127
136
 
128
137
  return AwaitableGetProjectServiceResult(
138
+ check_if_service_has_usage_on_destroy=pulumi.get(__ret__, 'check_if_service_has_usage_on_destroy'),
129
139
  disable_dependent_services=pulumi.get(__ret__, 'disable_dependent_services'),
130
140
  disable_on_destroy=pulumi.get(__ret__, 'disable_on_destroy'),
131
141
  id=pulumi.get(__ret__, 'id'),
@@ -20,12 +20,17 @@ __all__ = ['ServiceArgs', 'Service']
20
20
  class ServiceArgs:
21
21
  def __init__(__self__, *,
22
22
  service: pulumi.Input[str],
23
+ check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
23
24
  disable_dependent_services: Optional[pulumi.Input[bool]] = None,
24
25
  disable_on_destroy: Optional[pulumi.Input[bool]] = None,
25
26
  project: Optional[pulumi.Input[str]] = None):
26
27
  """
27
28
  The set of arguments for constructing a Service resource.
28
29
  :param pulumi.Input[str] service: The service to enable.
30
+ :param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
31
+ If `true`, the usage of the service to be disabled will be checked and an error
32
+ will be returned if the service to be disabled has usage in last 30 days.
33
+ Defaults to `false`.
29
34
  :param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
30
35
  and which depend on this service should also be disabled when this service is
31
36
  destroyed. If `false` or unset, an error will be generated if any enabled
@@ -34,6 +39,8 @@ class ServiceArgs:
34
39
  is used.
35
40
  """
36
41
  pulumi.set(__self__, "service", service)
42
+ if check_if_service_has_usage_on_destroy is not None:
43
+ pulumi.set(__self__, "check_if_service_has_usage_on_destroy", check_if_service_has_usage_on_destroy)
37
44
  if disable_dependent_services is not None:
38
45
  pulumi.set(__self__, "disable_dependent_services", disable_dependent_services)
39
46
  if disable_on_destroy is not None:
@@ -53,6 +60,21 @@ class ServiceArgs:
53
60
  def service(self, value: pulumi.Input[str]):
54
61
  pulumi.set(self, "service", value)
55
62
 
63
+ @property
64
+ @pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
65
+ def check_if_service_has_usage_on_destroy(self) -> Optional[pulumi.Input[bool]]:
66
+ """
67
+ Beta
68
+ If `true`, the usage of the service to be disabled will be checked and an error
69
+ will be returned if the service to be disabled has usage in last 30 days.
70
+ Defaults to `false`.
71
+ """
72
+ return pulumi.get(self, "check_if_service_has_usage_on_destroy")
73
+
74
+ @check_if_service_has_usage_on_destroy.setter
75
+ def check_if_service_has_usage_on_destroy(self, value: Optional[pulumi.Input[bool]]):
76
+ pulumi.set(self, "check_if_service_has_usage_on_destroy", value)
77
+
56
78
  @property
57
79
  @pulumi.getter(name="disableDependentServices")
58
80
  def disable_dependent_services(self) -> Optional[pulumi.Input[bool]]:
@@ -94,12 +116,17 @@ class ServiceArgs:
94
116
  @pulumi.input_type
95
117
  class _ServiceState:
96
118
  def __init__(__self__, *,
119
+ check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
97
120
  disable_dependent_services: Optional[pulumi.Input[bool]] = None,
98
121
  disable_on_destroy: Optional[pulumi.Input[bool]] = None,
99
122
  project: Optional[pulumi.Input[str]] = None,
100
123
  service: Optional[pulumi.Input[str]] = None):
101
124
  """
102
125
  Input properties used for looking up and filtering Service resources.
126
+ :param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
127
+ If `true`, the usage of the service to be disabled will be checked and an error
128
+ will be returned if the service to be disabled has usage in last 30 days.
129
+ Defaults to `false`.
103
130
  :param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
104
131
  and which depend on this service should also be disabled when this service is
105
132
  destroyed. If `false` or unset, an error will be generated if any enabled
@@ -108,6 +135,8 @@ class _ServiceState:
108
135
  is used.
109
136
  :param pulumi.Input[str] service: The service to enable.
110
137
  """
138
+ if check_if_service_has_usage_on_destroy is not None:
139
+ pulumi.set(__self__, "check_if_service_has_usage_on_destroy", check_if_service_has_usage_on_destroy)
111
140
  if disable_dependent_services is not None:
112
141
  pulumi.set(__self__, "disable_dependent_services", disable_dependent_services)
113
142
  if disable_on_destroy is not None:
@@ -117,6 +146,21 @@ class _ServiceState:
117
146
  if service is not None:
118
147
  pulumi.set(__self__, "service", service)
119
148
 
149
+ @property
150
+ @pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
151
+ def check_if_service_has_usage_on_destroy(self) -> Optional[pulumi.Input[bool]]:
152
+ """
153
+ Beta
154
+ If `true`, the usage of the service to be disabled will be checked and an error
155
+ will be returned if the service to be disabled has usage in last 30 days.
156
+ Defaults to `false`.
157
+ """
158
+ return pulumi.get(self, "check_if_service_has_usage_on_destroy")
159
+
160
+ @check_if_service_has_usage_on_destroy.setter
161
+ def check_if_service_has_usage_on_destroy(self, value: Optional[pulumi.Input[bool]]):
162
+ pulumi.set(self, "check_if_service_has_usage_on_destroy", value)
163
+
120
164
  @property
121
165
  @pulumi.getter(name="disableDependentServices")
122
166
  def disable_dependent_services(self) -> Optional[pulumi.Input[bool]]:
@@ -172,6 +216,7 @@ class Service(pulumi.CustomResource):
172
216
  def __init__(__self__,
173
217
  resource_name: str,
174
218
  opts: Optional[pulumi.ResourceOptions] = None,
219
+ check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
175
220
  disable_dependent_services: Optional[pulumi.Input[bool]] = None,
176
221
  disable_on_destroy: Optional[pulumi.Input[bool]] = None,
177
222
  project: Optional[pulumi.Input[str]] = None,
@@ -214,6 +259,10 @@ class Service(pulumi.CustomResource):
214
259
 
215
260
  :param str resource_name: The name of the resource.
216
261
  :param pulumi.ResourceOptions opts: Options for the resource.
262
+ :param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
263
+ If `true`, the usage of the service to be disabled will be checked and an error
264
+ will be returned if the service to be disabled has usage in last 30 days.
265
+ Defaults to `false`.
217
266
  :param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
218
267
  and which depend on this service should also be disabled when this service is
219
268
  destroyed. If `false` or unset, an error will be generated if any enabled
@@ -278,6 +327,7 @@ class Service(pulumi.CustomResource):
278
327
  def _internal_init(__self__,
279
328
  resource_name: str,
280
329
  opts: Optional[pulumi.ResourceOptions] = None,
330
+ check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
281
331
  disable_dependent_services: Optional[pulumi.Input[bool]] = None,
282
332
  disable_on_destroy: Optional[pulumi.Input[bool]] = None,
283
333
  project: Optional[pulumi.Input[str]] = None,
@@ -291,6 +341,7 @@ class Service(pulumi.CustomResource):
291
341
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
292
342
  __props__ = ServiceArgs.__new__(ServiceArgs)
293
343
 
344
+ __props__.__dict__["check_if_service_has_usage_on_destroy"] = check_if_service_has_usage_on_destroy
294
345
  __props__.__dict__["disable_dependent_services"] = disable_dependent_services
295
346
  __props__.__dict__["disable_on_destroy"] = disable_on_destroy
296
347
  __props__.__dict__["project"] = project
@@ -307,6 +358,7 @@ class Service(pulumi.CustomResource):
307
358
  def get(resource_name: str,
308
359
  id: pulumi.Input[str],
309
360
  opts: Optional[pulumi.ResourceOptions] = None,
361
+ check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
310
362
  disable_dependent_services: Optional[pulumi.Input[bool]] = None,
311
363
  disable_on_destroy: Optional[pulumi.Input[bool]] = None,
312
364
  project: Optional[pulumi.Input[str]] = None,
@@ -318,6 +370,10 @@ class Service(pulumi.CustomResource):
318
370
  :param str resource_name: The unique name of the resulting resource.
319
371
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
320
372
  :param pulumi.ResourceOptions opts: Options for the resource.
373
+ :param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
374
+ If `true`, the usage of the service to be disabled will be checked and an error
375
+ will be returned if the service to be disabled has usage in last 30 days.
376
+ Defaults to `false`.
321
377
  :param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
322
378
  and which depend on this service should also be disabled when this service is
323
379
  destroyed. If `false` or unset, an error will be generated if any enabled
@@ -330,12 +386,24 @@ class Service(pulumi.CustomResource):
330
386
 
331
387
  __props__ = _ServiceState.__new__(_ServiceState)
332
388
 
389
+ __props__.__dict__["check_if_service_has_usage_on_destroy"] = check_if_service_has_usage_on_destroy
333
390
  __props__.__dict__["disable_dependent_services"] = disable_dependent_services
334
391
  __props__.__dict__["disable_on_destroy"] = disable_on_destroy
335
392
  __props__.__dict__["project"] = project
336
393
  __props__.__dict__["service"] = service
337
394
  return Service(resource_name, opts=opts, __props__=__props__)
338
395
 
396
+ @property
397
+ @pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
398
+ def check_if_service_has_usage_on_destroy(self) -> pulumi.Output[Optional[bool]]:
399
+ """
400
+ Beta
401
+ If `true`, the usage of the service to be disabled will be checked and an error
402
+ will be returned if the service to be disabled has usage in last 30 days.
403
+ Defaults to `false`.
404
+ """
405
+ return pulumi.get(self, "check_if_service_has_usage_on_destroy")
406
+
339
407
  @property
340
408
  @pulumi.getter(name="disableDependentServices")
341
409
  def disable_dependent_services(self) -> pulumi.Output[Optional[bool]]:
@@ -65,11 +65,13 @@ class ServiceIdentityArgs:
65
65
  class _ServiceIdentityState:
66
66
  def __init__(__self__, *,
67
67
  email: Optional[pulumi.Input[str]] = None,
68
+ member: Optional[pulumi.Input[str]] = None,
68
69
  project: Optional[pulumi.Input[str]] = None,
69
70
  service: Optional[pulumi.Input[str]] = None):
70
71
  """
71
72
  Input properties used for looking up and filtering ServiceIdentity resources.
72
73
  :param pulumi.Input[str] email: The email address of the Google managed service account.
74
+ :param pulumi.Input[str] member: The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
73
75
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
74
76
  If it is not provided, the provider project is used.
75
77
  :param pulumi.Input[str] service: The service to generate identity for.
@@ -78,6 +80,8 @@ class _ServiceIdentityState:
78
80
  """
79
81
  if email is not None:
80
82
  pulumi.set(__self__, "email", email)
83
+ if member is not None:
84
+ pulumi.set(__self__, "member", member)
81
85
  if project is not None:
82
86
  pulumi.set(__self__, "project", project)
83
87
  if service is not None:
@@ -95,6 +99,18 @@ class _ServiceIdentityState:
95
99
  def email(self, value: Optional[pulumi.Input[str]]):
96
100
  pulumi.set(self, "email", value)
97
101
 
102
+ @property
103
+ @pulumi.getter
104
+ def member(self) -> Optional[pulumi.Input[str]]:
105
+ """
106
+ The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
107
+ """
108
+ return pulumi.get(self, "member")
109
+
110
+ @member.setter
111
+ def member(self, value: Optional[pulumi.Input[str]]):
112
+ pulumi.set(self, "member", value)
113
+
98
114
  @property
99
115
  @pulumi.getter
100
116
  def project(self) -> Optional[pulumi.Input[str]]:
@@ -160,7 +176,7 @@ class ServiceIdentity(pulumi.CustomResource):
160
176
  hc_sa_bq_jobuser = gcp.projects.IAMMember("hc_sa_bq_jobuser",
161
177
  project=project.project_id,
162
178
  role="roles/bigquery.jobUser",
163
- member=hc_sa.email.apply(lambda email: f"serviceAccount:{email}"))
179
+ member=hc_sa.member)
164
180
  ```
165
181
 
166
182
  ## Import
@@ -210,7 +226,7 @@ class ServiceIdentity(pulumi.CustomResource):
210
226
  hc_sa_bq_jobuser = gcp.projects.IAMMember("hc_sa_bq_jobuser",
211
227
  project=project.project_id,
212
228
  role="roles/bigquery.jobUser",
213
- member=hc_sa.email.apply(lambda email: f"serviceAccount:{email}"))
229
+ member=hc_sa.member)
214
230
  ```
215
231
 
216
232
  ## Import
@@ -248,6 +264,7 @@ class ServiceIdentity(pulumi.CustomResource):
248
264
  raise TypeError("Missing required property 'service'")
249
265
  __props__.__dict__["service"] = service
250
266
  __props__.__dict__["email"] = None
267
+ __props__.__dict__["member"] = None
251
268
  super(ServiceIdentity, __self__).__init__(
252
269
  'gcp:projects/serviceIdentity:ServiceIdentity',
253
270
  resource_name,
@@ -259,6 +276,7 @@ class ServiceIdentity(pulumi.CustomResource):
259
276
  id: pulumi.Input[str],
260
277
  opts: Optional[pulumi.ResourceOptions] = None,
261
278
  email: Optional[pulumi.Input[str]] = None,
279
+ member: Optional[pulumi.Input[str]] = None,
262
280
  project: Optional[pulumi.Input[str]] = None,
263
281
  service: Optional[pulumi.Input[str]] = None) -> 'ServiceIdentity':
264
282
  """
@@ -269,6 +287,7 @@ class ServiceIdentity(pulumi.CustomResource):
269
287
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
270
288
  :param pulumi.ResourceOptions opts: Options for the resource.
271
289
  :param pulumi.Input[str] email: The email address of the Google managed service account.
290
+ :param pulumi.Input[str] member: The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
272
291
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
273
292
  If it is not provided, the provider project is used.
274
293
  :param pulumi.Input[str] service: The service to generate identity for.
@@ -280,6 +299,7 @@ class ServiceIdentity(pulumi.CustomResource):
280
299
  __props__ = _ServiceIdentityState.__new__(_ServiceIdentityState)
281
300
 
282
301
  __props__.__dict__["email"] = email
302
+ __props__.__dict__["member"] = member
283
303
  __props__.__dict__["project"] = project
284
304
  __props__.__dict__["service"] = service
285
305
  return ServiceIdentity(resource_name, opts=opts, __props__=__props__)
@@ -292,6 +312,14 @@ class ServiceIdentity(pulumi.CustomResource):
292
312
  """
293
313
  return pulumi.get(self, "email")
294
314
 
315
+ @property
316
+ @pulumi.getter
317
+ def member(self) -> pulumi.Output[str]:
318
+ """
319
+ The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
320
+ """
321
+ return pulumi.get(self, "member")
322
+
295
323
  @property
296
324
  @pulumi.getter
297
325
  def project(self) -> pulumi.Output[str]:
@@ -1104,7 +1104,7 @@ class Subscription(pulumi.CustomResource):
1104
1104
  cloud_storage_config={
1105
1105
  "bucket": example.name,
1106
1106
  "filename_prefix": "pre-",
1107
- "filename_suffix": "-_79169",
1107
+ "filename_suffix": "-_91980",
1108
1108
  "filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
1109
1109
  "max_bytes": 1000,
1110
1110
  "max_duration": "300s",
@@ -1136,7 +1136,7 @@ class Subscription(pulumi.CustomResource):
1136
1136
  cloud_storage_config={
1137
1137
  "bucket": example.name,
1138
1138
  "filename_prefix": "pre-",
1139
- "filename_suffix": "-_56529",
1139
+ "filename_suffix": "-_37118",
1140
1140
  "filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
1141
1141
  "max_bytes": 1000,
1142
1142
  "max_duration": "300s",
@@ -1173,7 +1173,7 @@ class Subscription(pulumi.CustomResource):
1173
1173
  cloud_storage_config={
1174
1174
  "bucket": example.name,
1175
1175
  "filename_prefix": "pre-",
1176
- "filename_suffix": "-_75413",
1176
+ "filename_suffix": "-_80332",
1177
1177
  "filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
1178
1178
  "max_bytes": 1000,
1179
1179
  "max_duration": "300s",
@@ -1532,7 +1532,7 @@ class Subscription(pulumi.CustomResource):
1532
1532
  cloud_storage_config={
1533
1533
  "bucket": example.name,
1534
1534
  "filename_prefix": "pre-",
1535
- "filename_suffix": "-_79169",
1535
+ "filename_suffix": "-_91980",
1536
1536
  "filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
1537
1537
  "max_bytes": 1000,
1538
1538
  "max_duration": "300s",
@@ -1564,7 +1564,7 @@ class Subscription(pulumi.CustomResource):
1564
1564
  cloud_storage_config={
1565
1565
  "bucket": example.name,
1566
1566
  "filename_prefix": "pre-",
1567
- "filename_suffix": "-_56529",
1567
+ "filename_suffix": "-_37118",
1568
1568
  "filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
1569
1569
  "max_bytes": 1000,
1570
1570
  "max_duration": "300s",
@@ -1601,7 +1601,7 @@ class Subscription(pulumi.CustomResource):
1601
1601
  cloud_storage_config={
1602
1602
  "bucket": example.name,
1603
1603
  "filename_prefix": "pre-",
1604
- "filename_suffix": "-_75413",
1604
+ "filename_suffix": "-_80332",
1605
1605
  "filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
1606
1606
  "max_bytes": 1000,
1607
1607
  "max_duration": "300s",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "gcp",
4
- "version": "7.34.0-alpha.1722421695"
4
+ "version": "7.34.0-alpha.1722604983"
5
5
  }