Class SpacesResource.MessagePinsResource.ListRequest
Lists message pins in a space. Users can pin important messages in spaces for easy access. For more
information, see Pin or unpin a conversation in Google
Chat. Requires user
authentication with one
of the following authorization
scopes: -
https://www.googleapis.com/auth/chat.spaces.pins.readonly -
https://www.googleapis.com/auth/chat.spaces.pins -
https://www.googleapis.com/auth/chat.spaces.readonly - https://www.googleapis.com/auth/chat.spaces
Inheritance
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class SpacesResource.MessagePinsResource.ListRequest : HangoutsChatBaseServiceRequest<ListMessagePinsResponse>, IClientServiceRequest<ListMessagePinsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
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
PageSize
Optional. The maximum number of message pins returned. The service might return fewer messages than
this value. The maximum value is 100. If you use a value more than 100, it's automatically changed
to 100. If unspecified, at most 100 message pins will be returned. Negative values return an
INVALID_ARGUMENT error.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. A page token received from a previous list message pins call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The parent space which owns the collection of pinned items Format: spaces/{space}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 List parameter list.
Declaration
protected override void InitParameters()