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:
GetGroupMemberships Result
The following output properties are available:
- Group string
- Id string
The provider-assigned unique ID for this managed resource.
- Memberships
List<Get
Group Memberships Membership> 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
[]Get
Group Memberships Membership 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
Get
Group Memberships Membership[] 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[Get
Group Memberships Membership] 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.
- Create
Time string - Group string
The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.
- Member
Keys List<GetGroup Memberships Membership Member Key Args> - Name string
The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.
- Preferred
Member List<GetKeys Group Memberships Membership Preferred Member Key Args> - Roles
List<Get
Group Memberships Membership Role Args> The MembershipRoles that apply to the Membership. Structure is documented below.
- Type string
- Update
Time string
- Create
Time string - Group string
The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.
- Member
Keys []GetGroup Memberships Membership Member Key - Name string
The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.
- Preferred
Member []GetKeys Group Memberships Membership Preferred Member Key - Roles
[]Get
Group Memberships Membership Role The MembershipRoles that apply to the Membership. Structure is documented below.
- Type string
- Update
Time string
- create
Time string - group string
The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.
- member
Keys GetGroup Memberships Membership Member Key[] - name string
The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.
- preferred
Member GetKeys Group Memberships Membership Preferred Member Key[] - roles
Get
Group Memberships Membership Role[] The MembershipRoles that apply to the Membership. Structure is documented below.
- type string
- update
Time 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}.
- member
Keys List[GetGroup Memberships Membership Member Key] - name str
The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.
- preferred
Member List[GetKeys Group Memberships Membership Preferred Member Key] - roles
List[Get
Group Memberships Membership Role] 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.