Interface UpdateMembershipRequestOrBuilder (0.15.0)

public interface UpdateMembershipRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMembership()

public abstract Membership getMembership()

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

.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Membership

The membership.

getMembershipOrBuilder()

public abstract MembershipOrBuilder getMembershipOrBuilder()

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

.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MembershipOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

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 update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

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 update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getUseAdminAccess()

public abstract boolean getUseAdminAccess()

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.

bool use_admin_access = 3;

Returns
Type Description
boolean

The useAdminAccess.

hasMembership()

public abstract boolean hasMembership()

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

.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the membership field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

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 update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.