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/v1beta1.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:cloudidentity/v1beta1:getMembership
arguments:
# arguments dictionary
The following arguments are supported:
- Group
Id string - Membership
Id string
- Group
Id string - Membership
Id string
- group
Id String - membership
Id String
- group
Id string - membership
Id string
- group_
id str - membership_
id str
- group
Id String - membership
Id String
getMembership Result
The following output properties are available:
- Create
Time string - The time when the
Membership
was created. - Delivery
Setting string - Delivery setting associated with the membership.
- Member
Key Pulumi.Google Native. Cloud Identity. V1Beta1. Outputs. Entity Key Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - Name string
- The resource name of the
Membership
. Shall be of the formgroups/{group_id}/memberships/{membership_id}
. - Preferred
Member Pulumi.Key Google Native. Cloud Identity. V1Beta1. Outputs. Entity Key Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - Roles
List<Pulumi.
Google Native. Cloud Identity. V1Beta1. Outputs. Membership Role Response> - The
MembershipRole
s that apply to theMembership
. If unspecified, defaults to a singleMembershipRole
withname
MEMBER
. Must not contain duplicateMembershipRole
s with the samename
. - Type string
- The type of the membership.
- Update
Time string - The time when the
Membership
was last updated.
- Create
Time string - The time when the
Membership
was created. - Delivery
Setting string - Delivery setting associated with the membership.
- Member
Key EntityKey Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - Name string
- The resource name of the
Membership
. Shall be of the formgroups/{group_id}/memberships/{membership_id}
. - Preferred
Member EntityKey Key Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - Roles
[]Membership
Role Response - The
MembershipRole
s that apply to theMembership
. If unspecified, defaults to a singleMembershipRole
withname
MEMBER
. Must not contain duplicateMembershipRole
s with the samename
. - Type string
- The type of the membership.
- Update
Time string - The time when the
Membership
was last updated.
- create
Time String - The time when the
Membership
was created. - delivery
Setting String - Delivery setting associated with the membership.
- member
Key EntityKey Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - name String
- The resource name of the
Membership
. Shall be of the formgroups/{group_id}/memberships/{membership_id}
. - preferred
Member EntityKey Key Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - roles
List<Membership
Role Response> - The
MembershipRole
s that apply to theMembership
. If unspecified, defaults to a singleMembershipRole
withname
MEMBER
. Must not contain duplicateMembershipRole
s with the samename
. - type String
- The type of the membership.
- update
Time String - The time when the
Membership
was last updated.
- create
Time string - The time when the
Membership
was created. - delivery
Setting string - Delivery setting associated with the membership.
- member
Key EntityKey Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - name string
- The resource name of the
Membership
. Shall be of the formgroups/{group_id}/memberships/{membership_id}
. - preferred
Member EntityKey Key Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - roles
Membership
Role Response[] - The
MembershipRole
s that apply to theMembership
. If unspecified, defaults to a singleMembershipRole
withname
MEMBER
. Must not contain duplicateMembershipRole
s with the samename
. - type string
- The type of the membership.
- update
Time string - The time when the
Membership
was last updated.
- create_
time str - The time when the
Membership
was created. - delivery_
setting str - Delivery setting associated with the membership.
- member_
key EntityKey Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - name str
- The resource name of the
Membership
. Shall be of the formgroups/{group_id}/memberships/{membership_id}
. - preferred_
member_ Entitykey Key Response - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - roles
Sequence[Membership
Role Response] - The
MembershipRole
s that apply to theMembership
. If unspecified, defaults to a singleMembershipRole
withname
MEMBER
. Must not contain duplicateMembershipRole
s with the samename
. - type str
- The type of the membership.
- update_
time str - The time when the
Membership
was last updated.
- create
Time String - The time when the
Membership
was created. - delivery
Setting String - Delivery setting associated with the membership.
- member
Key Property Map - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - name String
- The resource name of the
Membership
. Shall be of the formgroups/{group_id}/memberships/{membership_id}
. - preferred
Member Property MapKey - Immutable. The
EntityKey
of the member. Eithermember_key
orpreferred_member_key
must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. - roles List<Property Map>
- The
MembershipRole
s that apply to theMembership
. If unspecified, defaults to a singleMembershipRole
withname
MEMBER
. Must not contain duplicateMembershipRole
s with the samename
. - type String
- The type of the membership.
- update
Time String - The time when the
Membership
was last updated.
Supporting Types
EntityKeyResponse
- Namespace string
- 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, theEntityKey
represents 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_id}
.
- Namespace string
- 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, theEntityKey
represents 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_id}
.
- namespace String
- 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, theEntityKey
represents 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_id}
.
- namespace string
- 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, theEntityKey
represents 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_id}
.
- namespace str
- 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, theEntityKey
represents 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_id}
.
- namespace String
- 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, theEntityKey
represents 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_id}
.
ExpiryDetailResponse
- Expire
Time string - The time at which the
MembershipRole
will expire.
- Expire
Time string - The time at which the
MembershipRole
will expire.
- expire
Time String - The time at which the
MembershipRole
will expire.
- expire
Time string - The time at which the
MembershipRole
will expire.
- expire_
time str - The time at which the
MembershipRole
will expire.
- expire
Time String - The time at which the
MembershipRole
will expire.
MembershipRoleResponse
- Expiry
Detail Pulumi.Google Native. Cloud Identity. V1Beta1. Inputs. Expiry Detail Response - The expiry details of the
MembershipRole
. Expiry details are only supported forMEMBER
MembershipRoles
. May be set ifname
isMEMBER
. Must not be set ifname
is any other value. - Name string
- The name of the
MembershipRole
. Must be one ofOWNER
,MANAGER
,MEMBER
. - Restriction
Evaluations Pulumi.Google Native. Cloud Identity. V1Beta1. Inputs. Restriction Evaluations 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 forMEMBER
MembershipRoles
. May be set ifname
isMEMBER
. Must not be set ifname
is any other value. - Name string
- 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.
- expiry
Detail ExpiryDetail Response - The expiry details of the
MembershipRole
. Expiry details are only supported forMEMBER
MembershipRoles
. May be set ifname
isMEMBER
. Must not be set ifname
is any other value. - name String
- 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.
- expiry
Detail ExpiryDetail Response - The expiry details of the
MembershipRole
. Expiry details are only supported forMEMBER
MembershipRoles
. May be set ifname
isMEMBER
. Must not be set ifname
is any other value. - name string
- 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.
- expiry_
detail ExpiryDetail Response - The expiry details of the
MembershipRole
. Expiry details are only supported forMEMBER
MembershipRoles
. May be set ifname
isMEMBER
. Must not be set ifname
is 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.
- expiry
Detail Property Map - The expiry details of the
MembershipRole
. Expiry details are only supported forMEMBER
MembershipRoles
. May be set ifname
isMEMBER
. Must not be set ifname
is any other value. - name String
- The name of the
MembershipRole
. Must be one ofOWNER
,MANAGER
,MEMBER
. - restriction
Evaluations 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
- Member
Restriction Pulumi.Evaluation Google Native. Cloud Identity. V1Beta1. 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.
- 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.
- 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.
- 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.
- 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.
- member
Restriction 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