Interface CreateSpaceRequestOrBuilder (0.5.0)

public interface CreateSpaceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
TypeDescription
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
TypeDescription
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 when creating a space, try a different displayName. An existing space within the Google Workspace organization might already use this display name.

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
TypeDescription
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 when creating a space, try a different displayName. An existing space within the Google Workspace organization might already use this display name.

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
TypeDescription
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 when creating a space, try a different displayName. An existing space within the Google Workspace organization might already use this display name.

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
TypeDescription
boolean

Whether the space field is set.