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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Apps Chat V1 Client - Class MembershipRole (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Chat.V1.Membership.MembershipRole)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Chat.V1.Membership.MembershipRole)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Chat.V1.Membership.MembershipRole)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Chat.V1.Membership.MembershipRole)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Chat.V1.Membership.MembershipRole)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Chat.V1.Membership.MembershipRole)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Chat.V1.Membership.MembershipRole)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Chat.V1.Membership.MembershipRole)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Chat.V1.Membership.MembershipRole)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Chat.V1.Membership.MembershipRole)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Chat.V1.Membership.MembershipRole)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Chat.V1.Membership.MembershipRole) \nReference documentation and code samples for the Google Apps Chat V1 Client class MembershipRole.\n\nRepresents a user's permitted actions in a Chat space. More enum values\nmight be added in the future.\n\nProtobuf type `google.chat.v1.Membership.MembershipRole`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Chat \\\\ V1 \\\\ Membership\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### MEMBERSHIP_ROLE_UNSPECIFIED\n\n Value: 0\n\nDefault value. For [users](/php/docs/reference/apps-chat/latest/Chat.V1.Membership#_Google_Apps_Chat_V1_Membership__getMember__): they\naren't a member of the space, but can be invited. For\n[Google Groups](/php/docs/reference/apps-chat/latest/Chat.V1.Membership#_Google_Apps_Chat_V1_Membership__getGroupMember__): they're always\nassigned this role (other enum values might be used in the future).\n\nGenerated from protobuf enum `MEMBERSHIP_ROLE_UNSPECIFIED = 0;`\n\n### ROLE_MEMBER\n\n Value: 1\n\nA member of the space. The user has basic permissions, like sending\nmessages to the space. In 1:1 and unnamed group conversations, everyone\nhas this role.\n\nGenerated from protobuf enum `ROLE_MEMBER = 1;`\n\n### ROLE_MANAGER\n\n Value: 2\n\nA space manager. The user has all basic permissions plus administrative\npermissions that let them manage the space, like adding or removing\nmembers. Only supported in\n[SpaceType.SPACE](/php/docs/reference/apps-chat/latest/Chat.V1.Space.SpaceType).\n\nGenerated from protobuf enum `ROLE_MANAGER = 2;`"]]