Class UsersResource.SectionsResource.ItemsResource.MoveRequest
Developer Preview: Moves an item from one section
to another. For example, if a section contains spaces, this method can be used to move a space to a
different section. For details, see Create and organize sections in Google
Chat. Requires user
authentication with
the authorization
scope: -
https://www.googleapis.com/auth/chat.users.sections
Inheritance
UsersResource.SectionsResource.ItemsResource.MoveRequest
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SectionsResource.ItemsResource.MoveRequest : HangoutsChatBaseServiceRequest<MoveSectionItemResponse>, IClientServiceRequest<MoveSectionItemResponse>, IClientServiceRequest
Constructors
MoveRequest(IClientService, MoveSectionItemRequest, string)
Constructs a new Move request.
Declaration
public MoveRequest(IClientService service, MoveSectionItemRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| MoveSectionItemRequest | body | |
| 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 section item to move. Format:
users/{user}/sections/{section}/items/{item}
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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Move parameter list.
Declaration
protected override void InitParameters()