View Source GoogleApi.Sheets.V4.Model.DuplicateSheetRequest (google_api_sheets v0.34.0)

Duplicates the contents of a sheet.

Attributes

  • insertSheetIndex (type: integer(), default: nil) - The zero-based index where the new sheet should be inserted. The index of all sheets after this are incremented.
  • newSheetId (type: integer(), default: nil) - 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.
  • newSheetName (type: String.t, default: nil) - The name of the new sheet. If empty, a new name is chosen for you.
  • sourceSheetId (type: integer(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.DuplicateSheetRequest{
  insertSheetIndex: integer() | nil,
  newSheetId: integer() | nil,
  newSheetName: String.t() | nil,
  sourceSheetId: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.