Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudidentity/v1.getMembership
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves a Membership.
Using getMembership
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMembership(args: GetMembershipArgs, opts?: InvokeOptions): Promise<GetMembershipResult>
function getMembershipOutput(args: GetMembershipOutputArgs, opts?: InvokeOptions): Output<GetMembershipResult>def get_membership(group_id: Optional[str] = None,
                   membership_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetMembershipResult
def get_membership_output(group_id: Optional[pulumi.Input[str]] = None,
                   membership_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetMembershipResult]func LookupMembership(ctx *Context, args *LookupMembershipArgs, opts ...InvokeOption) (*LookupMembershipResult, error)
func LookupMembershipOutput(ctx *Context, args *LookupMembershipOutputArgs, opts ...InvokeOption) LookupMembershipResultOutput> Note: This function is named LookupMembership in the Go SDK.
public static class GetMembership 
{
    public static Task<GetMembershipResult> InvokeAsync(GetMembershipArgs args, InvokeOptions? opts = null)
    public static Output<GetMembershipResult> Invoke(GetMembershipInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMembershipResult> getMembership(GetMembershipArgs args, InvokeOptions options)
public static Output<GetMembershipResult> getMembership(GetMembershipArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:cloudidentity/v1:getMembership
  arguments:
    # arguments dictionaryThe following arguments are supported:
- GroupId string
- MembershipId string
- GroupId string
- MembershipId string
- groupId String
- membershipId String
- groupId string
- membershipId string
- group_id str
- membership_id str
- groupId String
- membershipId String
getMembership Result
The following output properties are available:
- CreateTime string
- The time when the Membershipwas created.
- DeliverySetting string
- Delivery setting associated with the membership.
- Name string
- The resource name of the Membership. Shall be of the formgroups/{group}/memberships/{membership}.
- PreferredMember Pulumi.Key Google Native. Cloud Identity. V1. Outputs. Entity Key Response 
- Immutable. The EntityKeyof the member.
- Roles
List<Pulumi.Google Native. Cloud Identity. V1. Outputs. Membership Role Response> 
- The MembershipRoles that apply to theMembership. If unspecified, defaults to a singleMembershipRolewithnameMEMBER. Must not contain duplicateMembershipRoles with the samename.
- Type string
- The type of the membership.
- UpdateTime string
- The time when the Membershipwas last updated.
- CreateTime string
- The time when the Membershipwas created.
- DeliverySetting string
- Delivery setting associated with the membership.
- Name string
- The resource name of the Membership. Shall be of the formgroups/{group}/memberships/{membership}.
- PreferredMember EntityKey Key Response 
- Immutable. The EntityKeyof the member.
- Roles
[]MembershipRole Response 
- The MembershipRoles that apply to theMembership. If unspecified, defaults to a singleMembershipRolewithnameMEMBER. Must not contain duplicateMembershipRoles with the samename.
- Type string
- The type of the membership.
- UpdateTime string
- The time when the Membershipwas last updated.
- createTime String
- The time when the Membershipwas created.
- deliverySetting String
- Delivery setting associated with the membership.
- name String
- The resource name of the Membership. Shall be of the formgroups/{group}/memberships/{membership}.
- preferredMember EntityKey Key Response 
- Immutable. The EntityKeyof the member.
- roles
List<MembershipRole Response> 
- The MembershipRoles that apply to theMembership. If unspecified, defaults to a singleMembershipRolewithnameMEMBER. Must not contain duplicateMembershipRoles with the samename.
- type String
- The type of the membership.
- updateTime String
- The time when the Membershipwas last updated.
- createTime string
- The time when the Membershipwas created.
- deliverySetting string
- Delivery setting associated with the membership.
- name string
- The resource name of the Membership. Shall be of the formgroups/{group}/memberships/{membership}.
- preferredMember EntityKey Key Response 
- Immutable. The EntityKeyof the member.
- roles
MembershipRole Response[] 
- The MembershipRoles that apply to theMembership. If unspecified, defaults to a singleMembershipRolewithnameMEMBER. Must not contain duplicateMembershipRoles with the samename.
- type string
- The type of the membership.
- updateTime string
- The time when the Membershipwas last updated.
- create_time str
- The time when the Membershipwas created.
- delivery_setting str
- Delivery setting associated with the membership.
- name str
- The resource name of the Membership. Shall be of the formgroups/{group}/memberships/{membership}.
- preferred_member_ Entitykey Key Response 
- Immutable. The EntityKeyof the member.
- roles
Sequence[MembershipRole Response] 
- The MembershipRoles that apply to theMembership. If unspecified, defaults to a singleMembershipRolewithnameMEMBER. Must not contain duplicateMembershipRoles with the samename.
- type str
- The type of the membership.
- update_time str
- The time when the Membershipwas last updated.
- createTime String
- The time when the Membershipwas created.
- deliverySetting String
- Delivery setting associated with the membership.
- name String
- The resource name of the Membership. Shall be of the formgroups/{group}/memberships/{membership}.
- preferredMember Property MapKey 
- Immutable. The EntityKeyof the member.
- roles List<Property Map>
- The MembershipRoles that apply to theMembership. If unspecified, defaults to a singleMembershipRolewithnameMEMBER. Must not contain duplicateMembershipRoles with the samename.
- type String
- The type of the membership.
- updateTime String
- The time when the Membershipwas last updated.
Supporting Types
EntityKeyResponse  
- Namespace string
- The namespace in which the entity exists. If not specified, the EntityKeyrepresents a Google-managed entity such as a Google user or a Google Group. If specified, theEntityKeyrepresents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form ofidentitysources/{identity_source}.
- Namespace string
- The namespace in which the entity exists. If not specified, the EntityKeyrepresents a Google-managed entity such as a Google user or a Google Group. If specified, theEntityKeyrepresents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form ofidentitysources/{identity_source}.
- namespace String
- The namespace in which the entity exists. If not specified, the EntityKeyrepresents a Google-managed entity such as a Google user or a Google Group. If specified, theEntityKeyrepresents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form ofidentitysources/{identity_source}.
- namespace string
- The namespace in which the entity exists. If not specified, the EntityKeyrepresents a Google-managed entity such as a Google user or a Google Group. If specified, theEntityKeyrepresents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form ofidentitysources/{identity_source}.
- namespace str
- The namespace in which the entity exists. If not specified, the EntityKeyrepresents a Google-managed entity such as a Google user or a Google Group. If specified, theEntityKeyrepresents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form ofidentitysources/{identity_source}.
- namespace String
- The namespace in which the entity exists. If not specified, the EntityKeyrepresents a Google-managed entity such as a Google user or a Google Group. If specified, theEntityKeyrepresents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form ofidentitysources/{identity_source}.
ExpiryDetailResponse  
- ExpireTime string
- The time at which the MembershipRolewill expire.
- ExpireTime string
- The time at which the MembershipRolewill expire.
- expireTime String
- The time at which the MembershipRolewill expire.
- expireTime string
- The time at which the MembershipRolewill expire.
- expire_time str
- The time at which the MembershipRolewill expire.
- expireTime String
- The time at which the MembershipRolewill expire.
MembershipRoleResponse  
- ExpiryDetail Pulumi.Google Native. Cloud Identity. V1. Inputs. Expiry Detail Response 
- The expiry details of the MembershipRole. Expiry details are only supported forMEMBERMembershipRoles. May be set ifnameisMEMBER. Must not be set ifnameis any other value.
- Name string
- The name of the MembershipRole. Must be one ofOWNER,MANAGER,MEMBER.
- RestrictionEvaluations Pulumi.Google Native. Cloud Identity. V1. Inputs. Restriction Evaluations Response 
- Evaluations of restrictions applied to parent group on this membership.
- ExpiryDetail ExpiryDetail Response 
- The expiry details of the MembershipRole. Expiry details are only supported forMEMBERMembershipRoles. May be set ifnameisMEMBER. Must not be set ifnameis any other value.
- Name string
- The name of the MembershipRole. Must be one ofOWNER,MANAGER,MEMBER.
- RestrictionEvaluations RestrictionEvaluations Response 
- Evaluations of restrictions applied to parent group on this membership.
- expiryDetail ExpiryDetail Response 
- The expiry details of the MembershipRole. Expiry details are only supported forMEMBERMembershipRoles. May be set ifnameisMEMBER. Must not be set ifnameis any other value.
- name String
- The name of the MembershipRole. Must be one ofOWNER,MANAGER,MEMBER.
- restrictionEvaluations RestrictionEvaluations Response 
- Evaluations of restrictions applied to parent group on this membership.
- expiryDetail ExpiryDetail Response 
- The expiry details of the MembershipRole. Expiry details are only supported forMEMBERMembershipRoles. May be set ifnameisMEMBER. Must not be set ifnameis any other value.
- name string
- The name of the MembershipRole. Must be one ofOWNER,MANAGER,MEMBER.
- restrictionEvaluations RestrictionEvaluations Response 
- Evaluations of restrictions applied to parent group on this membership.
- expiry_detail ExpiryDetail Response 
- The expiry details of the MembershipRole. Expiry details are only supported forMEMBERMembershipRoles. May be set ifnameisMEMBER. Must not be set ifnameis any other value.
- name str
- The name of the MembershipRole. Must be one ofOWNER,MANAGER,MEMBER.
- restriction_evaluations RestrictionEvaluations Response 
- Evaluations of restrictions applied to parent group on this membership.
- expiryDetail Property Map
- The expiry details of the MembershipRole. Expiry details are only supported forMEMBERMembershipRoles. May be set ifnameisMEMBER. Must not be set ifnameis any other value.
- name String
- The name of the MembershipRole. Must be one ofOWNER,MANAGER,MEMBER.
- restrictionEvaluations Property Map
- Evaluations of restrictions applied to parent group on this membership.
MembershipRoleRestrictionEvaluationResponse    
- State string
- The current state of the restriction
- State string
- The current state of the restriction
- state String
- The current state of the restriction
- state string
- The current state of the restriction
- state str
- The current state of the restriction
- state String
- The current state of the restriction
RestrictionEvaluationsResponse  
- MemberRestriction Pulumi.Evaluation Google Native. Cloud Identity. V1. Inputs. Membership Role Restriction Evaluation Response 
- Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation.
- MemberRestriction MembershipEvaluation Role Restriction Evaluation Response 
- Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation.
- memberRestriction MembershipEvaluation Role Restriction Evaluation Response 
- Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation.
- memberRestriction MembershipEvaluation Role Restriction Evaluation Response 
- Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation.
- member_restriction_ Membershipevaluation Role Restriction Evaluation Response 
- Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation.
- memberRestriction Property MapEvaluation 
- Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi