All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sheets.v4.model.DuplicateSheetRequest.html Maven / Gradle / Ivy







DuplicateSheetRequest (Google Sheets API v4-rev20230526-2.0.0)












com.google.api.services.sheets.v4.model

Class DuplicateSheetRequest

    • Constructor Detail

      • DuplicateSheetRequest

        public DuplicateSheetRequest()
    • Method Detail

      • getInsertSheetIndex

        public Integer getInsertSheetIndex()
        The zero-based index where the new sheet should be inserted. The index of all sheets after this are incremented.
        Returns:
        value or null for none
      • setInsertSheetIndex

        public DuplicateSheetRequest setInsertSheetIndex(Integer insertSheetIndex)
        The zero-based index where the new sheet should be inserted. The index of all sheets after this are incremented.
        Parameters:
        insertSheetIndex - insertSheetIndex or null for none
      • getNewSheetId

        public Integer getNewSheetId()
        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.
        Returns:
        value or null for none
      • setNewSheetId

        public DuplicateSheetRequest setNewSheetId(Integer 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.
        Parameters:
        newSheetId - newSheetId or null for none
      • getNewSheetName

        public String getNewSheetName()
        The name of the new sheet. If empty, a new name is chosen for you.
        Returns:
        value or null for none
      • setNewSheetName

        public DuplicateSheetRequest setNewSheetName(String newSheetName)
        The name of the new sheet. If empty, a new name is chosen for you.
        Parameters:
        newSheetName - newSheetName or null for none
      • getSourceSheetId

        public Integer getSourceSheetId()
        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.
        Returns:
        value or null for none
      • setSourceSheetId

        public DuplicateSheetRequest setSourceSheetId(Integer 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.
        Parameters:
        sourceSheetId - sourceSheetId or null for none
      • clone

        public DuplicateSheetRequest clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy