pulumi-gcp 7.26.0a1717654409__py3-none-any.whl → 7.26.0a1717725112__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 +56 -0
- pulumi_gcp/alloydb/_inputs.py +92 -0
- pulumi_gcp/alloydb/backup.py +12 -4
- pulumi_gcp/alloydb/cluster.py +72 -6
- pulumi_gcp/alloydb/instance.py +60 -2
- pulumi_gcp/alloydb/outputs.py +114 -0
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +6 -2
- pulumi_gcp/artifactregistry/repository_iam_binding.py +21 -7
- pulumi_gcp/artifactregistry/repository_iam_member.py +21 -7
- pulumi_gcp/artifactregistry/repository_iam_policy.py +21 -7
- pulumi_gcp/bigquery/connection_iam_binding.py +21 -7
- pulumi_gcp/bigquery/connection_iam_member.py +21 -7
- pulumi_gcp/bigquery/connection_iam_policy.py +21 -7
- pulumi_gcp/bigquery/data_transfer_config.py +14 -7
- pulumi_gcp/bigquery/get_connection_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +21 -7
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +6 -2
- pulumi_gcp/certificateauthority/_inputs.py +20 -4
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +21 -7
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +21 -7
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +21 -7
- pulumi_gcp/certificateauthority/certificate_template.py +157 -173
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +27 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +27 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +27 -0
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +6 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +6 -0
- pulumi_gcp/certificateauthority/outputs.py +20 -4
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +21 -7
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +21 -7
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +21 -7
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +6 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +6 -2
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +21 -7
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +21 -7
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +21 -7
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +6 -2
- pulumi_gcp/cloudrun/get_service_iam_policy.py +6 -2
- pulumi_gcp/cloudrun/iam_binding.py +21 -7
- pulumi_gcp/cloudrun/iam_member.py +21 -7
- pulumi_gcp/cloudrun/iam_policy.py +21 -7
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +6 -2
- pulumi_gcp/cloudrunv2/get_service.py +11 -1
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +6 -2
- pulumi_gcp/cloudrunv2/job_iam_binding.py +21 -7
- pulumi_gcp/cloudrunv2/job_iam_member.py +21 -7
- pulumi_gcp/cloudrunv2/job_iam_policy.py +21 -7
- pulumi_gcp/cloudrunv2/service.py +47 -0
- pulumi_gcp/cloudrunv2/service_iam_binding.py +21 -7
- pulumi_gcp/cloudrunv2/service_iam_member.py +21 -7
- pulumi_gcp/cloudrunv2/service_iam_policy.py +21 -7
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +6 -2
- pulumi_gcp/cloudtasks/queue_iam_binding.py +21 -7
- pulumi_gcp/cloudtasks/queue_iam_member.py +21 -7
- pulumi_gcp/cloudtasks/queue_iam_policy.py +21 -7
- pulumi_gcp/compute/_inputs.py +18 -18
- pulumi_gcp/compute/outputs.py +20 -20
- pulumi_gcp/dataplex/__init__.py +5 -0
- pulumi_gcp/dataplex/_inputs.py +104 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +21 -7
- pulumi_gcp/dataplex/aspect_type_iam_member.py +21 -7
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_binding.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_member.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_policy.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_binding.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_member.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_policy.py +21 -7
- pulumi_gcp/dataplex/entry_type.py +963 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +779 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +779 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +618 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +168 -0
- pulumi_gcp/dataplex/get_task_iam_policy.py +6 -2
- pulumi_gcp/dataplex/outputs.py +76 -0
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataplex/task_iam_binding.py +21 -7
- pulumi_gcp/dataplex/task_iam_member.py +21 -7
- pulumi_gcp/dataplex/task_iam_policy.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +21 -7
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +6 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +6 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +6 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +21 -7
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +21 -7
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_member.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +21 -7
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +21 -7
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +21 -7
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +21 -7
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +6 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +6 -2
- pulumi_gcp/gkehub/feature_iam_binding.py +21 -7
- pulumi_gcp/gkehub/feature_iam_member.py +21 -7
- pulumi_gcp/gkehub/feature_iam_policy.py +21 -7
- pulumi_gcp/gkehub/get_feature_iam_policy.py +6 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +6 -2
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_iam_binding.py +21 -7
- pulumi_gcp/gkehub/membership_iam_member.py +21 -7
- pulumi_gcp/gkehub/membership_iam_policy.py +21 -7
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/logging/__init__.py +4 -0
- pulumi_gcp/logging/_inputs.py +100 -0
- pulumi_gcp/logging/get_log_view_iam_policy.py +157 -0
- pulumi_gcp/logging/log_view_iam_binding.py +630 -0
- pulumi_gcp/logging/log_view_iam_member.py +630 -0
- pulumi_gcp/logging/log_view_iam_policy.py +449 -0
- pulumi_gcp/logging/outputs.py +76 -0
- pulumi_gcp/netapp/storage_pool.py +9 -9
- pulumi_gcp/networksecurity/address_group_iam_policy.py +21 -7
- pulumi_gcp/networksecurity/get_address_group_iam_policy.py +6 -2
- pulumi_gcp/notebooks/get_instance_iam_policy.py +6 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +6 -2
- pulumi_gcp/notebooks/instance_iam_binding.py +21 -7
- pulumi_gcp/notebooks/instance_iam_member.py +21 -7
- pulumi_gcp/notebooks/instance_iam_policy.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_binding.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_member.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_policy.py +21 -7
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/entitlement.py +7 -7
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +6 -2
- pulumi_gcp/sql/_inputs.py +2 -4
- pulumi_gcp/sql/outputs.py +6 -8
- pulumi_gcp/storage/_inputs.py +48 -0
- pulumi_gcp/storage/outputs.py +75 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +6 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +6 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +6 -2
- pulumi_gcp/workstations/workstation_config_iam_binding.py +21 -7
- pulumi_gcp/workstations/workstation_config_iam_member.py +21 -7
- pulumi_gcp/workstations/workstation_config_iam_policy.py +21 -7
- pulumi_gcp/workstations/workstation_iam_binding.py +21 -7
- pulumi_gcp/workstations/workstation_iam_member.py +21 -7
- pulumi_gcp/workstations/workstation_iam_policy.py +21 -7
- {pulumi_gcp-7.26.0a1717654409.dist-info → pulumi_gcp-7.26.0a1717725112.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.26.0a1717654409.dist-info → pulumi_gcp-7.26.0a1717725112.dist-info}/RECORD +165 -156
- {pulumi_gcp-7.26.0a1717654409.dist-info → pulumi_gcp-7.26.0a1717725112.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.26.0a1717654409.dist-info → pulumi_gcp-7.26.0a1717725112.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,630 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['LogViewIamBindingArgs', 'LogViewIamBinding']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class LogViewIamBindingArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
bucket: pulumi.Input[str],
|
20
|
+
members: pulumi.Input[Sequence[pulumi.Input[str]]],
|
21
|
+
parent: pulumi.Input[str],
|
22
|
+
role: pulumi.Input[str],
|
23
|
+
condition: Optional[pulumi.Input['LogViewIamBindingConditionArgs']] = None,
|
24
|
+
location: Optional[pulumi.Input[str]] = None,
|
25
|
+
name: Optional[pulumi.Input[str]] = None):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a LogViewIamBinding resource.
|
28
|
+
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
29
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
30
|
+
Each entry can have one of the following values:
|
31
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
32
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
33
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
34
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
35
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
36
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
37
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
38
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
39
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
40
|
+
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
41
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
42
|
+
`logging.LogViewIamBinding` can be used per role. Note that custom roles must be of the format
|
43
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
44
|
+
:param pulumi.Input['LogViewIamBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
45
|
+
Structure is documented below.
|
46
|
+
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
47
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
48
|
+
location is specified, it is taken from the provider configuration.
|
49
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
50
|
+
"""
|
51
|
+
pulumi.set(__self__, "bucket", bucket)
|
52
|
+
pulumi.set(__self__, "members", members)
|
53
|
+
pulumi.set(__self__, "parent", parent)
|
54
|
+
pulumi.set(__self__, "role", role)
|
55
|
+
if condition is not None:
|
56
|
+
pulumi.set(__self__, "condition", condition)
|
57
|
+
if location is not None:
|
58
|
+
pulumi.set(__self__, "location", location)
|
59
|
+
if name is not None:
|
60
|
+
pulumi.set(__self__, "name", name)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def bucket(self) -> pulumi.Input[str]:
|
65
|
+
"""
|
66
|
+
The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "bucket")
|
69
|
+
|
70
|
+
@bucket.setter
|
71
|
+
def bucket(self, value: pulumi.Input[str]):
|
72
|
+
pulumi.set(self, "bucket", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def members(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
77
|
+
"""
|
78
|
+
Identities that will be granted the privilege in `role`.
|
79
|
+
Each entry can have one of the following values:
|
80
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
81
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
82
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
83
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
84
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
85
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
86
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
87
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
88
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "members")
|
91
|
+
|
92
|
+
@members.setter
|
93
|
+
def members(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
94
|
+
pulumi.set(self, "members", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def parent(self) -> pulumi.Input[str]:
|
99
|
+
"""
|
100
|
+
The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "parent")
|
103
|
+
|
104
|
+
@parent.setter
|
105
|
+
def parent(self, value: pulumi.Input[str]):
|
106
|
+
pulumi.set(self, "parent", value)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def role(self) -> pulumi.Input[str]:
|
111
|
+
"""
|
112
|
+
The role that should be applied. Only one
|
113
|
+
`logging.LogViewIamBinding` can be used per role. Note that custom roles must be of the format
|
114
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "role")
|
117
|
+
|
118
|
+
@role.setter
|
119
|
+
def role(self, value: pulumi.Input[str]):
|
120
|
+
pulumi.set(self, "role", value)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def condition(self) -> Optional[pulumi.Input['LogViewIamBindingConditionArgs']]:
|
125
|
+
"""
|
126
|
+
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
127
|
+
Structure is documented below.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "condition")
|
130
|
+
|
131
|
+
@condition.setter
|
132
|
+
def condition(self, value: Optional[pulumi.Input['LogViewIamBindingConditionArgs']]):
|
133
|
+
pulumi.set(self, "condition", value)
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
138
|
+
"""
|
139
|
+
The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
140
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
141
|
+
location is specified, it is taken from the provider configuration.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "location")
|
144
|
+
|
145
|
+
@location.setter
|
146
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
147
|
+
pulumi.set(self, "location", value)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
"""
|
153
|
+
Used to find the parent resource to bind the IAM policy to
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "name")
|
156
|
+
|
157
|
+
@name.setter
|
158
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
159
|
+
pulumi.set(self, "name", value)
|
160
|
+
|
161
|
+
|
162
|
+
@pulumi.input_type
|
163
|
+
class _LogViewIamBindingState:
|
164
|
+
def __init__(__self__, *,
|
165
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
166
|
+
condition: Optional[pulumi.Input['LogViewIamBindingConditionArgs']] = None,
|
167
|
+
etag: Optional[pulumi.Input[str]] = None,
|
168
|
+
location: Optional[pulumi.Input[str]] = None,
|
169
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
170
|
+
name: Optional[pulumi.Input[str]] = None,
|
171
|
+
parent: Optional[pulumi.Input[str]] = None,
|
172
|
+
role: Optional[pulumi.Input[str]] = None):
|
173
|
+
"""
|
174
|
+
Input properties used for looking up and filtering LogViewIamBinding resources.
|
175
|
+
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
176
|
+
:param pulumi.Input['LogViewIamBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
177
|
+
Structure is documented below.
|
178
|
+
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
179
|
+
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
180
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
181
|
+
location is specified, it is taken from the provider configuration.
|
182
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
183
|
+
Each entry can have one of the following values:
|
184
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
185
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
186
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
187
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
188
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
189
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
190
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
191
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
192
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
193
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
194
|
+
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
195
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
196
|
+
`logging.LogViewIamBinding` can be used per role. Note that custom roles must be of the format
|
197
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
198
|
+
"""
|
199
|
+
if bucket is not None:
|
200
|
+
pulumi.set(__self__, "bucket", bucket)
|
201
|
+
if condition is not None:
|
202
|
+
pulumi.set(__self__, "condition", condition)
|
203
|
+
if etag is not None:
|
204
|
+
pulumi.set(__self__, "etag", etag)
|
205
|
+
if location is not None:
|
206
|
+
pulumi.set(__self__, "location", location)
|
207
|
+
if members is not None:
|
208
|
+
pulumi.set(__self__, "members", members)
|
209
|
+
if name is not None:
|
210
|
+
pulumi.set(__self__, "name", name)
|
211
|
+
if parent is not None:
|
212
|
+
pulumi.set(__self__, "parent", parent)
|
213
|
+
if role is not None:
|
214
|
+
pulumi.set(__self__, "role", role)
|
215
|
+
|
216
|
+
@property
|
217
|
+
@pulumi.getter
|
218
|
+
def bucket(self) -> Optional[pulumi.Input[str]]:
|
219
|
+
"""
|
220
|
+
The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
221
|
+
"""
|
222
|
+
return pulumi.get(self, "bucket")
|
223
|
+
|
224
|
+
@bucket.setter
|
225
|
+
def bucket(self, value: Optional[pulumi.Input[str]]):
|
226
|
+
pulumi.set(self, "bucket", value)
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter
|
230
|
+
def condition(self) -> Optional[pulumi.Input['LogViewIamBindingConditionArgs']]:
|
231
|
+
"""
|
232
|
+
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
233
|
+
Structure is documented below.
|
234
|
+
"""
|
235
|
+
return pulumi.get(self, "condition")
|
236
|
+
|
237
|
+
@condition.setter
|
238
|
+
def condition(self, value: Optional[pulumi.Input['LogViewIamBindingConditionArgs']]):
|
239
|
+
pulumi.set(self, "condition", value)
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter
|
243
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
244
|
+
"""
|
245
|
+
(Computed) The etag of the IAM policy.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "etag")
|
248
|
+
|
249
|
+
@etag.setter
|
250
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
251
|
+
pulumi.set(self, "etag", value)
|
252
|
+
|
253
|
+
@property
|
254
|
+
@pulumi.getter
|
255
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
256
|
+
"""
|
257
|
+
The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
258
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
259
|
+
location is specified, it is taken from the provider configuration.
|
260
|
+
"""
|
261
|
+
return pulumi.get(self, "location")
|
262
|
+
|
263
|
+
@location.setter
|
264
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
265
|
+
pulumi.set(self, "location", value)
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter
|
269
|
+
def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
270
|
+
"""
|
271
|
+
Identities that will be granted the privilege in `role`.
|
272
|
+
Each entry can have one of the following values:
|
273
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
274
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
275
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
276
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
277
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
278
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
279
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
280
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
281
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
282
|
+
"""
|
283
|
+
return pulumi.get(self, "members")
|
284
|
+
|
285
|
+
@members.setter
|
286
|
+
def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
287
|
+
pulumi.set(self, "members", value)
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter
|
291
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
292
|
+
"""
|
293
|
+
Used to find the parent resource to bind the IAM policy to
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "name")
|
296
|
+
|
297
|
+
@name.setter
|
298
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
299
|
+
pulumi.set(self, "name", value)
|
300
|
+
|
301
|
+
@property
|
302
|
+
@pulumi.getter
|
303
|
+
def parent(self) -> Optional[pulumi.Input[str]]:
|
304
|
+
"""
|
305
|
+
The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "parent")
|
308
|
+
|
309
|
+
@parent.setter
|
310
|
+
def parent(self, value: Optional[pulumi.Input[str]]):
|
311
|
+
pulumi.set(self, "parent", value)
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter
|
315
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
316
|
+
"""
|
317
|
+
The role that should be applied. Only one
|
318
|
+
`logging.LogViewIamBinding` can be used per role. Note that custom roles must be of the format
|
319
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
320
|
+
"""
|
321
|
+
return pulumi.get(self, "role")
|
322
|
+
|
323
|
+
@role.setter
|
324
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
325
|
+
pulumi.set(self, "role", value)
|
326
|
+
|
327
|
+
|
328
|
+
class LogViewIamBinding(pulumi.CustomResource):
|
329
|
+
@overload
|
330
|
+
def __init__(__self__,
|
331
|
+
resource_name: str,
|
332
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
333
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
334
|
+
condition: Optional[pulumi.Input[pulumi.InputType['LogViewIamBindingConditionArgs']]] = None,
|
335
|
+
location: Optional[pulumi.Input[str]] = None,
|
336
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
337
|
+
name: Optional[pulumi.Input[str]] = None,
|
338
|
+
parent: Optional[pulumi.Input[str]] = None,
|
339
|
+
role: Optional[pulumi.Input[str]] = None,
|
340
|
+
__props__=None):
|
341
|
+
"""
|
342
|
+
## Import
|
343
|
+
|
344
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
345
|
+
|
346
|
+
* {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}
|
347
|
+
|
348
|
+
* {{name}}
|
349
|
+
|
350
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
351
|
+
|
352
|
+
Cloud (Stackdriver) Logging logview IAM resources can be imported using the resource identifiers, role, and member.
|
353
|
+
|
354
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
355
|
+
|
356
|
+
```sh
|
357
|
+
$ pulumi import gcp:logging/logViewIamBinding:LogViewIamBinding editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin user:jane@example.com"
|
358
|
+
```
|
359
|
+
|
360
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
361
|
+
|
362
|
+
```sh
|
363
|
+
$ pulumi import gcp:logging/logViewIamBinding:LogViewIamBinding editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin"
|
364
|
+
```
|
365
|
+
|
366
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
367
|
+
|
368
|
+
```sh
|
369
|
+
$ pulumi import gcp:logging/logViewIamBinding:LogViewIamBinding editor {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}}
|
370
|
+
```
|
371
|
+
|
372
|
+
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
373
|
+
|
374
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
375
|
+
|
376
|
+
:param str resource_name: The name of the resource.
|
377
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
378
|
+
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
379
|
+
:param pulumi.Input[pulumi.InputType['LogViewIamBindingConditionArgs']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
380
|
+
Structure is documented below.
|
381
|
+
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
382
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
383
|
+
location is specified, it is taken from the provider configuration.
|
384
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
385
|
+
Each entry can have one of the following values:
|
386
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
387
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
388
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
389
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
390
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
391
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
392
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
393
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
394
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
395
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
396
|
+
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
397
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
398
|
+
`logging.LogViewIamBinding` can be used per role. Note that custom roles must be of the format
|
399
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
400
|
+
"""
|
401
|
+
...
|
402
|
+
@overload
|
403
|
+
def __init__(__self__,
|
404
|
+
resource_name: str,
|
405
|
+
args: LogViewIamBindingArgs,
|
406
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
407
|
+
"""
|
408
|
+
## Import
|
409
|
+
|
410
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
411
|
+
|
412
|
+
* {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{name}}
|
413
|
+
|
414
|
+
* {{name}}
|
415
|
+
|
416
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
417
|
+
|
418
|
+
Cloud (Stackdriver) Logging logview IAM resources can be imported using the resource identifiers, role, and member.
|
419
|
+
|
420
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
421
|
+
|
422
|
+
```sh
|
423
|
+
$ pulumi import gcp:logging/logViewIamBinding:LogViewIamBinding editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin user:jane@example.com"
|
424
|
+
```
|
425
|
+
|
426
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
427
|
+
|
428
|
+
```sh
|
429
|
+
$ pulumi import gcp:logging/logViewIamBinding:LogViewIamBinding editor "{{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}} roles/logging.admin"
|
430
|
+
```
|
431
|
+
|
432
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
433
|
+
|
434
|
+
```sh
|
435
|
+
$ pulumi import gcp:logging/logViewIamBinding:LogViewIamBinding editor {{parent}}/locations/{{location}}/buckets/{{bucket}}/views/{{log_view}}
|
436
|
+
```
|
437
|
+
|
438
|
+
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
|
439
|
+
|
440
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
441
|
+
|
442
|
+
:param str resource_name: The name of the resource.
|
443
|
+
:param LogViewIamBindingArgs args: The arguments to use to populate this resource's properties.
|
444
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
445
|
+
"""
|
446
|
+
...
|
447
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
448
|
+
resource_args, opts = _utilities.get_resource_args_opts(LogViewIamBindingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
449
|
+
if resource_args is not None:
|
450
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
451
|
+
else:
|
452
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
453
|
+
|
454
|
+
def _internal_init(__self__,
|
455
|
+
resource_name: str,
|
456
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
457
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
458
|
+
condition: Optional[pulumi.Input[pulumi.InputType['LogViewIamBindingConditionArgs']]] = None,
|
459
|
+
location: Optional[pulumi.Input[str]] = None,
|
460
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
461
|
+
name: Optional[pulumi.Input[str]] = None,
|
462
|
+
parent: Optional[pulumi.Input[str]] = None,
|
463
|
+
role: Optional[pulumi.Input[str]] = None,
|
464
|
+
__props__=None):
|
465
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
466
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
467
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
468
|
+
if opts.id is None:
|
469
|
+
if __props__ is not None:
|
470
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
471
|
+
__props__ = LogViewIamBindingArgs.__new__(LogViewIamBindingArgs)
|
472
|
+
|
473
|
+
if bucket is None and not opts.urn:
|
474
|
+
raise TypeError("Missing required property 'bucket'")
|
475
|
+
__props__.__dict__["bucket"] = bucket
|
476
|
+
__props__.__dict__["condition"] = condition
|
477
|
+
__props__.__dict__["location"] = location
|
478
|
+
if members is None and not opts.urn:
|
479
|
+
raise TypeError("Missing required property 'members'")
|
480
|
+
__props__.__dict__["members"] = members
|
481
|
+
__props__.__dict__["name"] = name
|
482
|
+
if parent is None and not opts.urn:
|
483
|
+
raise TypeError("Missing required property 'parent'")
|
484
|
+
__props__.__dict__["parent"] = parent
|
485
|
+
if role is None and not opts.urn:
|
486
|
+
raise TypeError("Missing required property 'role'")
|
487
|
+
__props__.__dict__["role"] = role
|
488
|
+
__props__.__dict__["etag"] = None
|
489
|
+
super(LogViewIamBinding, __self__).__init__(
|
490
|
+
'gcp:logging/logViewIamBinding:LogViewIamBinding',
|
491
|
+
resource_name,
|
492
|
+
__props__,
|
493
|
+
opts)
|
494
|
+
|
495
|
+
@staticmethod
|
496
|
+
def get(resource_name: str,
|
497
|
+
id: pulumi.Input[str],
|
498
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
499
|
+
bucket: Optional[pulumi.Input[str]] = None,
|
500
|
+
condition: Optional[pulumi.Input[pulumi.InputType['LogViewIamBindingConditionArgs']]] = None,
|
501
|
+
etag: Optional[pulumi.Input[str]] = None,
|
502
|
+
location: Optional[pulumi.Input[str]] = None,
|
503
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
504
|
+
name: Optional[pulumi.Input[str]] = None,
|
505
|
+
parent: Optional[pulumi.Input[str]] = None,
|
506
|
+
role: Optional[pulumi.Input[str]] = None) -> 'LogViewIamBinding':
|
507
|
+
"""
|
508
|
+
Get an existing LogViewIamBinding resource's state with the given name, id, and optional extra
|
509
|
+
properties used to qualify the lookup.
|
510
|
+
|
511
|
+
:param str resource_name: The unique name of the resulting resource.
|
512
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
513
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
514
|
+
:param pulumi.Input[str] bucket: The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
515
|
+
:param pulumi.Input[pulumi.InputType['LogViewIamBindingConditionArgs']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
516
|
+
Structure is documented below.
|
517
|
+
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
518
|
+
:param pulumi.Input[str] location: The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
519
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
520
|
+
location is specified, it is taken from the provider configuration.
|
521
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
522
|
+
Each entry can have one of the following values:
|
523
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
524
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
525
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
526
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
527
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
528
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
529
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
530
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
531
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
532
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
533
|
+
:param pulumi.Input[str] parent: The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
534
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
535
|
+
`logging.LogViewIamBinding` can be used per role. Note that custom roles must be of the format
|
536
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
537
|
+
"""
|
538
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
539
|
+
|
540
|
+
__props__ = _LogViewIamBindingState.__new__(_LogViewIamBindingState)
|
541
|
+
|
542
|
+
__props__.__dict__["bucket"] = bucket
|
543
|
+
__props__.__dict__["condition"] = condition
|
544
|
+
__props__.__dict__["etag"] = etag
|
545
|
+
__props__.__dict__["location"] = location
|
546
|
+
__props__.__dict__["members"] = members
|
547
|
+
__props__.__dict__["name"] = name
|
548
|
+
__props__.__dict__["parent"] = parent
|
549
|
+
__props__.__dict__["role"] = role
|
550
|
+
return LogViewIamBinding(resource_name, opts=opts, __props__=__props__)
|
551
|
+
|
552
|
+
@property
|
553
|
+
@pulumi.getter
|
554
|
+
def bucket(self) -> pulumi.Output[str]:
|
555
|
+
"""
|
556
|
+
The bucket of the resource Used to find the parent resource to bind the IAM policy to
|
557
|
+
"""
|
558
|
+
return pulumi.get(self, "bucket")
|
559
|
+
|
560
|
+
@property
|
561
|
+
@pulumi.getter
|
562
|
+
def condition(self) -> pulumi.Output[Optional['outputs.LogViewIamBindingCondition']]:
|
563
|
+
"""
|
564
|
+
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
565
|
+
Structure is documented below.
|
566
|
+
"""
|
567
|
+
return pulumi.get(self, "condition")
|
568
|
+
|
569
|
+
@property
|
570
|
+
@pulumi.getter
|
571
|
+
def etag(self) -> pulumi.Output[str]:
|
572
|
+
"""
|
573
|
+
(Computed) The etag of the IAM policy.
|
574
|
+
"""
|
575
|
+
return pulumi.get(self, "etag")
|
576
|
+
|
577
|
+
@property
|
578
|
+
@pulumi.getter
|
579
|
+
def location(self) -> pulumi.Output[str]:
|
580
|
+
"""
|
581
|
+
The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
|
582
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
583
|
+
location is specified, it is taken from the provider configuration.
|
584
|
+
"""
|
585
|
+
return pulumi.get(self, "location")
|
586
|
+
|
587
|
+
@property
|
588
|
+
@pulumi.getter
|
589
|
+
def members(self) -> pulumi.Output[Sequence[str]]:
|
590
|
+
"""
|
591
|
+
Identities that will be granted the privilege in `role`.
|
592
|
+
Each entry can have one of the following values:
|
593
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
594
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
595
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
596
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
597
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
598
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
599
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
600
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
601
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
602
|
+
"""
|
603
|
+
return pulumi.get(self, "members")
|
604
|
+
|
605
|
+
@property
|
606
|
+
@pulumi.getter
|
607
|
+
def name(self) -> pulumi.Output[str]:
|
608
|
+
"""
|
609
|
+
Used to find the parent resource to bind the IAM policy to
|
610
|
+
"""
|
611
|
+
return pulumi.get(self, "name")
|
612
|
+
|
613
|
+
@property
|
614
|
+
@pulumi.getter
|
615
|
+
def parent(self) -> pulumi.Output[str]:
|
616
|
+
"""
|
617
|
+
The parent of the resource. Used to find the parent resource to bind the IAM policy to
|
618
|
+
"""
|
619
|
+
return pulumi.get(self, "parent")
|
620
|
+
|
621
|
+
@property
|
622
|
+
@pulumi.getter
|
623
|
+
def role(self) -> pulumi.Output[str]:
|
624
|
+
"""
|
625
|
+
The role that should be applied. Only one
|
626
|
+
`logging.LogViewIamBinding` can be used per role. Note that custom roles must be of the format
|
627
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
628
|
+
"""
|
629
|
+
return pulumi.get(self, "role")
|
630
|
+
|