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. 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.
Inheritance
SpacesResource.SpaceEventsResource.GetRequest
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HangoutsChat.v1.Data.SpaceEvent>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HangoutsChat.v1.Data.SpaceEvent>.MethodName
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HangoutsChat.v1.Data.SpaceEvent>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()