pulumi-gcp 8.8.0a1730980839__py3-none-any.whl → 8.8.1__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.
@@ -21,27 +21,28 @@ class IAMCustomRoleArgs:
21
21
  def __init__(__self__, *,
22
22
  org_id: pulumi.Input[str],
23
23
  permissions: pulumi.Input[Sequence[pulumi.Input[str]]],
24
- role_id: pulumi.Input[str],
25
24
  title: pulumi.Input[str],
26
25
  description: Optional[pulumi.Input[str]] = None,
26
+ role_id: Optional[pulumi.Input[str]] = None,
27
27
  stage: Optional[pulumi.Input[str]] = None):
28
28
  """
29
29
  The set of arguments for constructing a IAMCustomRole resource.
30
30
  :param pulumi.Input[str] org_id: The numeric ID of the organization in which you want to create a custom role.
31
31
  :param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: The names of the permissions this role grants when bound in an IAM policy. At least one permission must be specified.
32
- :param pulumi.Input[str] role_id: The role id to use for this role.
33
32
  :param pulumi.Input[str] title: A human-readable title for the role.
34
33
  :param pulumi.Input[str] description: A human-readable description for the role.
34
+ :param pulumi.Input[str] role_id: The role id to use for this role.
35
35
  :param pulumi.Input[str] stage: The current launch stage of the role.
36
36
  Defaults to `GA`.
37
37
  List of possible stages is [here](https://cloud.google.com/iam/reference/rest/v1/organizations.roles#Role.RoleLaunchStage).
38
38
  """
39
39
  pulumi.set(__self__, "org_id", org_id)
40
40
  pulumi.set(__self__, "permissions", permissions)
41
- pulumi.set(__self__, "role_id", role_id)
42
41
  pulumi.set(__self__, "title", title)
43
42
  if description is not None:
44
43
  pulumi.set(__self__, "description", description)
44
+ if role_id is not None:
45
+ pulumi.set(__self__, "role_id", role_id)
45
46
  if stage is not None:
46
47
  pulumi.set(__self__, "stage", stage)
47
48
 
@@ -69,18 +70,6 @@ class IAMCustomRoleArgs:
69
70
  def permissions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
70
71
  pulumi.set(self, "permissions", value)
71
72
 
72
- @property
73
- @pulumi.getter(name="roleId")
74
- def role_id(self) -> pulumi.Input[str]:
75
- """
76
- The role id to use for this role.
77
- """
78
- return pulumi.get(self, "role_id")
79
-
80
- @role_id.setter
81
- def role_id(self, value: pulumi.Input[str]):
82
- pulumi.set(self, "role_id", value)
83
-
84
73
  @property
85
74
  @pulumi.getter
86
75
  def title(self) -> pulumi.Input[str]:
@@ -105,6 +94,18 @@ class IAMCustomRoleArgs:
105
94
  def description(self, value: Optional[pulumi.Input[str]]):
106
95
  pulumi.set(self, "description", value)
107
96
 
97
+ @property
98
+ @pulumi.getter(name="roleId")
99
+ def role_id(self) -> Optional[pulumi.Input[str]]:
100
+ """
101
+ The role id to use for this role.
102
+ """
103
+ return pulumi.get(self, "role_id")
104
+
105
+ @role_id.setter
106
+ def role_id(self, value: Optional[pulumi.Input[str]]):
107
+ pulumi.set(self, "role_id", value)
108
+
108
109
  @property
109
110
  @pulumi.getter
110
111
  def stage(self) -> Optional[pulumi.Input[str]]:
@@ -408,8 +409,6 @@ class IAMCustomRole(pulumi.CustomResource):
408
409
  if permissions is None and not opts.urn:
409
410
  raise TypeError("Missing required property 'permissions'")
410
411
  __props__.__dict__["permissions"] = permissions
411
- if role_id is None and not opts.urn:
412
- raise TypeError("Missing required property 'role_id'")
413
412
  __props__.__dict__["role_id"] = role_id
414
413
  __props__.__dict__["stage"] = stage
415
414
  if title is None and not opts.urn:
@@ -20,30 +20,31 @@ __all__ = ['IAMCustomRoleArgs', 'IAMCustomRole']
20
20
  class IAMCustomRoleArgs:
21
21
  def __init__(__self__, *,
22
22
  permissions: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- role_id: pulumi.Input[str],
24
23
  title: pulumi.Input[str],
25
24
  description: Optional[pulumi.Input[str]] = None,
26
25
  project: Optional[pulumi.Input[str]] = None,
26
+ role_id: Optional[pulumi.Input[str]] = None,
27
27
  stage: Optional[pulumi.Input[str]] = None):
28
28
  """
29
29
  The set of arguments for constructing a IAMCustomRole resource.
30
30
  :param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: The names of the permissions this role grants when bound in an IAM policy. At least one permission must be specified.
31
- :param pulumi.Input[str] role_id: The camel case role id to use for this role. Cannot contain `-` characters.
32
31
  :param pulumi.Input[str] title: A human-readable title for the role.
33
32
  :param pulumi.Input[str] description: A human-readable description for the role.
34
33
  :param pulumi.Input[str] project: The project that the custom role will be created in.
35
34
  Defaults to the provider project configuration.
35
+ :param pulumi.Input[str] role_id: The camel case role id to use for this role. Cannot contain `-` characters.
36
36
  :param pulumi.Input[str] stage: The current launch stage of the role.
37
37
  Defaults to `GA`.
38
38
  List of possible stages is [here](https://cloud.google.com/iam/reference/rest/v1/organizations.roles#Role.RoleLaunchStage).
39
39
  """
40
40
  pulumi.set(__self__, "permissions", permissions)
41
- pulumi.set(__self__, "role_id", role_id)
42
41
  pulumi.set(__self__, "title", title)
43
42
  if description is not None:
44
43
  pulumi.set(__self__, "description", description)
45
44
  if project is not None:
46
45
  pulumi.set(__self__, "project", project)
46
+ if role_id is not None:
47
+ pulumi.set(__self__, "role_id", role_id)
47
48
  if stage is not None:
48
49
  pulumi.set(__self__, "stage", stage)
49
50
 
@@ -59,18 +60,6 @@ class IAMCustomRoleArgs:
59
60
  def permissions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
60
61
  pulumi.set(self, "permissions", value)
61
62
 
62
- @property
63
- @pulumi.getter(name="roleId")
64
- def role_id(self) -> pulumi.Input[str]:
65
- """
66
- The camel case role id to use for this role. Cannot contain `-` characters.
67
- """
68
- return pulumi.get(self, "role_id")
69
-
70
- @role_id.setter
71
- def role_id(self, value: pulumi.Input[str]):
72
- pulumi.set(self, "role_id", value)
73
-
74
63
  @property
75
64
  @pulumi.getter
76
65
  def title(self) -> pulumi.Input[str]:
@@ -108,6 +97,18 @@ class IAMCustomRoleArgs:
108
97
  def project(self, value: Optional[pulumi.Input[str]]):
109
98
  pulumi.set(self, "project", value)
110
99
 
100
+ @property
101
+ @pulumi.getter(name="roleId")
102
+ def role_id(self) -> Optional[pulumi.Input[str]]:
103
+ """
104
+ The camel case role id to use for this role. Cannot contain `-` characters.
105
+ """
106
+ return pulumi.get(self, "role_id")
107
+
108
+ @role_id.setter
109
+ def role_id(self, value: Optional[pulumi.Input[str]]):
110
+ pulumi.set(self, "role_id", value)
111
+
111
112
  @property
112
113
  @pulumi.getter
113
114
  def stage(self) -> Optional[pulumi.Input[str]]:
@@ -442,8 +443,6 @@ class IAMCustomRole(pulumi.CustomResource):
442
443
  raise TypeError("Missing required property 'permissions'")
443
444
  __props__.__dict__["permissions"] = permissions
444
445
  __props__.__dict__["project"] = project
445
- if role_id is None and not opts.urn:
446
- raise TypeError("Missing required property 'role_id'")
447
446
  __props__.__dict__["role_id"] = role_id
448
447
  __props__.__dict__["stage"] = stage
449
448
  if title is None and not opts.urn:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "gcp",
4
- "version": "8.8.0-alpha.1730980839"
4
+ "version": "8.8.1"
5
5
  }
@@ -19,7 +19,7 @@ __all__ = ['AccountArgs', 'Account']
19
19
  @pulumi.input_type
20
20
  class AccountArgs:
21
21
  def __init__(__self__, *,
22
- account_id: pulumi.Input[str],
22
+ account_id: Optional[pulumi.Input[str]] = None,
23
23
  create_ignore_already_exists: Optional[pulumi.Input[bool]] = None,
24
24
  description: Optional[pulumi.Input[str]] = None,
25
25
  disabled: Optional[pulumi.Input[bool]] = None,
@@ -41,7 +41,8 @@ class AccountArgs:
41
41
  :param pulumi.Input[str] project: The ID of the project that the service account will be created in.
42
42
  Defaults to the provider project configuration.
43
43
  """
44
- pulumi.set(__self__, "account_id", account_id)
44
+ if account_id is not None:
45
+ pulumi.set(__self__, "account_id", account_id)
45
46
  if create_ignore_already_exists is not None:
46
47
  pulumi.set(__self__, "create_ignore_already_exists", create_ignore_already_exists)
47
48
  if description is not None:
@@ -55,7 +56,7 @@ class AccountArgs:
55
56
 
56
57
  @property
57
58
  @pulumi.getter(name="accountId")
58
- def account_id(self) -> pulumi.Input[str]:
59
+ def account_id(self) -> Optional[pulumi.Input[str]]:
59
60
  """
60
61
  The account id that is used to generate the service
61
62
  account email address and a stable unique id. It is unique within a project,
@@ -65,7 +66,7 @@ class AccountArgs:
65
66
  return pulumi.get(self, "account_id")
66
67
 
67
68
  @account_id.setter
68
- def account_id(self, value: pulumi.Input[str]):
69
+ def account_id(self, value: Optional[pulumi.Input[str]]):
69
70
  pulumi.set(self, "account_id", value)
70
71
 
71
72
  @property
@@ -389,7 +390,7 @@ class Account(pulumi.CustomResource):
389
390
  @overload
390
391
  def __init__(__self__,
391
392
  resource_name: str,
392
- args: AccountArgs,
393
+ args: Optional[AccountArgs] = None,
393
394
  opts: Optional[pulumi.ResourceOptions] = None):
394
395
  """
395
396
  Allows management of a Google Cloud service account.
@@ -459,8 +460,6 @@ class Account(pulumi.CustomResource):
459
460
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
460
461
  __props__ = AccountArgs.__new__(AccountArgs)
461
462
 
462
- if account_id is None and not opts.urn:
463
- raise TypeError("Missing required property 'account_id'")
464
463
  __props__.__dict__["account_id"] = account_id
465
464
  __props__.__dict__["create_ignore_already_exists"] = create_ignore_already_exists
466
465
  __props__.__dict__["description"] = description
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_gcp
3
- Version: 8.8.0a1730980839
3
+ Version: 8.8.1
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -2,7 +2,7 @@ pulumi_gcp/__init__.py,sha256=m2zQ8wQE20bakJDoj9HSdS6nkNRY6iiM3WmiVPS-IVM,209732
2
2
  pulumi_gcp/_inputs.py,sha256=Od7fuuGzQlwMR_yFc1c5R1CuvtPhgRpe262W7i6UPKc,1873
3
3
  pulumi_gcp/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
4
4
  pulumi_gcp/provider.py,sha256=B8aqjWCHZZcsNB1ZmqJQ4QwVgMLhXh-FalDvd5TgtYM,196494
5
- pulumi_gcp/pulumi-plugin.json,sha256=TrnYBnLW3afilDpEj1ltDrqJpf2e0hGyqnWl_dQb-_s,79
5
+ pulumi_gcp/pulumi-plugin.json,sha256=wtBHUeleocrzJ3f6ReE2qrZkRGDaBb_vwXhmFHh4FZw,62
6
6
  pulumi_gcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pulumi_gcp/accessapproval/__init__.py,sha256=VpbPp-2Rb1295tFUB_3aO6TvbS1UhYt3ycgAzrNVqOU,402
8
8
  pulumi_gcp/accessapproval/get_folder_service_account.py,sha256=DsS3Y4x83MKZnVBKsAsYUiBbpnRMwcUaQl4RVovyFCg,6281
@@ -1300,7 +1300,7 @@ pulumi_gcp/organizations/get_organization.py,sha256=ABHRz7pIMNX2D401X_dHWHpD0dVA
1300
1300
  pulumi_gcp/organizations/get_project.py,sha256=B17rbospp3mtwZl7nvDWqnxULccz0Gy0f9znGGEOgzs,9344
1301
1301
  pulumi_gcp/organizations/iam_audit_config.py,sha256=Xs78VEd5XsbYGpUnLL2XfQqQDwnY85JX0eiHZ3jLtX8,16823
1302
1302
  pulumi_gcp/organizations/iam_binding.py,sha256=u7f6tT3psKpoaWDh08NHMsdEEVbp772GqI_Ua37tZ0U,17124
1303
- pulumi_gcp/organizations/iam_custom_role.py,sha256=ItNibtXGWfoaJI08ol2hwxpFfpoXC5lQmY4dpYvCnvo,23010
1303
+ pulumi_gcp/organizations/iam_custom_role.py,sha256=Qb9nrzqWLknFd9n-lLPBUkq-FEdnDQshAu14SDQDxXE,22963
1304
1304
  pulumi_gcp/organizations/iam_member.py,sha256=Ri4oPWCAonhkZEF_8RyuI_VFQcAthD-6b5hoR4nvVRI,36134
1305
1305
  pulumi_gcp/organizations/iam_policy.py,sha256=FNfwqQ9cxUQ7vYjI2_tJt9lm8rlo-KY70W-2m5-kC7M,28523
1306
1306
  pulumi_gcp/organizations/outputs.py,sha256=OBiC9dLUTrlFhivJXCWTpoPeIyLk-e4diucFexWbKL4,27575
@@ -1337,7 +1337,7 @@ pulumi_gcp/projects/get_project.py,sha256=AHY63KouJ_NzIxLZpPuM2cAo2qijAmZWWWRhAr
1337
1337
  pulumi_gcp/projects/get_project_service.py,sha256=snbLQ48aHPqP1MzXBWgEmsb0U9yeZ7YIAbk7wPWOB9k,8068
1338
1338
  pulumi_gcp/projects/iam_audit_config.py,sha256=ThcunaL7C0uyHv7AouOeATWS45z6xtyrPEJ5ZtHSQQc,35262
1339
1339
  pulumi_gcp/projects/iam_binding.py,sha256=acZD_HMYjAcuASqUVBQXpszRtit7sm6C3aEfMwKWeUI,40290
1340
- pulumi_gcp/projects/iam_custom_role.py,sha256=sz3oBZFJW71YbNVCHoUiOLl8Jpd5Cye9qr9Xp7LEnok,24255
1340
+ pulumi_gcp/projects/iam_custom_role.py,sha256=x-5fZEDK2A8nHM2ow55mmsDgZecAw1KmJP-x4J6Rupw,24208
1341
1341
  pulumi_gcp/projects/iam_member.py,sha256=iJkJP7bl7OueI-Wa5dzRyJieoLtwuT97DWWYinf1zYg,39893
1342
1342
  pulumi_gcp/projects/iam_member_remove.py,sha256=Nrk-eYjjVPDfb1se6Zv3LsZTNW10Ic4mZ-jSg6nSiks,16897
1343
1343
  pulumi_gcp/projects/iam_policy.py,sha256=LtPkwoqgv_q78SirDbdsTuXpY6RaO-bM5UDKvgyhXBo,31463
@@ -1477,7 +1477,7 @@ pulumi_gcp/securityposture/posture.py,sha256=rcZP7PLHA1J47zhiA4YLySNkaxwsv9VSQ2q
1477
1477
  pulumi_gcp/securityposture/posture_deployment.py,sha256=pJoT9JbRvNehXJOSSxRgu-jvQNMX0PEdrtiM0OAD_mY,36510
1478
1478
  pulumi_gcp/serviceaccount/__init__.py,sha256=YMsWNDyOzpbRvKCQ4kDEbp5jXDTvzDMfuP8eq3dj6Ho,651
1479
1479
  pulumi_gcp/serviceaccount/_inputs.py,sha256=bCP8V0hNFHZKD5IGdAdKje4KbfK85BtsuqmazXBoXGU,8023
1480
- pulumi_gcp/serviceaccount/account.py,sha256=qgTAKeHb6FrnJIXGL0kSqtqtII6SF0N_Z_4xXLtAaEg,28348
1480
+ pulumi_gcp/serviceaccount/account.py,sha256=ySTfCODB1NqVxuqTSNQ5rXbtCyELy-pkHKZmpH18c3o,28315
1481
1481
  pulumi_gcp/serviceaccount/get_account.py,sha256=rHf0lnwBwm__RR2Z51Qn_-uEe5SjNW3FFQr-6zfQrW8,10065
1482
1482
  pulumi_gcp/serviceaccount/get_account_access_token.py,sha256=JrkEzwRWVcJ34a9ZxLjDaKUttkSSmID_bkH3gyA77l4,11242
1483
1483
  pulumi_gcp/serviceaccount/get_account_id_token.py,sha256=GyZ7Z1CFc7cXUbcu1PGTJB5XhS3ECHwY6w97uMQVkc8,12017
@@ -1705,7 +1705,7 @@ pulumi_gcp/workstations/workstation_config_iam_policy.py,sha256=6254B7mpV5htw169
1705
1705
  pulumi_gcp/workstations/workstation_iam_binding.py,sha256=yCizez3UUlZWaQX2GNL4n5fuwebLdmEgWorPzEWP5-c,37782
1706
1706
  pulumi_gcp/workstations/workstation_iam_member.py,sha256=XTMhHTr0jQp4-3Zz68qhRDO7cQa3Www4Vza8axVinIc,37383
1707
1707
  pulumi_gcp/workstations/workstation_iam_policy.py,sha256=yOPXKlHDXIsg9lzajYjtkfYgzsiuyyrZjQ7J85I5rcA,24017
1708
- pulumi_gcp-8.8.0a1730980839.dist-info/METADATA,sha256=hduOdL5LHaY0KhkKkzPPJm0dIQhhgdlZImiTxYmSpps,2729
1709
- pulumi_gcp-8.8.0a1730980839.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
1710
- pulumi_gcp-8.8.0a1730980839.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1711
- pulumi_gcp-8.8.0a1730980839.dist-info/RECORD,,
1708
+ pulumi_gcp-8.8.1.dist-info/METADATA,sha256=7HdgCp5d-FFX70jsCHx7QaWCOBy0hGSgCS00xYE75Sc,2718
1709
+ pulumi_gcp-8.8.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
1710
+ pulumi_gcp-8.8.1.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1711
+ pulumi_gcp-8.8.1.dist-info/RECORD,,