Class UsersResource.SpacesResource.GetSpaceReadStateRequest
Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see Get details about a user's space read state. Requires user authentication.
Inheritance
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SpacesResource.GetSpaceReadStateRequest : HangoutsChatBaseServiceRequest<SpaceReadState>, IClientServiceRequest<SpaceReadState>, IClientServiceRequest
Constructors
GetSpaceReadStateRequest(IClientService, string)
Constructs a new GetSpaceReadState request.
Declaration
public GetSpaceReadStateRequest(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. Resource name of the space read state to retrieve. Only supports getting read state for
the calling user. To refer to the calling user, set one of the following: - The me
alias. For
example, users/me/spaces/{space}/spaceReadState
. - Their Workspace email address. For example,
users/user@example.com/spaces/{space}/spaceReadState
. - Their user id. For example,
users/123456789/spaces/{space}/spaceReadState
. Format: users/{user}/spaces/{space}/spaceReadState
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 GetSpaceReadState parameter list.
Declaration
protected override void InitParameters()