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".
Implements
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1.Data
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class Membership : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time when the Membership
was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DeliverySetting
Output only. Delivery setting associated with the membership.
Declaration
[JsonProperty("deliverySetting")]
public virtual string DeliverySetting { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 MembershipRole
s that apply to the Membership
. If unspecified, defaults to a single MembershipRole
with name
MEMBER
. Must not contain duplicate MembershipRole
s with the same name
.
Declaration
[JsonProperty("roles")]
public virtual IList<MembershipRole> Roles { get; set; }
Property Value
Type | Description |
---|---|
IList<MembershipRole> |
Type
Output only. The type of the membership.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The time when the Membership
was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |