Interface Space.PermissionSettingsOrBuilder (0.63.0)

public static interface Space.PermissionSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getManageApps()

public abstract Space.PermissionSetting getManageApps()

Optional. Setting for managing apps in a space.

optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The manageApps.

getManageAppsOrBuilder()

public abstract Space.PermissionSettingOrBuilder getManageAppsOrBuilder()

Optional. Setting for managing apps in a space.

optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

getManageMembersAndGroups()

public abstract Space.PermissionSetting getManageMembersAndGroups()

Optional. Setting for managing members and groups in a space.

optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The manageMembersAndGroups.

getManageMembersAndGroupsOrBuilder()

public abstract Space.PermissionSettingOrBuilder getManageMembersAndGroupsOrBuilder()

Optional. Setting for managing members and groups in a space.

optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

getManageWebhooks()

public abstract Space.PermissionSetting getManageWebhooks()

Optional. Setting for managing webhooks in a space.

optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The manageWebhooks.

getManageWebhooksOrBuilder()

public abstract Space.PermissionSettingOrBuilder getManageWebhooksOrBuilder()

Optional. Setting for managing webhooks in a space.

optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

getModifySpaceDetails()

public abstract Space.PermissionSetting getModifySpaceDetails()

Optional. Setting for updating space name, avatar, description and guidelines.

optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The modifySpaceDetails.

getModifySpaceDetailsOrBuilder()

public abstract Space.PermissionSettingOrBuilder getModifySpaceDetailsOrBuilder()

Optional. Setting for updating space name, avatar, description and guidelines.

optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

getPostMessages()

public abstract Space.PermissionSetting getPostMessages()

Output only. Setting for posting messages in a space.

optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Space.PermissionSetting

The postMessages.

getPostMessagesOrBuilder()

public abstract Space.PermissionSettingOrBuilder getPostMessagesOrBuilder()

Output only. Setting for posting messages in a space.

optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Space.PermissionSettingOrBuilder

getReplyMessages()

public abstract Space.PermissionSetting getReplyMessages()

Optional. Setting for replying to messages in a space.

optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The replyMessages.

getReplyMessagesOrBuilder()

public abstract Space.PermissionSettingOrBuilder getReplyMessagesOrBuilder()

Optional. Setting for replying to messages in a space.

optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

getToggleHistory()

public abstract Space.PermissionSetting getToggleHistory()

Optional. Setting for toggling space history on and off.

optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The toggleHistory.

getToggleHistoryOrBuilder()

public abstract Space.PermissionSettingOrBuilder getToggleHistoryOrBuilder()

Optional. Setting for toggling space history on and off.

optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

getUseAtMentionAll()

public abstract Space.PermissionSetting getUseAtMentionAll()

Optional. Setting for using @all in a space.

optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The useAtMentionAll.

getUseAtMentionAllOrBuilder()

public abstract Space.PermissionSettingOrBuilder getUseAtMentionAllOrBuilder()

Optional. Setting for using @all in a space.

optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

getViewSpaceMembership()

public abstract Space.PermissionSetting getViewSpaceMembership()

Optional. Setting for viewing space membership. Must be specified together with AccessPermissionSettings.view_space_membership_setting in the update mask and request body when updating who can view space membership. When restricting view access to specific roles (for example, space managers or assistant managers only), specify the desired role permissions here and provide an empty AccessPermissionSettings.view_space_membership_setting in the same request. If a target audience is configured in AccessPermissionSettings.view_space_membership_setting, this setting must be granted to all members.

optional .google.chat.v1.Space.PermissionSetting view_space_membership = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSetting

The viewSpaceMembership.

getViewSpaceMembershipOrBuilder()

public abstract Space.PermissionSettingOrBuilder getViewSpaceMembershipOrBuilder()

Optional. Setting for viewing space membership. Must be specified together with AccessPermissionSettings.view_space_membership_setting in the update mask and request body when updating who can view space membership. When restricting view access to specific roles (for example, space managers or assistant managers only), specify the desired role permissions here and provide an empty AccessPermissionSettings.view_space_membership_setting in the same request. If a target audience is configured in AccessPermissionSettings.view_space_membership_setting, this setting must be granted to all members.

optional .google.chat.v1.Space.PermissionSetting view_space_membership = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Space.PermissionSettingOrBuilder

hasManageApps()

public abstract boolean hasManageApps()

Optional. Setting for managing apps in a space.

optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the manageApps field is set.

hasManageMembersAndGroups()

public abstract boolean hasManageMembersAndGroups()

Optional. Setting for managing members and groups in a space.

optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the manageMembersAndGroups field is set.

hasManageWebhooks()

public abstract boolean hasManageWebhooks()

Optional. Setting for managing webhooks in a space.

optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the manageWebhooks field is set.

hasModifySpaceDetails()

public abstract boolean hasModifySpaceDetails()

Optional. Setting for updating space name, avatar, description and guidelines.

optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the modifySpaceDetails field is set.

hasPostMessages()

public abstract boolean hasPostMessages()

Output only. Setting for posting messages in a space.

optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the postMessages field is set.

hasReplyMessages()

public abstract boolean hasReplyMessages()

Optional. Setting for replying to messages in a space.

optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the replyMessages field is set.

hasToggleHistory()

public abstract boolean hasToggleHistory()

Optional. Setting for toggling space history on and off.

optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toggleHistory field is set.

hasUseAtMentionAll()

public abstract boolean hasUseAtMentionAll()

Optional. Setting for using @all in a space.

optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the useAtMentionAll field is set.

hasViewSpaceMembership()

public abstract boolean hasViewSpaceMembership()

Optional. Setting for viewing space membership. Must be specified together with AccessPermissionSettings.view_space_membership_setting in the update mask and request body when updating who can view space membership. When restricting view access to specific roles (for example, space managers or assistant managers only), specify the desired role permissions here and provide an empty AccessPermissionSettings.view_space_membership_setting in the same request. If a target audience is configured in AccessPermissionSettings.view_space_membership_setting, this setting must be granted to all members.

optional .google.chat.v1.Space.PermissionSetting view_space_membership = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the viewSpaceMembership field is set.