Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional_group_keys attribute to google_cloud_identity_group resource #9217

Merged
merged 4 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions mmv1/products/cloudidentity/Group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,37 @@ properties:
description: |
An extended description to help users determine the purpose of a Group.
Must not be longer than 4,096 characters.
- !ruby/object:Api::Type::Array
name: 'additionalGroupKeys'
output: true
description: 'Additional group keys associated with the Group'
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::String
name: 'id'
SarahFrench marked this conversation as resolved.
Show resolved Hide resolved
output: true
description: |
The ID of the entity.

For Google-managed entities, the id must be the email address of an existing
group or user.

For external-identity-mapped entities, the id must be a string conforming
to the Identity Source's requirements.

Must be unique within a namespace.
- !ruby/object:Api::Type::String
name: 'namespace'
output: true
description: |
The namespace in which the entity exists.

If not specified, the EntityKey represents a Google-managed entity
such as a Google user or a Google Group.

If specified, the EntityKey represents an external-identity-mapped group.
The namespace must correspond to an identity source created in Admin Console
and must be in the form of `identitysources/{identity_source_id}`.
- !ruby/object:Api::Type::String
name: 'createTime'
output: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ func testAccCloudIdentityGroup_cloudIdentityGroupsBasicExampleTest(t *testing.T)
Steps: []resource.TestStep{
{
Config: testAccCloudIdentityGroup_cloudIdentityGroupsBasicExample(context),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttrSet("google_cloud_identity_group.cloud_identity_group_basic",
roaks3 marked this conversation as resolved.
Show resolved Hide resolved
"additional_group_keys.#"),
),
},
{
ResourceName: "google_cloud_identity_group.cloud_identity_group_basic",
Expand Down