Class SpacesResource.SpaceEventsResource
The "spaceEvents" collection of methods.
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class SpacesResource.SpaceEventsResource
Constructors
SpaceEventsResource(IClientService)
Constructs a new resource.
Declaration
public SpaceEventsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Returns an event from a Google Chat space. The event
payload
contains the most recent version of the resource that changed. For example, if you request an event
about a new message but the message was later updated, the server returns the updated Message
resource
in the event payload. Note: The permissionSettings
field is not returned in the Space object of the
Space event data for this request. Requires user
authentication. To get
an event, the authenticated user must be a member of the space. For an example, see Get details about
an event from a Google Chat space.
Declaration
public virtual SpacesResource.SpaceEventsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the space event. Format: |
Returns
Type | Description |
---|---|
SpacesResource.SpaceEventsResource.GetRequest |
List(string)
Lists events from a Google Chat space. For each event, the
payload
contains the most recent version of the Chat resource. For example, if you list events about new space
members, the server returns Membership
resources that contain the latest membership details. If new
members were removed during the requested period, the event payload contains an empty Membership
resource. Requires user
authentication. To list
events, the authenticated user must be a member of the space. For an example, see List events from a
Google Chat space.
Declaration
public virtual SpacesResource.SpaceEventsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the Google Chat
space where the events
occurred. Format: |
Returns
Type | Description |
---|---|
SpacesResource.SpaceEventsResource.ListRequest |