Class DuplicateSheetRequest
Duplicates the contents of a sheet.
Inheritance
System.Object
DuplicateSheetRequest
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|---|---|
| System.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 |
|---|---|
| System.Nullable<System.Int32> |
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 |
|---|---|
| System.Nullable<System.Int32> |
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 |
|---|---|
| System.String |
SourceSheetId
The sheet to duplicate.
Declaration
[JsonProperty("sourceSheetId")]
public virtual int? SourceSheetId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Implements
Google.Apis.Requests.IDirectResponseSchema