Google Chat V1 API - Class Google::Apps::Chat::V1::Membership (v0.4.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::Membership.

Represents a membership relation in Google Chat, such as whether a user or Chat app is invited to, part of, or absent from a space.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Immutable. The creation time of the membership, such as when a member joined or was invited to join a space. This field is output only, except when used to import historical memberships in import mode spaces.

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Optional. Immutable. The creation time of the membership, such as when a member joined or was invited to join a space. This field is output only, except when used to import historical memberships in import mode spaces.
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Immutable. The creation time of the membership, such as when a member joined or was invited to join a space. This field is output only, except when used to import historical memberships in import mode spaces.

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Immutable. The deletion time of the membership, such as when a member left or was removed from a space. This field is output only, except when used to import historical memberships in import mode spaces.

#delete_time=

def delete_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Optional. Immutable. The deletion time of the membership, such as when a member left or was removed from a space. This field is output only, except when used to import historical memberships in import mode spaces.
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Immutable. The deletion time of the membership, such as when a member left or was removed from a space. This field is output only, except when used to import historical memberships in import mode spaces.

#group_member

def group_member() -> ::Google::Apps::Chat::V1::Group
Returns

#group_member=

def group_member=(value) -> ::Google::Apps::Chat::V1::Group
Parameter
Returns

#member

def member() -> ::Google::Apps::Chat::V1::User
Returns

#member=

def member=(value) -> ::Google::Apps::Chat::V1::User
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Resource name of the membership, assigned by the server.

    Format: spaces/{space}/members/{member}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Resource name of the membership, assigned by the server.

    Format: spaces/{space}/members/{member}

Returns
  • (::String) — Resource name of the membership, assigned by the server.

    Format: spaces/{space}/members/{member}

#role

def role() -> ::Google::Apps::Chat::V1::Membership::MembershipRole
Returns

#role=

def role=(value) -> ::Google::Apps::Chat::V1::Membership::MembershipRole
Parameter
Returns

#state

def state() -> ::Google::Apps::Chat::V1::Membership::MembershipState
Returns