Show / Hide Table of Contents

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.memberships 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
object
ClientServiceRequest
ClientServiceRequest<SpaceEvent>
HangoutsChatBaseServiceRequest<SpaceEvent>
SpacesResource.SpaceEventsResource.GetRequest
Implements
IClientServiceRequest<SpaceEvent>
IClientServiceRequest
Inherited Members
HangoutsChatBaseServiceRequest<SpaceEvent>.Xgafv
HangoutsChatBaseServiceRequest<SpaceEvent>.AccessToken
HangoutsChatBaseServiceRequest<SpaceEvent>.Alt
HangoutsChatBaseServiceRequest<SpaceEvent>.Callback
HangoutsChatBaseServiceRequest<SpaceEvent>.Fields
HangoutsChatBaseServiceRequest<SpaceEvent>.Key
HangoutsChatBaseServiceRequest<SpaceEvent>.OauthToken
HangoutsChatBaseServiceRequest<SpaceEvent>.PrettyPrint
HangoutsChatBaseServiceRequest<SpaceEvent>.QuotaUser
HangoutsChatBaseServiceRequest<SpaceEvent>.UploadType
HangoutsChatBaseServiceRequest<SpaceEvent>.UploadProtocol
ClientServiceRequest<SpaceEvent>.Execute()
ClientServiceRequest<SpaceEvent>.ExecuteAsStream()
ClientServiceRequest<SpaceEvent>.ExecuteAsync()
ClientServiceRequest<SpaceEvent>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SpaceEvent>.ExecuteAsStreamAsync()
ClientServiceRequest<SpaceEvent>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SpaceEvent>.CreateRequest(bool?)
ClientServiceRequest<SpaceEvent>.GenerateRequestUri()
ClientServiceRequest<SpaceEvent>.GetBody()
ClientServiceRequest<SpaceEvent>.GetDefaultETagAction(string)
ClientServiceRequest<SpaceEvent>.ETagAction
ClientServiceRequest<SpaceEvent>.ModifyRequest
ClientServiceRequest<SpaceEvent>.ValidateParameters
ClientServiceRequest<SpaceEvent>.ApiVersion
ClientServiceRequest<SpaceEvent>.RequestParameters
ClientServiceRequest<SpaceEvent>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<SpaceEvent>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
ClientServiceRequest<SpaceEvent>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
HangoutsChatBaseServiceRequest<SpaceEvent>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX