@@ -682,17 +682,21 @@ public CompleteImport set(String parameterName, Object value) {
682
682
}
683
683
}
684
684
/**
685
- * Creates a space with no members. Can be used to create a named space, or a group chat in `Import
686
- * mode`. Spaces grouped by topics aren't supported. For an example, see [Create a
687
- * space](https://developers.google.com/workspace/chat/create-spaces). If you receive the error
688
- * message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space
689
- * within the Google Workspace organization might already use this display name. Supports the
690
- * following types of [authentication](https://developers.google.com/workspace/chat/authenticate-
691
- * authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-
692
- * authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth)
693
- * in [Developer Preview](https://developers.google.com/workspace/preview) - [User
685
+ * Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an
686
+ * example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces).
687
+ * Supports the following types of
688
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App
689
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
690
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
691
+ * Preview](https://developers.google.com/workspace/preview) - [User
694
692
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
695
- * When authenticating as an app, the `space.customer` field must be set in the request.
693
+ * When authenticating as an app, the `space.customer` field must be set in the request. Space
694
+ * membership upon creation depends on whether the space is created in `Import mode`: * **Import
695
+ * mode:** No members are created. * **All other modes:** The calling user is added as a member.
696
+ * This is: * The app itself when using app authentication. * The human user when using user
697
+ * authentication. If you receive the error message `ALREADY_EXISTS` when creating a space, try a
698
+ * different `displayName`. An existing space within the Google Workspace organization might already
699
+ * use this display name.
696
700
*
697
701
* Create a request for the method "spaces.create".
698
702
*
@@ -713,18 +717,21 @@ public class Create extends HangoutsChatRequest<com.google.api.services.chat.v1.
713
717
private static final String REST_PATH = "v1/spaces" ;
714
718
715
719
/**
716
- * Creates a space with no members. Can be used to create a named space, or a group chat in
717
- * `Import mode`. Spaces grouped by topics aren't supported. For an example, see [Create a
718
- * space](https://developers.google.com/workspace/chat/create-spaces). If you receive the error
719
- * message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing
720
- * space within the Google Workspace organization might already use this display name. Supports
721
- * the following types of
720
+ * Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an
721
+ * example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces).
722
+ * Supports the following types of
722
723
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App
723
724
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
724
725
* with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
725
726
* Preview](https://developers.google.com/workspace/preview) - [User
726
727
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
727
- * When authenticating as an app, the `space.customer` field must be set in the request.
728
+ * When authenticating as an app, the `space.customer` field must be set in the request. Space
729
+ * membership upon creation depends on whether the space is created in `Import mode`: * **Import
730
+ * mode:** No members are created. * **All other modes:** The calling user is added as a member.
731
+ * This is: * The app itself when using app authentication. * The human user when using user
732
+ * authentication. If you receive the error message `ALREADY_EXISTS` when creating a space, try a
733
+ * different `displayName`. An existing space within the Google Workspace organization might
734
+ * already use this display name.
728
735
*
729
736
* Create a request for the method "spaces.create".
730
737
*
0 commit comments