GetGroupMemberships

Use this data source to get list of the Cloud Identity Group Memberships within a given Group.

https://cloud.google.com/identity/docs/concepts/overview#memberships

Using GetGroupMemberships

function getGroupMemberships(args: GetGroupMembershipsArgs, opts?: InvokeOptions): Promise<GetGroupMembershipsResult>
function  get_group_memberships(group=None, opts=None)
func GetGroupMemberships(ctx *Context, args *GetGroupMembershipsArgs, opts ...InvokeOption) (*GetGroupMembershipsResult, error)
public static class GetGroupMemberships {
    public static Task<GetGroupMembershipsResult> InvokeAsync(GetGroupMembershipsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Group string

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

Group string

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

group string

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

group str

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

GetGroupMemberships Result

The following output properties are available:

Group string
Id string

The provider-assigned unique ID for this managed resource.

Memberships List<GetGroupMembershipsMembership>

The list of memberships under the given group. Structure is documented below.

Group string
Id string

The provider-assigned unique ID for this managed resource.

Memberships []GetGroupMembershipsMembership

The list of memberships under the given group. Structure is documented below.

group string
id string

The provider-assigned unique ID for this managed resource.

memberships GetGroupMembershipsMembership[]

The list of memberships under the given group. Structure is documented below.

group str
id str

The provider-assigned unique ID for this managed resource.

memberships List[GetGroupMembershipsMembership]

The list of memberships under the given group. Structure is documented below.

Supporting Types

GetGroupMembershipsMembership

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

CreateTime string
Group string

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

MemberKeys List<GetGroupMembershipsMembershipMemberKeyArgs>
Name string

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

PreferredMemberKeys List<GetGroupMembershipsMembershipPreferredMemberKeyArgs>
Roles List<GetGroupMembershipsMembershipRoleArgs>

The MembershipRoles that apply to the Membership. Structure is documented below.

Type string
UpdateTime string
CreateTime string
Group string

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

MemberKeys []GetGroupMembershipsMembershipMemberKey
Name string

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

PreferredMemberKeys []GetGroupMembershipsMembershipPreferredMemberKey
Roles []GetGroupMembershipsMembershipRole

The MembershipRoles that apply to the Membership. Structure is documented below.

Type string
UpdateTime string
createTime string
group string

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

memberKeys GetGroupMembershipsMembershipMemberKey[]
name string

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

preferredMemberKeys GetGroupMembershipsMembershipPreferredMemberKey[]
roles GetGroupMembershipsMembershipRole[]

The MembershipRoles that apply to the Membership. Structure is documented below.

type string
updateTime string
create_time str
group str

The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.

memberKeys List[GetGroupMembershipsMembershipMemberKey]
name str

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

preferredMemberKeys List[GetGroupMembershipsMembershipPreferredMemberKey]
roles List[GetGroupMembershipsMembershipRole]

The MembershipRoles that apply to the Membership. Structure is documented below.

type str
update_time str

GetGroupMembershipsMembershipMemberKey

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Id string

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

Namespace string

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

Id string

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

Namespace string

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

id string

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

namespace string

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

id str

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

namespace str

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

GetGroupMembershipsMembershipPreferredMemberKey

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Id string

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

Namespace string

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

Id string

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

Namespace string

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

id string

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

namespace string

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

id str

The ID of the entity. For Google-managed entities, the id is the email address of an existing group or user. For external-identity-mapped entities, the id is a string conforming to the Identity Source’s requirements.

namespace str

The namespace in which the entity exists. If not populated, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If populated, the EntityKey represents an external-identity-mapped group.

GetGroupMembershipsMembershipRole

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Name string

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

Name string

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

name string

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

name str

The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.