public interface CreateSpaceRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getRequestId()
public abstract String getRequestId()
Optional. A unique identifier for this request. A random UUID is recommended. Specifying an existing request ID returns the space created with that ID instead of creating a new space. Specifying an existing request ID from the same Chat app with a different authenticated user returns an error.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes()
public abstract ByteString getRequestIdBytes()
Optional. A unique identifier for this request. A random UUID is recommended. Specifying an existing request ID returns the space created with that ID instead of creating a new space. Specifying an existing request ID from the same Chat app with a different authenticated user returns an error.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
getSpace()
public abstract Space getSpace()
Required. The displayName
and spaceType
fields must be populated. Only
SpaceType.SPACE
is supported.
If you receive the error message ALREADY_EXISTS
,
try a different displayName
. An existing space within the Google
Workspace organization might already use this display name.
If you're a member of the Developer Preview
program,
SpaceType.GROUP_CHAT
can be used if importMode
is set to true.
The space name
is assigned on the server so anything specified in this
field will be ignored.
.google.chat.v1.Space space = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Space |
The space. |
getSpaceOrBuilder()
public abstract SpaceOrBuilder getSpaceOrBuilder()
Required. The displayName
and spaceType
fields must be populated. Only
SpaceType.SPACE
is supported.
If you receive the error message ALREADY_EXISTS
,
try a different displayName
. An existing space within the Google
Workspace organization might already use this display name.
If you're a member of the Developer Preview
program,
SpaceType.GROUP_CHAT
can be used if importMode
is set to true.
The space name
is assigned on the server so anything specified in this
field will be ignored.
.google.chat.v1.Space space = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SpaceOrBuilder |
hasSpace()
public abstract boolean hasSpace()
Required. The displayName
and spaceType
fields must be populated. Only
SpaceType.SPACE
is supported.
If you receive the error message ALREADY_EXISTS
,
try a different displayName
. An existing space within the Google
Workspace organization might already use this display name.
If you're a member of the Developer Preview
program,
SpaceType.GROUP_CHAT
can be used if importMode
is set to true.
The space name
is assigned on the server so anything specified in this
field will be ignored.
.google.chat.v1.Space space = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the space field is set. |