Skip to content

Commit 0c687a8

Browse files
Update resource_iam.html.markdown.erb (#5287) (#3712)
Add projectOwner, projectEditor and projectViewer as possible values for members field Signed-off-by: Modular Magician <[email protected]>
1 parent c0ce85e commit 0c687a8

File tree

41 files changed

+121
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+121
-1
lines changed

.changelog/5287.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
iam: Add projectOwner, projectEditor and projectViewer as possible values for members field in documentation.
3+
```

google-beta/resource_gke_hub_feature_membership_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"testing"
77

8-
dcl "github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
8+
"github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
99
gkehub "github.com/GoogleCloudPlatform/declarative-resource-client-library/services/google/gkehub/beta"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
1111
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"

website/docs/r/api_gateway_api_config_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ The following arguments are supported:
9797
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
9898
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
9999
* **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.
100+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
101+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
102+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
100103

101104
* `role` - (Required) The role that should be applied. Only one
102105
`google_api_gateway_api_config_iam_binding` can be used per role. Note that custom roles must be of the format

website/docs/r/api_gateway_api_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ The following arguments are supported:
9595
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
9696
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
9797
* **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.
98+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
99+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
100+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
98101

99102
* `role` - (Required) The role that should be applied. Only one
100103
`google_api_gateway_api_iam_binding` can be used per role. Note that custom roles must be of the format

website/docs/r/api_gateway_gateway_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ The following arguments are supported:
102102
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
103103
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
104104
* **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.
105+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
106+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
107+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
105108

106109
* `role` - (Required) The role that should be applied. Only one
107110
`google_api_gateway_gateway_iam_binding` can be used per role. Note that custom roles must be of the format

website/docs/r/artifact_registry_repository_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ The following arguments are supported:
101101
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
102102
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
103103
* **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.
104+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
105+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
106+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
104107

105108
* `role` - (Required) The role that should be applied. Only one
106109
`google_artifact_registry_repository_iam_binding` can be used per role. Note that custom roles must be of the format

website/docs/r/bigquery_table_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ The following arguments are supported:
158158
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
159159
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
160160
* **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.
161+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
162+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
163+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
161164

162165
* `role` - (Required) The role that should be applied. Only one
163166
`google_bigquery_table_iam_binding` can be used per role. Note that custom roles must be of the format

website/docs/r/binary_authorization_attestor_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ The following arguments are supported:
9494
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
9595
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
9696
* **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.
97+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
98+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
99+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
97100

98101
* `role` - (Required) The role that should be applied. Only one
99102
`google_binary_authorization_attestor_iam_binding` can be used per role. Note that custom roles must be of the format

website/docs/r/cloud_run_service_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ The following arguments are supported:
9898
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
9999
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
100100
* **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.
101+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
102+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
103+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
101104

102105
* `role` - (Required) The role that should be applied. Only one
103106
`google_cloud_run_service_iam_binding` can be used per role. Note that custom roles must be of the format

website/docs/r/cloudfunctions_function_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ The following arguments are supported:
100100
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
101101
* **group:{emailid}**: An email address that represents a Google group. For example, [email protected].
102102
* **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.
103+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
104+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
105+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
103106

104107
* `role` - (Required) The role that should be applied. Only one
105108
`google_cloudfunctions_function_iam_binding` can be used per role. Note that custom roles must be of the format

0 commit comments

Comments
 (0)