Show / Hide Table of Contents

Class Membership

A membership within the Cloud Identity Groups API. A Membership defines a relationship between a Group and an entity belonging to that Group, referred to as a "member".

Inheritance
System.Object
Membership
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudIdentity.v1.Data
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class Membership : IDirectResponseSchema

Properties

CreateTime

Output only. The time when the Membership was created.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Name

Output only. The resource name of the Membership. Shall be of the form groups/{group}/memberships/{membership}.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

PreferredMemberKey

Required. Immutable. The EntityKey of the member.

Declaration
[JsonProperty("preferredMemberKey")]
public virtual EntityKey PreferredMemberKey { get; set; }
Property Value
Type Description
EntityKey

Roles

The MembershipRoles that apply to the Membership. If unspecified, defaults to a single MembershipRole with name MEMBER. Must not contain duplicate MembershipRoles with the same name.

Declaration
[JsonProperty("roles")]
public virtual IList<MembershipRole> Roles { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<MembershipRole>

Type

Output only. The type of the membership.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
System.String

UpdateTime

Output only. The time when the Membership was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top