@@ -2535,21 +2535,23 @@ public Patch setName(java.lang.String name) {
25352535
25362536 /**
25372537 * Required. The updated field paths, comma separated if there are multiple. You can update
2538- * the following fields for a space: `space_details`: Updates the space's description.
2539- * Supports up to 150 characters. `display_name`: Only supports updating the display name for
2540- * spaces where `spaceType` field is `SPACE`. If you receive the error message
2541- * `ALREADY_EXISTS`, try a different value. An existing space within the Google Workspace
2542- * organization might already use this display name. `space_type`: Only supports changing a
2543- * `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in
2544- * the update mask and ensure that the specified space has a non-empty display name and the
2545- * `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified
2546- * space when updating the display name is optional if the existing space already has the
2547- * `SPACE` type. Trying to update the space type in other ways results in an invalid argument
2548- * error. `space_type` is not supported with `useAdminAccess`. `space_history_state`: Updates
2549- * [space history settings](https://support.google.com/chat/answer/7664687) by turning history
2550- * on or off for the space. Only supported if history settings are enabled for the Google
2551- * Workspace organization. To update the space history state, you must omit all other field
2552- * masks in your request. `space_history_state` is not supported with `useAdminAccess`.
2538+ * the following fields for a space: `space_details`: Updates the space's description and
2539+ * guidelines. You must pass both description and guidelines in the update request as
2540+ * `SpaceDetails`. If you only want to update one of the fields, pass the existing value for
2541+ * the other field. `display_name`: Only supports updating the display name for spaces where
2542+ * `spaceType` field is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a
2543+ * different value. An existing space within the Google Workspace organization might already
2544+ * use this display name. `space_type`: Only supports changing a `GROUP_CHAT` space type to
2545+ * `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure
2546+ * that the specified space has a non-empty display name and the `SPACE` space type. Including
2547+ * the `space_type` mask and the `SPACE` type in the specified space when updating the display
2548+ * name is optional if the existing space already has the `SPACE` type. Trying to update the
2549+ * space type in other ways results in an invalid argument error. `space_type` is not
2550+ * supported with `useAdminAccess`. `space_history_state`: Updates [space history
2551+ * settings](https://support.google.com/chat/answer/7664687) by turning history on or off for
2552+ * the space. Only supported if history settings are enabled for the Google Workspace
2553+ * organization. To update the space history state, you must omit all other field masks in
2554+ * your request. `space_history_state` is not supported with `useAdminAccess`.
25532555 * `access_settings.audience`: Updates the [access
25542556 * setting](https://support.google.com/chat/answer/11971020) of who can discover the space,
25552557 * join the space, and preview the messages in named space where `spaceType` field is `SPACE`.
@@ -2575,18 +2577,20 @@ public Patch setName(java.lang.String name) {
25752577 private String updateMask ;
25762578
25772579 /** Required. The updated field paths, comma separated if there are multiple. You can update the
2578- following fields for a space: `space_details`: Updates the space's description. Supports up to 150
2579- characters. `display_name`: Only supports updating the display name for spaces where `spaceType`
2580- field is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a different value. An
2581- existing space within the Google Workspace organization might already use this display name.
2582- `space_type`: Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name`
2583- together with `space_type` in the update mask and ensure that the specified space has a non-empty
2584- display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in
2585- the specified space when updating the display name is optional if the existing space already has
2586- the `SPACE` type. Trying to update the space type in other ways results in an invalid argument
2587- error. `space_type` is not supported with `useAdminAccess`. `space_history_state`: Updates [space
2588- history settings](https://support.google.com/chat/answer/7664687) by turning history on or off for
2589- the space. Only supported if history settings are enabled for the Google Workspace organization. To
2580+ following fields for a space: `space_details`: Updates the space's description and guidelines. You
2581+ must pass both description and guidelines in the update request as `SpaceDetails`. If you only want
2582+ to update one of the fields, pass the existing value for the other field. `display_name`: Only
2583+ supports updating the display name for spaces where `spaceType` field is `SPACE`. If you receive
2584+ the error message `ALREADY_EXISTS`, try a different value. An existing space within the Google
2585+ Workspace organization might already use this display name. `space_type`: Only supports changing a
2586+ `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update
2587+ mask and ensure that the specified space has a non-empty display name and the `SPACE` space type.
2588+ Including the `space_type` mask and the `SPACE` type in the specified space when updating the
2589+ display name is optional if the existing space already has the `SPACE` type. Trying to update the
2590+ space type in other ways results in an invalid argument error. `space_type` is not supported with
2591+ `useAdminAccess`. `space_history_state`: Updates [space history
2592+ settings](https://support.google.com/chat/answer/7664687) by turning history on or off for the
2593+ space. Only supported if history settings are enabled for the Google Workspace organization. To
25902594 update the space history state, you must omit all other field masks in your request.
25912595 `space_history_state` is not supported with `useAdminAccess`. `access_settings.audience`: Updates
25922596 the [access setting](https://support.google.com/chat/answer/11971020) of who can discover the
@@ -2612,21 +2616,23 @@ public String getUpdateMask() {
26122616
26132617 /**
26142618 * Required. The updated field paths, comma separated if there are multiple. You can update
2615- * the following fields for a space: `space_details`: Updates the space's description.
2616- * Supports up to 150 characters. `display_name`: Only supports updating the display name for
2617- * spaces where `spaceType` field is `SPACE`. If you receive the error message
2618- * `ALREADY_EXISTS`, try a different value. An existing space within the Google Workspace
2619- * organization might already use this display name. `space_type`: Only supports changing a
2620- * `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in
2621- * the update mask and ensure that the specified space has a non-empty display name and the
2622- * `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified
2623- * space when updating the display name is optional if the existing space already has the
2624- * `SPACE` type. Trying to update the space type in other ways results in an invalid argument
2625- * error. `space_type` is not supported with `useAdminAccess`. `space_history_state`: Updates
2626- * [space history settings](https://support.google.com/chat/answer/7664687) by turning history
2627- * on or off for the space. Only supported if history settings are enabled for the Google
2628- * Workspace organization. To update the space history state, you must omit all other field
2629- * masks in your request. `space_history_state` is not supported with `useAdminAccess`.
2619+ * the following fields for a space: `space_details`: Updates the space's description and
2620+ * guidelines. You must pass both description and guidelines in the update request as
2621+ * `SpaceDetails`. If you only want to update one of the fields, pass the existing value for
2622+ * the other field. `display_name`: Only supports updating the display name for spaces where
2623+ * `spaceType` field is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a
2624+ * different value. An existing space within the Google Workspace organization might already
2625+ * use this display name. `space_type`: Only supports changing a `GROUP_CHAT` space type to
2626+ * `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure
2627+ * that the specified space has a non-empty display name and the `SPACE` space type. Including
2628+ * the `space_type` mask and the `SPACE` type in the specified space when updating the display
2629+ * name is optional if the existing space already has the `SPACE` type. Trying to update the
2630+ * space type in other ways results in an invalid argument error. `space_type` is not
2631+ * supported with `useAdminAccess`. `space_history_state`: Updates [space history
2632+ * settings](https://support.google.com/chat/answer/7664687) by turning history on or off for
2633+ * the space. Only supported if history settings are enabled for the Google Workspace
2634+ * organization. To update the space history state, you must omit all other field masks in
2635+ * your request. `space_history_state` is not supported with `useAdminAccess`.
26302636 * `access_settings.audience`: Updates the [access
26312637 * setting](https://support.google.com/chat/answer/11971020) of who can discover the space,
26322638 * join the space, and preview the messages in named space where `spaceType` field is `SPACE`.
0 commit comments