Class DeleteSpaceRequest
Request for deleting a space.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class DeleteSpaceRequest : IMessage<DeleteSpaceRequest>, IEquatable<DeleteSpaceRequest>, IDeepCloneable<DeleteSpaceRequest>, IBufferMessage, IMessage
Constructors
DeleteSpaceRequest()
Declaration
public DeleteSpaceRequest()
DeleteSpaceRequest(DeleteSpaceRequest)
Declaration
public DeleteSpaceRequest(DeleteSpaceRequest other)
Parameters
Type | Name | Description |
---|---|---|
DeleteSpaceRequest | other |
Properties
Name
Required. Resource name of the space to delete.
Format: spaces/{space}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SpaceName
Declaration
public SpaceName SpaceName { get; set; }
Property Value
Type | Description |
---|---|
SpaceName |
UseAdminAccess
When true
, the method runs using the user's Google Workspace
administrator privileges.
The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege.
Requires the chat.admin.delete
OAuth 2.0
scope.
Declaration
public bool UseAdminAccess { get; set; }
Property Value
Type | Description |
---|---|
bool |