|
30 | 30 | public final class SetUpSpaceRequest extends com.google.api.client.json.GenericJson {
|
31 | 31 |
|
32 | 32 | /**
|
33 |
| - * Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are |
34 |
| - * added automatically. The set currently allows up to 20 memberships (in addition to the caller). |
35 |
| - * For human membership, the `Membership.member` field must contain a `user` with `name` populated |
36 |
| - * (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when |
37 |
| - * setting up a space (adding Chat apps is only supported for direct message setup with the |
38 |
| - * calling app). You can also add members using the user's email as an alias for {user}. For |
39 |
| - * example, the `user.name` can be `users/[email protected]`. To invite Gmail users or users from |
40 |
| - * external Google Workspace domains, user's email must be used for `{user}`. Optional when |
41 |
| - * setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, |
42 |
| - * along with at least two memberships. Required when setting `Space.spaceType` to |
43 |
| - * `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when |
44 |
| - * creating a 1:1 conversation between a human and the calling Chat app (when setting |
45 |
| - * `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`). |
| 33 | + * Optional. The Google Chat users or groups to invite to join the space. Omit the calling user, |
| 34 | + * as they are added automatically. The set currently allows up to 20 memberships (in addition to |
| 35 | + * the caller). For human membership, the `Membership.member` field must contain a `user` with |
| 36 | + * `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add |
| 37 | + * human users when setting up a space (adding Chat apps is only supported for direct message |
| 38 | + * setup with the calling app). You can also add members using the user's email as an alias for |
| 39 | + * {user}. For example, the `user.name` can be `users/[email protected]`. To invite Gmail users or |
| 40 | + * users from external Google Workspace domains, user's email must be used for `{user}`. For |
| 41 | + * Google group membership, the `Membership.group_member` field must contain a `group` with `name` |
| 42 | + * populated (format `groups/{group}`). You can only add Google groups when setting |
| 43 | + * `Space.spaceType` to `SPACE`. Optional when setting `Space.spaceType` to `SPACE`. Required when |
| 44 | + * setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when |
| 45 | + * setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one |
| 46 | + * membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat |
| 47 | + * app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`). |
46 | 48 | * The value may be {@code null}.
|
47 | 49 | */
|
48 | 50 | @com.google.api.client.util.Key
|
@@ -81,39 +83,43 @@ public final class SetUpSpaceRequest extends com.google.api.client.json.GenericJ
|
81 | 83 | private Space space;
|
82 | 84 |
|
83 | 85 | /**
|
84 |
| - * Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are |
85 |
| - * added automatically. The set currently allows up to 20 memberships (in addition to the caller). |
86 |
| - * For human membership, the `Membership.member` field must contain a `user` with `name` populated |
87 |
| - * (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when |
88 |
| - * setting up a space (adding Chat apps is only supported for direct message setup with the |
89 |
| - * calling app). You can also add members using the user's email as an alias for {user}. For |
90 |
| - * example, the `user.name` can be `users/[email protected]`. To invite Gmail users or users from |
91 |
| - * external Google Workspace domains, user's email must be used for `{user}`. Optional when |
92 |
| - * setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, |
93 |
| - * along with at least two memberships. Required when setting `Space.spaceType` to |
94 |
| - * `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when |
95 |
| - * creating a 1:1 conversation between a human and the calling Chat app (when setting |
96 |
| - * `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`). |
| 86 | + * Optional. The Google Chat users or groups to invite to join the space. Omit the calling user, |
| 87 | + * as they are added automatically. The set currently allows up to 20 memberships (in addition to |
| 88 | + * the caller). For human membership, the `Membership.member` field must contain a `user` with |
| 89 | + * `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add |
| 90 | + * human users when setting up a space (adding Chat apps is only supported for direct message |
| 91 | + * setup with the calling app). You can also add members using the user's email as an alias for |
| 92 | + * {user}. For example, the `user.name` can be `users/[email protected]`. To invite Gmail users or |
| 93 | + * users from external Google Workspace domains, user's email must be used for `{user}`. For |
| 94 | + * Google group membership, the `Membership.group_member` field must contain a `group` with `name` |
| 95 | + * populated (format `groups/{group}`). You can only add Google groups when setting |
| 96 | + * `Space.spaceType` to `SPACE`. Optional when setting `Space.spaceType` to `SPACE`. Required when |
| 97 | + * setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when |
| 98 | + * setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one |
| 99 | + * membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat |
| 100 | + * app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`). |
97 | 101 | * @return value or {@code null} for none
|
98 | 102 | */
|
99 | 103 | public java.util.List<Membership> getMemberships() {
|
100 | 104 | return memberships;
|
101 | 105 | }
|
102 | 106 |
|
103 | 107 | /**
|
104 |
| - * Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are |
105 |
| - * added automatically. The set currently allows up to 20 memberships (in addition to the caller). |
106 |
| - * For human membership, the `Membership.member` field must contain a `user` with `name` populated |
107 |
| - * (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when |
108 |
| - * setting up a space (adding Chat apps is only supported for direct message setup with the |
109 |
| - * calling app). You can also add members using the user's email as an alias for {user}. For |
110 |
| - * example, the `user.name` can be `users/[email protected]`. To invite Gmail users or users from |
111 |
| - * external Google Workspace domains, user's email must be used for `{user}`. Optional when |
112 |
| - * setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, |
113 |
| - * along with at least two memberships. Required when setting `Space.spaceType` to |
114 |
| - * `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when |
115 |
| - * creating a 1:1 conversation between a human and the calling Chat app (when setting |
116 |
| - * `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`). |
| 108 | + * Optional. The Google Chat users or groups to invite to join the space. Omit the calling user, |
| 109 | + * as they are added automatically. The set currently allows up to 20 memberships (in addition to |
| 110 | + * the caller). For human membership, the `Membership.member` field must contain a `user` with |
| 111 | + * `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add |
| 112 | + * human users when setting up a space (adding Chat apps is only supported for direct message |
| 113 | + * setup with the calling app). You can also add members using the user's email as an alias for |
| 114 | + * {user}. For example, the `user.name` can be `users/[email protected]`. To invite Gmail users or |
| 115 | + * users from external Google Workspace domains, user's email must be used for `{user}`. For |
| 116 | + * Google group membership, the `Membership.group_member` field must contain a `group` with `name` |
| 117 | + * populated (format `groups/{group}`). You can only add Google groups when setting |
| 118 | + * `Space.spaceType` to `SPACE`. Optional when setting `Space.spaceType` to `SPACE`. Required when |
| 119 | + * setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when |
| 120 | + * setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one |
| 121 | + * membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat |
| 122 | + * app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`). |
117 | 123 | * @param memberships memberships or {@code null} for none
|
118 | 124 | */
|
119 | 125 | public SetUpSpaceRequest setMemberships(java.util.List<Membership> memberships) {
|
|
0 commit comments