Skip to content

Commit

Permalink
Made cloud identity groups updatable and updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NA2047 committed Oct 12, 2022
1 parent b38ecf2 commit fc94324
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions mmv1/products/cloudidentity/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,16 @@ objects:
- !ruby/object:Api::Type::KeyValuePairs
name: 'labels'
required: true
input: true
description: |
The labels that apply to the Group.
One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value.
Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value.
Must not contain more than one entry. Must contain the entry
'cloudidentity.googleapis.com/groups.discussion_forum': '' if the Group is a Google Group or
'system/groups/external': '' if the Group is an external-identity-mapped group.
Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added.
Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic.
Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.
- !ruby/object:Api::Resource
name: 'GroupMembership'
base_url: '{{group}}/memberships'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ resource "google_cloud_identity_group" "cloud_identity_group_basic" {
labels = {
"cloudidentity.googleapis.com/groups.discussion_forum" = ""
"cloudidentity.googleapis.com/groups.security" = ""
}
}
`, context)
Expand Down

0 comments on commit fc94324

Please sign in to comment.