Class SpacesResource.SpaceEventsResource.GetRequest
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 with an
authorization
scope appropriate
for reading the requested data: - https://www.googleapis.com/auth/chat.spaces.readonly -
https://www.googleapis.com/auth/chat.spaces - https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.messages-https://www.googleapis.com/auth/chat.messages.reactions.readonly-https://www.googleapis.com/auth/chat.messages.reactions-https://www.googleapis.com/auth/chat.memberships.readonly-https://www.googleapis.com/auth/chat.membershipsTo 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.
Inheritance
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class SpacesResource.SpaceEventsResource.GetRequest : HangoutsChatBaseServiceRequest<SpaceEvent>, IClientServiceRequest<SpaceEvent>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the space event. Format: spaces/{space}/spaceEvents/{spaceEvent}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()