Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::UpdateMembershipRequest.
Request message for updating a membership.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#membership
def membership() -> ::Google::Apps::Chat::V1::Membership
-
(::Google::Apps::Chat::V1::Membership) — Required. The membership to update. Only fields specified by
update_mask
are updated.
#membership=
def membership=(value) -> ::Google::Apps::Chat::V1::Membership
-
value (::Google::Apps::Chat::V1::Membership) — Required. The membership to update. Only fields specified by
update_mask
are updated.
-
(::Google::Apps::Chat::V1::Membership) — Required. The membership to update. Only fields specified by
update_mask
are updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) —
Required. The field paths to update. Separate multiple values with commas or use
*
to update all field paths.Currently supported field paths:
role
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) —
Required. The field paths to update. Separate multiple values with commas or use
*
to update all field paths.Currently supported field paths:
role
-
(::Google::Protobuf::FieldMask) —
Required. The field paths to update. Separate multiple values with commas or use
*
to update all field paths.Currently supported field paths:
role
#use_admin_access
def use_admin_access() -> ::Boolean
-
(::Boolean) — When
true
, the method runs using the user's Google Workspace administrator privileges.The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege.
Requires the
chat.admin.memberships
OAuth 2.0 scope.
#use_admin_access=
def use_admin_access=(value) -> ::Boolean
-
value (::Boolean) — When
true
, the method runs using the user's Google Workspace administrator privileges.The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege.
Requires the
chat.admin.memberships
OAuth 2.0 scope.
-
(::Boolean) — When
true
, the method runs using the user's Google Workspace administrator privileges.The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege.
Requires the
chat.admin.memberships
OAuth 2.0 scope.