Google Apps Chat V1 Client - Class MembershipRole (0.7.1)

Reference documentation and code samples for the Google Apps Chat V1 Client class MembershipRole.

Represents a user's permitted actions in a Chat space. More enum values might be added in the future.

Protobuf type google.chat.v1.Membership.MembershipRole

Namespace

Google \ Apps \ Chat \ V1 \ Membership

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

MEMBERSHIP_ROLE_UNSPECIFIED

Value: 0

Default value. For users: they aren't a member of the space, but can be invited. For Google Groups: they're always assigned this role (other enum values might be used in the future).

Generated from protobuf enum MEMBERSHIP_ROLE_UNSPECIFIED = 0;

ROLE_MEMBER

Value: 1

A member of the space. The user has basic permissions, like sending messages to the space. In 1:1 and unnamed group conversations, everyone has this role.

Generated from protobuf enum ROLE_MEMBER = 1;

ROLE_MANAGER

Value: 2

A space manager. The user has all basic permissions plus administrative permissions that let them manage the space, like adding or removing members. Only supported in SpaceType.SPACE.

Generated from protobuf enum ROLE_MANAGER = 2;