Show / Hide Table of Contents

Class SpreadsheetsResource.SheetsResource.CopyToRequest

Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<SheetProperties>
SheetsBaseServiceRequest<SheetProperties>
SpreadsheetsResource.SheetsResource.CopyToRequest
Implements
IClientServiceRequest<SheetProperties>
IClientServiceRequest
Inherited Members
SheetsBaseServiceRequest<SheetProperties>.Xgafv
SheetsBaseServiceRequest<SheetProperties>.AccessToken
SheetsBaseServiceRequest<SheetProperties>.Alt
SheetsBaseServiceRequest<SheetProperties>.Callback
SheetsBaseServiceRequest<SheetProperties>.Fields
SheetsBaseServiceRequest<SheetProperties>.Key
SheetsBaseServiceRequest<SheetProperties>.OauthToken
SheetsBaseServiceRequest<SheetProperties>.PrettyPrint
SheetsBaseServiceRequest<SheetProperties>.QuotaUser
SheetsBaseServiceRequest<SheetProperties>.UploadType
SheetsBaseServiceRequest<SheetProperties>.UploadProtocol
ClientServiceRequest<SheetProperties>.Execute()
ClientServiceRequest<SheetProperties>.ExecuteAsStream()
ClientServiceRequest<SheetProperties>.ExecuteAsync()
ClientServiceRequest<SheetProperties>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SheetProperties>.ExecuteAsStreamAsync()
ClientServiceRequest<SheetProperties>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SheetProperties>.CreateRequest(bool?)
ClientServiceRequest<SheetProperties>.GenerateRequestUri()
ClientServiceRequest<SheetProperties>.GetDefaultETagAction(string)
ClientServiceRequest<SheetProperties>.ETagAction
ClientServiceRequest<SheetProperties>.ModifyRequest
ClientServiceRequest<SheetProperties>.ValidateParameters
ClientServiceRequest<SheetProperties>.ApiVersion
ClientServiceRequest<SheetProperties>.RequestParameters
ClientServiceRequest<SheetProperties>.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.Sheets.v4
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SpreadsheetsResource.SheetsResource.CopyToRequest : SheetsBaseServiceRequest<SheetProperties>, IClientServiceRequest<SheetProperties>, IClientServiceRequest

Constructors

CopyToRequest(IClientService, CopySheetToAnotherSpreadsheetRequest, string, int)

Constructs a new CopyTo request.

Declaration
public CopyToRequest(IClientService service, CopySheetToAnotherSpreadsheetRequest body, string spreadsheetId, int sheetId)
Parameters
Type Name Description
IClientService service
CopySheetToAnotherSpreadsheetRequest body
string spreadsheetId
int sheetId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SheetProperties>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SheetProperties>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SheetProperties>.RestPath

SheetId

The ID of the sheet to copy.

Declaration
[RequestParameter("sheetId", RequestParameterType.Path)]
public virtual int SheetId { get; }
Property Value
Type Description
int

SpreadsheetId

The ID of the spreadsheet containing the sheet to copy.

Declaration
[RequestParameter("spreadsheetId", RequestParameterType.Path)]
public virtual string SpreadsheetId { get; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<SheetProperties>.GetBody()

InitParameters()

Initializes CopyTo parameter list.

Declaration
protected override void InitParameters()
Overrides
SheetsBaseServiceRequest<SheetProperties>.InitParameters()

Implements

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