Show / Hide Table of Contents

Class CreateSpaceRequest

A request to create a named space with no members.

Inheritance
object
CreateSpaceRequest
Implements
IMessage<CreateSpaceRequest>
IEquatable<CreateSpaceRequest>
IDeepCloneable<CreateSpaceRequest>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class CreateSpaceRequest : IMessage<CreateSpaceRequest>, IEquatable<CreateSpaceRequest>, IDeepCloneable<CreateSpaceRequest>, IBufferMessage, IMessage

Constructors

CreateSpaceRequest()

Declaration
public CreateSpaceRequest()

CreateSpaceRequest(CreateSpaceRequest)

Declaration
public CreateSpaceRequest(CreateSpaceRequest other)
Parameters
Type Name Description
CreateSpaceRequest other

Properties

RequestId

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.

Declaration
public string RequestId { get; set; }
Property Value
Type Description
string

Space

Required. The displayName and spaceType fields must be populated. Only SpaceType.SPACE and SpaceType.GROUP_CHAT are supported. SpaceType.GROUP_CHAT can only be used if importMode is set to true.

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.

The space name is assigned on the server so anything specified in this field will be ignored.

Declaration
public Space Space { get; set; }
Property Value
Type Description
Space
In this article
Back to top Generated by DocFX