pulumi-gcp 8.22.0a1741888019__py3-none-any.whl → 8.23.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.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/alloydb/_inputs.py +27 -1
- pulumi_gcp/alloydb/outputs.py +33 -2
- pulumi_gcp/applicationintegration/client.py +18 -24
- pulumi_gcp/bigquery/_inputs.py +20 -0
- pulumi_gcp/bigquery/outputs.py +12 -0
- pulumi_gcp/bigquery/table.py +61 -0
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/clouddeploy/_inputs.py +20 -0
- pulumi_gcp/clouddeploy/outputs.py +15 -1
- pulumi_gcp/cloudfunctions/function.py +11 -11
- pulumi_gcp/cloudfunctionsv2/function.py +24 -24
- pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
- pulumi_gcp/cloudidentity/outputs.py +18 -38
- pulumi_gcp/compute/firewall_policy.py +20 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
- pulumi_gcp/compute/subnetwork.py +109 -1
- pulumi_gcp/compute/target_https_proxy.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/get_attached_versions.py +2 -2
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dataform/repository.py +49 -0
- pulumi_gcp/dataproc/get_metastore_service.py +26 -4
- pulumi_gcp/dataproc/metastore_federation.py +56 -0
- pulumi_gcp/dataproc/metastore_service.py +58 -2
- pulumi_gcp/eventarc/__init__.py +1 -0
- pulumi_gcp/eventarc/_inputs.py +1758 -0
- pulumi_gcp/eventarc/outputs.py +1337 -0
- pulumi_gcp/eventarc/pipeline.py +1596 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +154 -0
- pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
- pulumi_gcp/firebase/hosting_version.py +2 -2
- pulumi_gcp/firebase/outputs.py +127 -0
- pulumi_gcp/kms/get_key_rings.py +39 -2
- pulumi_gcp/managedkafka/__init__.py +2 -0
- pulumi_gcp/managedkafka/_inputs.py +263 -0
- pulumi_gcp/managedkafka/connect_cluster.py +795 -0
- pulumi_gcp/managedkafka/connector.py +695 -0
- pulumi_gcp/managedkafka/outputs.py +248 -0
- pulumi_gcp/memorystore/instance.py +7 -7
- pulumi_gcp/monitoring/uptime_check_config.py +2 -2
- pulumi_gcp/networksecurity/_inputs.py +643 -0
- pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
- pulumi_gcp/networksecurity/mirroring_deployment.py +22 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +20 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +24 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +28 -0
- pulumi_gcp/networksecurity/outputs.py +475 -0
- pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
- pulumi_gcp/networkservices/gateway.py +242 -120
- pulumi_gcp/projects/__init__.py +2 -0
- pulumi_gcp/projects/get_iam_custom_role.py +198 -0
- pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
- pulumi_gcp/projects/outputs.py +96 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
- pulumi_gcp/sql/outputs.py +8 -8
- pulumi_gcp/storage/_inputs.py +14 -6
- pulumi_gcp/storage/insights_report_config.py +121 -20
- pulumi_gcp/storage/outputs.py +7 -4
- pulumi_gcp/workflows/workflow.py +75 -7
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/RECORD +69 -63
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/projects/__init__.py
CHANGED
@@ -9,6 +9,8 @@ from .access_approval_settings import *
|
|
9
9
|
from .api_key import *
|
10
10
|
from .default_service_accounts import *
|
11
11
|
from .get_ancestry import *
|
12
|
+
from .get_iam_custom_role import *
|
13
|
+
from .get_iam_custom_roles import *
|
12
14
|
from .get_iam_policy import *
|
13
15
|
from .get_organization_policy import *
|
14
16
|
from .get_project import *
|
@@ -0,0 +1,198 @@
|
|
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__ = [
|
18
|
+
'GetIamCustomRoleResult',
|
19
|
+
'AwaitableGetIamCustomRoleResult',
|
20
|
+
'get_iam_custom_role',
|
21
|
+
'get_iam_custom_role_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetIamCustomRoleResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getIamCustomRole.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, deleted=None, description=None, id=None, name=None, permissions=None, project=None, role_id=None, stage=None, title=None):
|
30
|
+
if deleted and not isinstance(deleted, bool):
|
31
|
+
raise TypeError("Expected argument 'deleted' to be a bool")
|
32
|
+
pulumi.set(__self__, "deleted", deleted)
|
33
|
+
if description and not isinstance(description, str):
|
34
|
+
raise TypeError("Expected argument 'description' to be a str")
|
35
|
+
pulumi.set(__self__, "description", description)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if name and not isinstance(name, str):
|
40
|
+
raise TypeError("Expected argument 'name' to be a str")
|
41
|
+
pulumi.set(__self__, "name", name)
|
42
|
+
if permissions and not isinstance(permissions, list):
|
43
|
+
raise TypeError("Expected argument 'permissions' to be a list")
|
44
|
+
pulumi.set(__self__, "permissions", permissions)
|
45
|
+
if project and not isinstance(project, str):
|
46
|
+
raise TypeError("Expected argument 'project' to be a str")
|
47
|
+
pulumi.set(__self__, "project", project)
|
48
|
+
if role_id and not isinstance(role_id, str):
|
49
|
+
raise TypeError("Expected argument 'role_id' to be a str")
|
50
|
+
pulumi.set(__self__, "role_id", role_id)
|
51
|
+
if stage and not isinstance(stage, str):
|
52
|
+
raise TypeError("Expected argument 'stage' to be a str")
|
53
|
+
pulumi.set(__self__, "stage", stage)
|
54
|
+
if title and not isinstance(title, str):
|
55
|
+
raise TypeError("Expected argument 'title' to be a str")
|
56
|
+
pulumi.set(__self__, "title", title)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def deleted(self) -> bool:
|
61
|
+
return pulumi.get(self, "deleted")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def description(self) -> str:
|
66
|
+
return pulumi.get(self, "description")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def id(self) -> str:
|
71
|
+
"""
|
72
|
+
The provider-assigned unique ID for this managed resource.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "id")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def name(self) -> str:
|
79
|
+
return pulumi.get(self, "name")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def permissions(self) -> Sequence[str]:
|
84
|
+
return pulumi.get(self, "permissions")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def project(self) -> Optional[str]:
|
89
|
+
return pulumi.get(self, "project")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="roleId")
|
93
|
+
def role_id(self) -> str:
|
94
|
+
return pulumi.get(self, "role_id")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def stage(self) -> str:
|
99
|
+
return pulumi.get(self, "stage")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter
|
103
|
+
def title(self) -> str:
|
104
|
+
return pulumi.get(self, "title")
|
105
|
+
|
106
|
+
|
107
|
+
class AwaitableGetIamCustomRoleResult(GetIamCustomRoleResult):
|
108
|
+
# pylint: disable=using-constant-test
|
109
|
+
def __await__(self):
|
110
|
+
if False:
|
111
|
+
yield self
|
112
|
+
return GetIamCustomRoleResult(
|
113
|
+
deleted=self.deleted,
|
114
|
+
description=self.description,
|
115
|
+
id=self.id,
|
116
|
+
name=self.name,
|
117
|
+
permissions=self.permissions,
|
118
|
+
project=self.project,
|
119
|
+
role_id=self.role_id,
|
120
|
+
stage=self.stage,
|
121
|
+
title=self.title)
|
122
|
+
|
123
|
+
|
124
|
+
def get_iam_custom_role(project: Optional[str] = None,
|
125
|
+
role_id: Optional[str] = None,
|
126
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIamCustomRoleResult:
|
127
|
+
"""
|
128
|
+
Get information about a Google Cloud Project IAM Custom Role. Note that you must have the `roles/iam.roleViewer` role (or equivalent permissions) at the project level to use this datasource.
|
129
|
+
|
130
|
+
```python
|
131
|
+
import pulumi
|
132
|
+
import pulumi_gcp as gcp
|
133
|
+
|
134
|
+
example = gcp.projects.get_iam_custom_role(project="your-project-id",
|
135
|
+
role_id="your-role-id")
|
136
|
+
project = gcp.projects.IAMMember("project",
|
137
|
+
project="your-project-id",
|
138
|
+
role=example.name,
|
139
|
+
member="user:jane@example.com")
|
140
|
+
```
|
141
|
+
|
142
|
+
|
143
|
+
:param str project: The project were the custom role has been created in. Defaults to the provider project configuration.
|
144
|
+
:param str role_id: The role id that has been used for this role.
|
145
|
+
"""
|
146
|
+
__args__ = dict()
|
147
|
+
__args__['project'] = project
|
148
|
+
__args__['roleId'] = role_id
|
149
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
150
|
+
__ret__ = pulumi.runtime.invoke('gcp:projects/getIamCustomRole:getIamCustomRole', __args__, opts=opts, typ=GetIamCustomRoleResult).value
|
151
|
+
|
152
|
+
return AwaitableGetIamCustomRoleResult(
|
153
|
+
deleted=pulumi.get(__ret__, 'deleted'),
|
154
|
+
description=pulumi.get(__ret__, 'description'),
|
155
|
+
id=pulumi.get(__ret__, 'id'),
|
156
|
+
name=pulumi.get(__ret__, 'name'),
|
157
|
+
permissions=pulumi.get(__ret__, 'permissions'),
|
158
|
+
project=pulumi.get(__ret__, 'project'),
|
159
|
+
role_id=pulumi.get(__ret__, 'role_id'),
|
160
|
+
stage=pulumi.get(__ret__, 'stage'),
|
161
|
+
title=pulumi.get(__ret__, 'title'))
|
162
|
+
def get_iam_custom_role_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
163
|
+
role_id: Optional[pulumi.Input[str]] = None,
|
164
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamCustomRoleResult]:
|
165
|
+
"""
|
166
|
+
Get information about a Google Cloud Project IAM Custom Role. Note that you must have the `roles/iam.roleViewer` role (or equivalent permissions) at the project level to use this datasource.
|
167
|
+
|
168
|
+
```python
|
169
|
+
import pulumi
|
170
|
+
import pulumi_gcp as gcp
|
171
|
+
|
172
|
+
example = gcp.projects.get_iam_custom_role(project="your-project-id",
|
173
|
+
role_id="your-role-id")
|
174
|
+
project = gcp.projects.IAMMember("project",
|
175
|
+
project="your-project-id",
|
176
|
+
role=example.name,
|
177
|
+
member="user:jane@example.com")
|
178
|
+
```
|
179
|
+
|
180
|
+
|
181
|
+
:param str project: The project were the custom role has been created in. Defaults to the provider project configuration.
|
182
|
+
:param str role_id: The role id that has been used for this role.
|
183
|
+
"""
|
184
|
+
__args__ = dict()
|
185
|
+
__args__['project'] = project
|
186
|
+
__args__['roleId'] = role_id
|
187
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
188
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:projects/getIamCustomRole:getIamCustomRole', __args__, opts=opts, typ=GetIamCustomRoleResult)
|
189
|
+
return __ret__.apply(lambda __response__: GetIamCustomRoleResult(
|
190
|
+
deleted=pulumi.get(__response__, 'deleted'),
|
191
|
+
description=pulumi.get(__response__, 'description'),
|
192
|
+
id=pulumi.get(__response__, 'id'),
|
193
|
+
name=pulumi.get(__response__, 'name'),
|
194
|
+
permissions=pulumi.get(__response__, 'permissions'),
|
195
|
+
project=pulumi.get(__response__, 'project'),
|
196
|
+
role_id=pulumi.get(__response__, 'role_id'),
|
197
|
+
stage=pulumi.get(__response__, 'stage'),
|
198
|
+
title=pulumi.get(__response__, 'title')))
|
@@ -0,0 +1,164 @@
|
|
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
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetIamCustomRolesResult',
|
20
|
+
'AwaitableGetIamCustomRolesResult',
|
21
|
+
'get_iam_custom_roles',
|
22
|
+
'get_iam_custom_roles_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetIamCustomRolesResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getIamCustomRoles.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, id=None, project=None, roles=None, show_deleted=None, view=None):
|
31
|
+
if id and not isinstance(id, str):
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
33
|
+
pulumi.set(__self__, "id", id)
|
34
|
+
if project and not isinstance(project, str):
|
35
|
+
raise TypeError("Expected argument 'project' to be a str")
|
36
|
+
pulumi.set(__self__, "project", project)
|
37
|
+
if roles and not isinstance(roles, list):
|
38
|
+
raise TypeError("Expected argument 'roles' to be a list")
|
39
|
+
pulumi.set(__self__, "roles", roles)
|
40
|
+
if show_deleted and not isinstance(show_deleted, bool):
|
41
|
+
raise TypeError("Expected argument 'show_deleted' to be a bool")
|
42
|
+
pulumi.set(__self__, "show_deleted", show_deleted)
|
43
|
+
if view and not isinstance(view, str):
|
44
|
+
raise TypeError("Expected argument 'view' to be a str")
|
45
|
+
pulumi.set(__self__, "view", view)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter
|
49
|
+
def id(self) -> str:
|
50
|
+
"""
|
51
|
+
The provider-assigned unique ID for this managed resource.
|
52
|
+
"""
|
53
|
+
return pulumi.get(self, "id")
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter
|
57
|
+
def project(self) -> Optional[str]:
|
58
|
+
return pulumi.get(self, "project")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def roles(self) -> Sequence['outputs.GetIamCustomRolesRoleResult']:
|
63
|
+
"""
|
64
|
+
A list of all retrieved custom roles roles. Structure is defined below.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "roles")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="showDeleted")
|
70
|
+
def show_deleted(self) -> Optional[bool]:
|
71
|
+
return pulumi.get(self, "show_deleted")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def view(self) -> Optional[str]:
|
76
|
+
return pulumi.get(self, "view")
|
77
|
+
|
78
|
+
|
79
|
+
class AwaitableGetIamCustomRolesResult(GetIamCustomRolesResult):
|
80
|
+
# pylint: disable=using-constant-test
|
81
|
+
def __await__(self):
|
82
|
+
if False:
|
83
|
+
yield self
|
84
|
+
return GetIamCustomRolesResult(
|
85
|
+
id=self.id,
|
86
|
+
project=self.project,
|
87
|
+
roles=self.roles,
|
88
|
+
show_deleted=self.show_deleted,
|
89
|
+
view=self.view)
|
90
|
+
|
91
|
+
|
92
|
+
def get_iam_custom_roles(project: Optional[str] = None,
|
93
|
+
show_deleted: Optional[bool] = None,
|
94
|
+
view: Optional[str] = None,
|
95
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIamCustomRolesResult:
|
96
|
+
"""
|
97
|
+
Get information about Google Cloud IAM Custom Roles from a project.
|
98
|
+
Note that you must have the `roles/iam.roleViewer`.
|
99
|
+
See [the official documentation](https://cloud.google.com/iam/docs/creating-custom-roles)
|
100
|
+
and [API](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list).
|
101
|
+
|
102
|
+
```python
|
103
|
+
import pulumi
|
104
|
+
import pulumi_gcp as gcp
|
105
|
+
|
106
|
+
example = gcp.projects.get_iam_custom_roles(project="your-project-id",
|
107
|
+
show_deleted=True,
|
108
|
+
view="FULL")
|
109
|
+
```
|
110
|
+
|
111
|
+
|
112
|
+
:param str project: The project were the custom role has been created in. Defaults to the provider project configuration.
|
113
|
+
:param bool show_deleted: Include Roles that have been deleted. Defaults to `false`.
|
114
|
+
:param str view: When `"FULL"` is specified, the `permissions` field is returned, which includes a list of all permissions in the role. The default value is `"BASIC"`, which does not return the `permissions`.
|
115
|
+
"""
|
116
|
+
__args__ = dict()
|
117
|
+
__args__['project'] = project
|
118
|
+
__args__['showDeleted'] = show_deleted
|
119
|
+
__args__['view'] = view
|
120
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
121
|
+
__ret__ = pulumi.runtime.invoke('gcp:projects/getIamCustomRoles:getIamCustomRoles', __args__, opts=opts, typ=GetIamCustomRolesResult).value
|
122
|
+
|
123
|
+
return AwaitableGetIamCustomRolesResult(
|
124
|
+
id=pulumi.get(__ret__, 'id'),
|
125
|
+
project=pulumi.get(__ret__, 'project'),
|
126
|
+
roles=pulumi.get(__ret__, 'roles'),
|
127
|
+
show_deleted=pulumi.get(__ret__, 'show_deleted'),
|
128
|
+
view=pulumi.get(__ret__, 'view'))
|
129
|
+
def get_iam_custom_roles_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
130
|
+
show_deleted: Optional[pulumi.Input[Optional[bool]]] = None,
|
131
|
+
view: Optional[pulumi.Input[Optional[str]]] = None,
|
132
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamCustomRolesResult]:
|
133
|
+
"""
|
134
|
+
Get information about Google Cloud IAM Custom Roles from a project.
|
135
|
+
Note that you must have the `roles/iam.roleViewer`.
|
136
|
+
See [the official documentation](https://cloud.google.com/iam/docs/creating-custom-roles)
|
137
|
+
and [API](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list).
|
138
|
+
|
139
|
+
```python
|
140
|
+
import pulumi
|
141
|
+
import pulumi_gcp as gcp
|
142
|
+
|
143
|
+
example = gcp.projects.get_iam_custom_roles(project="your-project-id",
|
144
|
+
show_deleted=True,
|
145
|
+
view="FULL")
|
146
|
+
```
|
147
|
+
|
148
|
+
|
149
|
+
:param str project: The project were the custom role has been created in. Defaults to the provider project configuration.
|
150
|
+
:param bool show_deleted: Include Roles that have been deleted. Defaults to `false`.
|
151
|
+
:param str view: When `"FULL"` is specified, the `permissions` field is returned, which includes a list of all permissions in the role. The default value is `"BASIC"`, which does not return the `permissions`.
|
152
|
+
"""
|
153
|
+
__args__ = dict()
|
154
|
+
__args__['project'] = project
|
155
|
+
__args__['showDeleted'] = show_deleted
|
156
|
+
__args__['view'] = view
|
157
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
158
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:projects/getIamCustomRoles:getIamCustomRoles', __args__, opts=opts, typ=GetIamCustomRolesResult)
|
159
|
+
return __ret__.apply(lambda __response__: GetIamCustomRolesResult(
|
160
|
+
id=pulumi.get(__response__, 'id'),
|
161
|
+
project=pulumi.get(__response__, 'project'),
|
162
|
+
roles=pulumi.get(__response__, 'roles'),
|
163
|
+
show_deleted=pulumi.get(__response__, 'show_deleted'),
|
164
|
+
view=pulumi.get(__response__, 'view')))
|
pulumi_gcp/projects/outputs.py
CHANGED
@@ -33,6 +33,7 @@ __all__ = [
|
|
33
33
|
'OrganizationPolicyListPolicyDeny',
|
34
34
|
'OrganizationPolicyRestorePolicy',
|
35
35
|
'GetAncestryAncestorResult',
|
36
|
+
'GetIamCustomRolesRoleResult',
|
36
37
|
'GetOrganizationPolicyBooleanPolicyResult',
|
37
38
|
'GetOrganizationPolicyListPolicyResult',
|
38
39
|
'GetOrganizationPolicyListPolicyAllowResult',
|
@@ -786,6 +787,101 @@ class GetAncestryAncestorResult(dict):
|
|
786
787
|
return pulumi.get(self, "type")
|
787
788
|
|
788
789
|
|
790
|
+
@pulumi.output_type
|
791
|
+
class GetIamCustomRolesRoleResult(dict):
|
792
|
+
def __init__(__self__, *,
|
793
|
+
deleted: bool,
|
794
|
+
description: str,
|
795
|
+
id: str,
|
796
|
+
name: str,
|
797
|
+
permissions: Sequence[str],
|
798
|
+
role_id: str,
|
799
|
+
stage: str,
|
800
|
+
title: str):
|
801
|
+
"""
|
802
|
+
:param bool deleted: The current deleted state of the role.
|
803
|
+
:param str description: A human-readable description for the role.
|
804
|
+
:param str id: an identifier for the resource with the format `projects/{{project}}/roles/{{role_id}}`.
|
805
|
+
:param str name: The name of the role in the format `projects/{{project}}/roles/{{role_id}}`. Like `id`, this field can be used as a reference in other resources such as IAM role bindings.
|
806
|
+
:param Sequence[str] permissions: The names of the permissions this role grants when bound in an IAM policy.
|
807
|
+
:param str role_id: The camel case role id used for this role.
|
808
|
+
:param str stage: The current launch stage of the role. List of possible stages is [here](https://cloud.google.com/iam/reference/rest/v1/organizations.roles#Role.RoleLaunchStage).
|
809
|
+
:param str title: A human-readable title for the role.
|
810
|
+
"""
|
811
|
+
pulumi.set(__self__, "deleted", deleted)
|
812
|
+
pulumi.set(__self__, "description", description)
|
813
|
+
pulumi.set(__self__, "id", id)
|
814
|
+
pulumi.set(__self__, "name", name)
|
815
|
+
pulumi.set(__self__, "permissions", permissions)
|
816
|
+
pulumi.set(__self__, "role_id", role_id)
|
817
|
+
pulumi.set(__self__, "stage", stage)
|
818
|
+
pulumi.set(__self__, "title", title)
|
819
|
+
|
820
|
+
@property
|
821
|
+
@pulumi.getter
|
822
|
+
def deleted(self) -> bool:
|
823
|
+
"""
|
824
|
+
The current deleted state of the role.
|
825
|
+
"""
|
826
|
+
return pulumi.get(self, "deleted")
|
827
|
+
|
828
|
+
@property
|
829
|
+
@pulumi.getter
|
830
|
+
def description(self) -> str:
|
831
|
+
"""
|
832
|
+
A human-readable description for the role.
|
833
|
+
"""
|
834
|
+
return pulumi.get(self, "description")
|
835
|
+
|
836
|
+
@property
|
837
|
+
@pulumi.getter
|
838
|
+
def id(self) -> str:
|
839
|
+
"""
|
840
|
+
an identifier for the resource with the format `projects/{{project}}/roles/{{role_id}}`.
|
841
|
+
"""
|
842
|
+
return pulumi.get(self, "id")
|
843
|
+
|
844
|
+
@property
|
845
|
+
@pulumi.getter
|
846
|
+
def name(self) -> str:
|
847
|
+
"""
|
848
|
+
The name of the role in the format `projects/{{project}}/roles/{{role_id}}`. Like `id`, this field can be used as a reference in other resources such as IAM role bindings.
|
849
|
+
"""
|
850
|
+
return pulumi.get(self, "name")
|
851
|
+
|
852
|
+
@property
|
853
|
+
@pulumi.getter
|
854
|
+
def permissions(self) -> Sequence[str]:
|
855
|
+
"""
|
856
|
+
The names of the permissions this role grants when bound in an IAM policy.
|
857
|
+
"""
|
858
|
+
return pulumi.get(self, "permissions")
|
859
|
+
|
860
|
+
@property
|
861
|
+
@pulumi.getter(name="roleId")
|
862
|
+
def role_id(self) -> str:
|
863
|
+
"""
|
864
|
+
The camel case role id used for this role.
|
865
|
+
"""
|
866
|
+
return pulumi.get(self, "role_id")
|
867
|
+
|
868
|
+
@property
|
869
|
+
@pulumi.getter
|
870
|
+
def stage(self) -> str:
|
871
|
+
"""
|
872
|
+
The current launch stage of the role. List of possible stages is [here](https://cloud.google.com/iam/reference/rest/v1/organizations.roles#Role.RoleLaunchStage).
|
873
|
+
"""
|
874
|
+
return pulumi.get(self, "stage")
|
875
|
+
|
876
|
+
@property
|
877
|
+
@pulumi.getter
|
878
|
+
def title(self) -> str:
|
879
|
+
"""
|
880
|
+
A human-readable title for the role.
|
881
|
+
"""
|
882
|
+
return pulumi.get(self, "title")
|
883
|
+
|
884
|
+
|
789
885
|
@pulumi.output_type
|
790
886
|
class GetOrganizationPolicyBooleanPolicyResult(dict):
|
791
887
|
def __init__(__self__, *,
|
pulumi_gcp/provider.py
CHANGED
@@ -106,6 +106,7 @@ class ProviderArgs:
|
|
106
106
|
eventarc_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
107
107
|
filestore_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
108
108
|
firebase_app_check_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
109
|
+
firebase_app_hosting_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
109
110
|
firebase_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
110
111
|
firebase_data_connect_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
111
112
|
firebase_database_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -381,6 +382,8 @@ class ProviderArgs:
|
|
381
382
|
pulumi.set(__self__, "filestore_custom_endpoint", filestore_custom_endpoint)
|
382
383
|
if firebase_app_check_custom_endpoint is not None:
|
383
384
|
pulumi.set(__self__, "firebase_app_check_custom_endpoint", firebase_app_check_custom_endpoint)
|
385
|
+
if firebase_app_hosting_custom_endpoint is not None:
|
386
|
+
pulumi.set(__self__, "firebase_app_hosting_custom_endpoint", firebase_app_hosting_custom_endpoint)
|
384
387
|
if firebase_custom_endpoint is not None:
|
385
388
|
pulumi.set(__self__, "firebase_custom_endpoint", firebase_custom_endpoint)
|
386
389
|
if firebase_data_connect_custom_endpoint is not None:
|
@@ -1362,6 +1365,15 @@ class ProviderArgs:
|
|
1362
1365
|
def firebase_app_check_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1363
1366
|
pulumi.set(self, "firebase_app_check_custom_endpoint", value)
|
1364
1367
|
|
1368
|
+
@property
|
1369
|
+
@pulumi.getter(name="firebaseAppHostingCustomEndpoint")
|
1370
|
+
def firebase_app_hosting_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
1371
|
+
return pulumi.get(self, "firebase_app_hosting_custom_endpoint")
|
1372
|
+
|
1373
|
+
@firebase_app_hosting_custom_endpoint.setter
|
1374
|
+
def firebase_app_hosting_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1375
|
+
pulumi.set(self, "firebase_app_hosting_custom_endpoint", value)
|
1376
|
+
|
1365
1377
|
@property
|
1366
1378
|
@pulumi.getter(name="firebaseCustomEndpoint")
|
1367
1379
|
def firebase_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
@@ -2354,6 +2366,7 @@ class Provider(pulumi.ProviderResource):
|
|
2354
2366
|
eventarc_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2355
2367
|
filestore_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2356
2368
|
firebase_app_check_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2369
|
+
firebase_app_hosting_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2357
2370
|
firebase_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2358
2371
|
firebase_data_connect_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2359
2372
|
firebase_database_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2577,6 +2590,7 @@ class Provider(pulumi.ProviderResource):
|
|
2577
2590
|
eventarc_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2578
2591
|
filestore_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2579
2592
|
firebase_app_check_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2593
|
+
firebase_app_hosting_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2580
2594
|
firebase_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2581
2595
|
firebase_data_connect_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2582
2596
|
firebase_database_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2772,6 +2786,7 @@ class Provider(pulumi.ProviderResource):
|
|
2772
2786
|
__props__.__dict__["eventarc_custom_endpoint"] = eventarc_custom_endpoint
|
2773
2787
|
__props__.__dict__["filestore_custom_endpoint"] = filestore_custom_endpoint
|
2774
2788
|
__props__.__dict__["firebase_app_check_custom_endpoint"] = firebase_app_check_custom_endpoint
|
2789
|
+
__props__.__dict__["firebase_app_hosting_custom_endpoint"] = firebase_app_hosting_custom_endpoint
|
2775
2790
|
__props__.__dict__["firebase_custom_endpoint"] = firebase_custom_endpoint
|
2776
2791
|
__props__.__dict__["firebase_data_connect_custom_endpoint"] = firebase_data_connect_custom_endpoint
|
2777
2792
|
__props__.__dict__["firebase_database_custom_endpoint"] = firebase_database_custom_endpoint
|
@@ -3296,6 +3311,11 @@ class Provider(pulumi.ProviderResource):
|
|
3296
3311
|
def firebase_app_check_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3297
3312
|
return pulumi.get(self, "firebase_app_check_custom_endpoint")
|
3298
3313
|
|
3314
|
+
@property
|
3315
|
+
@pulumi.getter(name="firebaseAppHostingCustomEndpoint")
|
3316
|
+
def firebase_app_hosting_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3317
|
+
return pulumi.get(self, "firebase_app_hosting_custom_endpoint")
|
3318
|
+
|
3299
3319
|
@property
|
3300
3320
|
@pulumi.getter(name="firebaseCustomEndpoint")
|
3301
3321
|
def firebase_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
pulumi_gcp/pulumi-plugin.json
CHANGED
@@ -222,6 +222,8 @@ class PeeredDnsDomain(pulumi.CustomResource):
|
|
222
222
|
|
223
223
|
When using Google Cloud DNS to manage internal DNS, create peered DNS domains to make your DNS available to services like Google Cloud Build.
|
224
224
|
|
225
|
+
For more information see [the API](https://cloud.google.com/service-infrastructure/docs/service-networking/reference/rest/v1/services.projects.global.networks.peeredDnsDomains)
|
226
|
+
|
225
227
|
## Example Usage
|
226
228
|
|
227
229
|
```python
|
@@ -275,6 +277,8 @@ class PeeredDnsDomain(pulumi.CustomResource):
|
|
275
277
|
|
276
278
|
When using Google Cloud DNS to manage internal DNS, create peered DNS domains to make your DNS available to services like Google Cloud Build.
|
277
279
|
|
280
|
+
For more information see [the API](https://cloud.google.com/service-infrastructure/docs/service-networking/reference/rest/v1/services.projects.global.networks.peeredDnsDomains)
|
281
|
+
|
278
282
|
## Example Usage
|
279
283
|
|
280
284
|
```python
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -3283,8 +3283,8 @@ class GetDatabaseInstanceSettingInsightsConfigResult(dict):
|
|
3283
3283
|
record_client_address: bool):
|
3284
3284
|
"""
|
3285
3285
|
:param bool query_insights_enabled: True if Query Insights feature is enabled.
|
3286
|
-
:param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
|
3287
|
-
:param int query_string_length: Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
|
3286
|
+
:param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. For Enterprise Plus instances, from 0 to 200.
|
3287
|
+
:param int query_string_length: Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. For Enterprise Plus instances, from 1 to 1048576.
|
3288
3288
|
:param bool record_application_tags: True if Query Insights will record application tags from query when enabled.
|
3289
3289
|
:param bool record_client_address: True if Query Insights will record client address when enabled.
|
3290
3290
|
"""
|
@@ -3306,7 +3306,7 @@ class GetDatabaseInstanceSettingInsightsConfigResult(dict):
|
|
3306
3306
|
@pulumi.getter(name="queryPlansPerMinute")
|
3307
3307
|
def query_plans_per_minute(self) -> int:
|
3308
3308
|
"""
|
3309
|
-
Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
|
3309
|
+
Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. For Enterprise Plus instances, from 0 to 200.
|
3310
3310
|
"""
|
3311
3311
|
return pulumi.get(self, "query_plans_per_minute")
|
3312
3312
|
|
@@ -3314,7 +3314,7 @@ class GetDatabaseInstanceSettingInsightsConfigResult(dict):
|
|
3314
3314
|
@pulumi.getter(name="queryStringLength")
|
3315
3315
|
def query_string_length(self) -> int:
|
3316
3316
|
"""
|
3317
|
-
Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
|
3317
|
+
Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. For Enterprise Plus instances, from 1 to 1048576.
|
3318
3318
|
"""
|
3319
3319
|
return pulumi.get(self, "query_string_length")
|
3320
3320
|
|
@@ -4899,8 +4899,8 @@ class GetDatabaseInstancesInstanceSettingInsightsConfigResult(dict):
|
|
4899
4899
|
record_client_address: bool):
|
4900
4900
|
"""
|
4901
4901
|
:param bool query_insights_enabled: True if Query Insights feature is enabled.
|
4902
|
-
:param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
|
4903
|
-
:param int query_string_length: Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
|
4902
|
+
:param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. For Enterprise Plus instances, from 0 to 200.
|
4903
|
+
:param int query_string_length: Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. For Enterprise Plus instances, from 1 to 1048576.
|
4904
4904
|
:param bool record_application_tags: True if Query Insights will record application tags from query when enabled.
|
4905
4905
|
:param bool record_client_address: True if Query Insights will record client address when enabled.
|
4906
4906
|
"""
|
@@ -4922,7 +4922,7 @@ class GetDatabaseInstancesInstanceSettingInsightsConfigResult(dict):
|
|
4922
4922
|
@pulumi.getter(name="queryPlansPerMinute")
|
4923
4923
|
def query_plans_per_minute(self) -> int:
|
4924
4924
|
"""
|
4925
|
-
Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
|
4925
|
+
Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5. For Enterprise Plus instances, from 0 to 200.
|
4926
4926
|
"""
|
4927
4927
|
return pulumi.get(self, "query_plans_per_minute")
|
4928
4928
|
|
@@ -4930,7 +4930,7 @@ class GetDatabaseInstancesInstanceSettingInsightsConfigResult(dict):
|
|
4930
4930
|
@pulumi.getter(name="queryStringLength")
|
4931
4931
|
def query_string_length(self) -> int:
|
4932
4932
|
"""
|
4933
|
-
Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
|
4933
|
+
Maximum query length stored in bytes. Between 256 and 4500. Default to 1024. For Enterprise Plus instances, from 1 to 1048576.
|
4934
4934
|
"""
|
4935
4935
|
return pulumi.get(self, "query_string_length")
|
4936
4936
|
|