Google Apps Chat V1 Client - Class UpdateMembershipRequest (0.1.4)

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

Request message for updating a membership.

Generated from protobuf message google.chat.v1.UpdateMembershipRequest

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ membership Google\Apps\Chat\V1\Membership

Required. The membership to update. Only fields specified by update_mask are updated.

↳ update_mask 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

getMembership

Required. The membership to update. Only fields specified by update_mask are updated.

Returns
Type Description
Google\Apps\Chat\V1\Membership|null

hasMembership

clearMembership

setMembership

Required. The membership to update. Only fields specified by update_mask are updated.

Parameter
Name Description
var Google\Apps\Chat\V1\Membership
Returns
Type Description
$this

getUpdateMask

Required. The field paths to update. Separate multiple values with commas or use * to update all field paths.

Currently supported field paths:

  • role
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The field paths to update. Separate multiple values with commas or use * to update all field paths.

Currently supported field paths:

  • role
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
membership Google\Apps\Chat\V1\Membership

Required. The membership to update. Only fields specified by update_mask are updated.

updateMask 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
Returns
Type Description
Google\Apps\Chat\V1\UpdateMembershipRequest