Class DuplicateSheetRequest
Duplicates the contents of a sheet.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class DuplicateSheetRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InsertSheetIndex
The zero-based index where the new sheet should be inserted. The index of all sheets after this are incremented.
Declaration
[JsonProperty("insertSheetIndex")]
public virtual int? InsertSheetIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
NewSheetId
If set, the ID of the new sheet. If not set, an ID is chosen. If set, the ID must not conflict with any existing sheet ID. If set, it must be non-negative.
Declaration
[JsonProperty("newSheetId")]
public virtual int? NewSheetId { get; set; }
Property Value
Type | Description |
---|---|
int? |
NewSheetName
The name of the new sheet. If empty, a new name is chosen for you.
Declaration
[JsonProperty("newSheetName")]
public virtual string NewSheetName { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceSheetId
The sheet to duplicate. If the source sheet is of DATA_SOURCE type, its backing DataSource is also duplicated and associated with the new copy of the sheet. No data execution is triggered, the grid data of this sheet is also copied over but only available after the batch request completes.
Declaration
[JsonProperty("sourceSheetId")]
public virtual int? SourceSheetId { get; set; }
Property Value
Type | Description |
---|---|
int? |