younifyd
Menu

Sheets.spreadsheets.get

Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.

GET/v4/spreadsheets/{spreadsheetId}

Use it in a workflow

  1. Add a step and choose the Google Sheets connector.
  2. Pick the Sheets.spreadsheets.get action (under spreadsheets).
  3. Fill in the fields below, then reference the result from later steps as {{sheetsSpreadsheetsGet.response.data}}.

Request

Path parameters

spreadsheetIdstringrequired

The spreadsheet to request.

Query parameters

$.xgafvstring

V1 error format.

One of12

access_tokenstring

OAuth access token.

altstring

Data format for response.

One ofjsonmediaproto

callbackstring

JSONP

fieldsstring

Selector specifying which fields to include in a partial response.

keystring

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_tokenstring

OAuth 2.0 token for the current user.

prettyPrintboolean

Returns response with indentations and line breaks.

quotaUserstring

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

upload_protocolstring

Upload protocol for media (e.g. "raw", "multipart").

uploadTypestring

Legacy upload protocol for media (e.g. "media", "multipart").

includeGridDataboolean

True if grid data should be returned. This parameter is ignored if a field mask was set in the request.

rangesarray<string>

The ranges to retrieve from the spreadsheet.

Response

Returns 200 with an object. Read it in later steps with {{sheetsSpreadsheetsGet.response.data.<field>}}.

dataSourceSchedulesarray<object>

Output only. A list of data source refresh schedules.

dailyScheduleobject1 fields

A schedule for data to refresh every day in a given time interval.

enabledboolean

True if the refresh schedule is enabled, or false otherwise.

monthlyScheduleobject2 fields

A monthly schedule for data to refresh on specific days in the month in a given time interval.

nextRunobject2 fields

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

refreshScopestring

The scope of the refresh. Must be ALL_DATA_SOURCES.

One ofDATA_SOURCE_REFRESH_SCOPE_UNSPECIFIEDALL_DATA_SOURCES

weeklyScheduleobject2 fields

A weekly schedule for data to refresh on specific days in a given time interval.

dataSourcesarray<object>

A list of external data sources connected with the spreadsheet.

calculatedColumnsarray<object>2 fields

All calculated columns in the data source.

dataSourceIdstring

The spreadsheet-scoped unique ID that identifies the data source. Example: 1080547365.

sheetIdinteger (int32)

The ID of the Sheet connected with the data source. The field cannot be changed once set. When creating a data source, an associated DATA_SOURCE sheet is also created, if the field is not specified, the ID of the created sheet will be randomly generated.

specobject2 fields

This specifies the details of the data source. For example, for BigQuery, this specifies information about the BigQuery source.

developerMetadataarray<object>

The developer metadata associated with a spreadsheet.

locationobject4 fields

A location where metadata may be associated in a spreadsheet.

metadataIdinteger (int32)

The spreadsheet-scoped unique ID that identifies the metadata. IDs may be specified when metadata is created, otherwise one will be randomly generated and assigned. Must be positive.

metadataKeystring

The metadata key. There may be multiple metadata in a spreadsheet with the same key. Developer metadata must always have a key specified.

metadataValuestring

Data associated with the metadata's key.

visibilitystring

The metadata visibility. Developer metadata must always have a visibility specified.

One ofDEVELOPER_METADATA_VISIBILITY_UNSPECIFIEDDOCUMENTPROJECT

namedRangesarray<object>

The named ranges defined in a spreadsheet.

namestring

The name of the named range.

namedRangeIdstring

The ID of the named range.

rangeobject5 fields

A range on a sheet. All indexes are zero-based. Indexes are half open, i.e. the start index is inclusive and the end index is exclusive -- [start_index, end_index). Missing indexes indicate the range is unbounded on that side. For example, if `"Sheet1"` is sheet ID 123456, then: `Sheet1!A1:A1 == sheet_id: 123456, start_row_index: 0, end_row_index: 1, start_column_index: 0, end_column_index: 1` `Sheet1!A3:B4 == sheet_id: 123456, start_row_index: 2, end_row_index: 4, start_column_index: 0, end_column_index: 2` `Sheet1!A:B == sheet_id: 123456, start_column_index: 0, end_column_index: 2` `Sheet1!A5:B == sheet_id: 123456, start_row_index: 4, start_column_index: 0, end_column_index: 2` `Sheet1 == sheet_id: 123456` The start index must always be less than or equal to the end index. If the start index equals the end index, then the range is empty. Empty ranges are typically not meaningful and are usually rendered in the UI as `#REF!`.

propertiesobject

Properties of a spreadsheet.

autoRecalcstring

The amount of time to wait before volatile functions are recalculated.

One ofRECALCULATION_INTERVAL_UNSPECIFIEDON_CHANGEMINUTEHOUR

defaultFormatobject12 fields

The format of a cell.

iterativeCalculationSettingsobject2 fields

Settings to control how circular dependencies are resolved with iterative calculation.

localestring

The locale of the spreadsheet in one of the following formats: * an ISO 639-1 language code such as `en` * an ISO 639-2 language code such as `fil`, if no 639-1 code exists * a combination of the ISO language code and country code, such as `en_US` Note: when updating this field, not all locales/languages are supported.

spreadsheetThemeobject2 fields

Represents spreadsheet theme

timeZonestring

The time zone of the spreadsheet, in CLDR format such as `America/New_York`. If the time zone isn't recognized, this may be a custom time zone such as `GMT-07:00`.

titlestring

The title of the spreadsheet.

sheetsarray<object>

The sheets that are part of a spreadsheet.

bandedRangesarray<object>4 fields

The banded (alternating colors) ranges on this sheet.

basicFilterobject4 fields

The default filter associated with a sheet.

chartsarray<object>4 fields

The specifications of every chart on this sheet.

columnGroupsarray<object>3 fields

All column groups on this sheet, ordered by increasing range start index, then by group depth.

conditionalFormatsarray<object>3 fields

The conditional format rules in this sheet.

dataarray<object>5 fields

Data in the grid, if this is a grid sheet. The number of GridData objects returned is dependent on the number of ranges requested on this sheet. For example, if this is representing `Sheet1`, and the spreadsheet was requested with ranges `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a startRow/startColumn of `0`, while the second one will have `startRow 14` (zero-based row 15), and `startColumn 3` (zero-based column D). For a DATA_SOURCE sheet, you can not request a specific range, the GridData contains all the values.

developerMetadataarray<object>5 fields

The developer metadata associated with a sheet.

filterViewsarray<object>7 fields

The filter views in this sheet.

mergesarray<object>5 fields

The ranges that are merged together.

propertiesobject10 fields

Properties of a sheet.

protectedRangesarray<object>8 fields

The protected ranges in this sheet.

rowGroupsarray<object>3 fields

All row groups on this sheet, ordered by increasing range start index, then by group depth.

slicersarray<object>3 fields

The slicers on this sheet.

spreadsheetIdstring

The ID of the spreadsheet. This field is read-only.

spreadsheetUrlstring

The url of the spreadsheet. This field is read-only.

json
{
  "dataSourceSchedules": [
    {
      "dailySchedule": {
        "startTime": {
          "hours": 0,
          "minutes": 0,
          "nanos": 0,
          "seconds": 0
        }
      },
      "enabled": false,
      "monthlySchedule": {
        "daysOfMonth": [
          0
        ],
        "startTime": {
          "hours": 0,
          "minutes": 0,
          "nanos": 0,
          "seconds": 0
        }
      },
      "nextRun": {
        "endTime": "string",
        "startTime": "string"
      },
      "refreshScope": "DATA_SOURCE_REFRESH_SCOPE_UNSPECIFIED",
      "weeklySchedule": {
        "daysOfWeek": [
          "DAY_OF_WEEK_UNSPECIFIED"
        ],
        "startTime": {
          "hours": 0,
          "minutes": 0,
          "nanos": 0,
          "seconds": 0
        }
      }
    }
  ],
  "dataSources": [
    {
      "calculatedColumns": [
        {
          "formula": "string",
          "reference": {
            "name": "string"
          }
        }
      ],
      "dataSourceId": "string",
      "sheetId": 0,
      "spec": {
        "bigQuery": {
          "projectId": "string",
          "querySpec": {
            "rawQuery": "string"
          },
          "tableSpec": {
            "datasetId": "string",
            "tableId": "string",
            "tableProjectId": "string"
          }
        },
        "parameters": [
          {
            "name": "string",
            "namedRangeId": "string",
            "range": {
              "endColumnIndex": null,
              "endRowIndex": null,
              "sheetId": null,
              "startColumnIndex": null,
              "startRowIndex": null
            }
          }
        ]
      }
    }
  ],
  "developerMetadata": [
    {
      "location": {
        "dimensionRange": {
          "dimension": "DIMENSION_UNSPECIFIED",
          "endIndex": 0,
          "sheetId": 0,
          "startIndex": 0
        },
        "locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
        "sheetId": 0,
        "spreadsheet": false
      },
      "metadataId": 0,
      "metadataKey": "string",
      "metadataValue": "string",
      "visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
    }
  ],
  "namedRanges": [
    {
      "name": "string",
      "namedRangeId": "string",
      "range": {
        "endColumnIndex": 0,
        "endRowIndex": 0,
        "sheetId": 0,
        "startColumnIndex": 0,
        "startRowIndex": 0
      }
    }
  ],
  "properties": {
    "autoRecalc": "RECALCULATION_INTERVAL_UNSPECIFIED",
    "defaultFormat": {
      "backgroundColor": {
        "alpha": 0,
        "blue": 0,
        "green": 0,
        "red": 0
      },
      "backgroundColorStyle": {
        "rgbColor": {
          "alpha": 0,
          "blue": 0,
          "green": 0,
          "red": 0
        },
        "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
      },
      "borders": {
        "bottom": {
          "color": {
            "alpha": 0,
            "blue": 0,
            "green": 0,
            "red": 0
          },
          "colorStyle": {
            "rgbColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
          },
          "style": "STYLE_UNSPECIFIED",
          "width": 0
        },
        "left": {
          "color": {
            "alpha": 0,
            "blue": 0,
            "green": 0,
            "red": 0
          },
          "colorStyle": {
            "rgbColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
          },
          "style": "STYLE_UNSPECIFIED",
          "width": 0
        },
        "right": {
          "color": {
            "alpha": 0,
            "blue": 0,
            "green": 0,
            "red": 0
          },
          "colorStyle": {
            "rgbColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
          },
          "style": "STYLE_UNSPECIFIED",
          "width": 0
        },
        "top": {
          "color": {
            "alpha": 0,
            "blue": 0,
            "green": 0,
            "red": 0
          },
          "colorStyle": {
            "rgbColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
          },
          "style": "STYLE_UNSPECIFIED",
          "width": 0
        }
      },
      "horizontalAlignment": "HORIZONTAL_ALIGN_UNSPECIFIED",
      "hyperlinkDisplayType": "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED",
      "numberFormat": {
        "pattern": "string",
        "type": "NUMBER_FORMAT_TYPE_UNSPECIFIED"
      },
      "padding": {
        "bottom": 0,
        "left": 0,
        "right": 0,
        "top": 0
      },
      "textDirection": "TEXT_DIRECTION_UNSPECIFIED",
      "textFormat": {
        "bold": false,
        "fontFamily": "string",
        "fontSize": 0,
        "foregroundColor": {
          "alpha": 0,
          "blue": 0,
          "green": 0,
          "red": 0
        },
        "foregroundColorStyle": {
          "rgbColor": {
            "alpha": 0,
            "blue": 0,
            "green": 0,
            "red": 0
          },
          "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
        },
        "italic": false,
        "link": {
          "uri": "string"
        },
        "strikethrough": false,
        "underline": false
      },
      "textRotation": {
        "angle": 0,
        "vertical": false
      },
      "verticalAlignment": "VERTICAL_ALIGN_UNSPECIFIED",
      "wrapStrategy": "WRAP_STRATEGY_UNSPECIFIED"
    },
    "iterativeCalculationSettings": {
      "convergenceThreshold": 0,
      "maxIterations": 0
    },
    "locale": "string",
    "spreadsheetTheme": {
      "primaryFontFamily": "string",
      "themeColors": [
        {
          "color": {
            "rgbColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
          },
          "colorType": "THEME_COLOR_TYPE_UNSPECIFIED"
        }
      ]
    },
    "timeZone": "string",
    "title": "string"
  },
  "sheets": [
    {
      "bandedRanges": [
        {
          "bandedRangeId": 0,
          "columnProperties": {
            "firstBandColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "firstBandColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "footerColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "footerColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "headerColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "headerColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "secondBandColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "secondBandColorStyle": {
              "rgbColor": null,
              "themeColor": null
            }
          },
          "range": {
            "endColumnIndex": 0,
            "endRowIndex": 0,
            "sheetId": 0,
            "startColumnIndex": 0,
            "startRowIndex": 0
          },
          "rowProperties": {
            "firstBandColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "firstBandColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "footerColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "footerColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "headerColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "headerColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "secondBandColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "secondBandColorStyle": {
              "rgbColor": null,
              "themeColor": null
            }
          }
        }
      ],
      "basicFilter": {
        "criteria": {},
        "filterSpecs": [
          {
            "columnIndex": 0,
            "dataSourceColumnReference": {
              "name": null
            },
            "filterCriteria": {
              "condition": null,
              "hiddenValues": null,
              "visibleBackgroundColor": null,
              "visibleBackgroundColorStyle": null,
              "visibleForegroundColor": null,
              "visibleForegroundColorStyle": null
            }
          }
        ],
        "range": {
          "endColumnIndex": 0,
          "endRowIndex": 0,
          "sheetId": 0,
          "startColumnIndex": 0,
          "startRowIndex": 0
        },
        "sortSpecs": [
          {
            "backgroundColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "backgroundColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "dataSourceColumnReference": {
              "name": null
            },
            "dimensionIndex": 0,
            "foregroundColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "foregroundColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "sortOrder": "SORT_ORDER_UNSPECIFIED"
          }
        ]
      },
      "charts": [
        {
          "border": {
            "color": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "colorStyle": {
              "rgbColor": null,
              "themeColor": null
            }
          },
          "chartId": 0,
          "position": {
            "newSheet": false,
            "overlayPosition": {
              "anchorCell": null,
              "heightPixels": null,
              "offsetXPixels": null,
              "offsetYPixels": null,
              "widthPixels": null
            },
            "sheetId": 0
          },
          "spec": {
            "altText": "string",
            "backgroundColor": {
              "alpha": null,
              "blue": null,
              "green": null,
              "red": null
            },
            "backgroundColorStyle": {
              "rgbColor": null,
              "themeColor": null
            },
            "basicChart": {
              "axis": null,
              "chartType": null,
              "compareMode": null,
              "domains": null,
              "headerCount": null,
              "interpolateNulls": null,
              "legendPosition": null,
              "lineSmoothing": null,
              "series": null,
              "stackedType": null,
              "threeDimensional": null,
              "totalDataLabel": null
            },
            "bubbleChart": {
              "bubbleBorderColor": null,
              "bubbleBorderColorStyle": null,
              "bubbleLabels": null,
              "bubbleMaxRadiusSize": null,
              "bubbleMinRadiusSize": null,
              "bubbleOpacity": null,
              "bubbleSizes": null,
              "bubbleTextStyle": null,
              "domain": null,
              "groupIds": null,
              "legendPosition": null,
              "series": null
            },
            "candlestickChart": {
              "data": null,
              "domain": null
            },
            "dataSourceChartProperties": {
              "dataExecutionStatus": null,
              "dataSourceId": null
            },
            "filterSpecs": [
              null
            ],
            "fontName": "string",
            "hiddenDimensionStrategy": "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
            "histogramChart": {
              "bucketSize": null,
              "legendPosition": null,
              "outlierPercentile": null,
              "series": null,
              "showItemDividers": null
            },
            "maximized": false
          }
        }
      ],
      "columnGroups": [
        {
          "collapsed": false,
          "depth": 0,
          "range": {
            "dimension": "DIMENSION_UNSPECIFIED",
            "endIndex": 0,
            "sheetId": 0,
            "startIndex": 0
          }
        }
      ],
      "conditionalFormats": [
        {
          "booleanRule": {
            "condition": {
              "type": null,
              "values": null
            },
            "format": {
              "backgroundColor": null,
              "backgroundColorStyle": null,
              "borders": null,
              "horizontalAlignment": null,
              "hyperlinkDisplayType": null,
              "numberFormat": null,
              "padding": null,
              "textDirection": null,
              "textFormat": null,
              "textRotation": null,
              "verticalAlignment": null,
              "wrapStrategy": null
            }
          },
          "gradientRule": {
            "maxpoint": {
              "color": null,
              "colorStyle": null,
              "type": null,
              "value": null
            },
            "midpoint": {
              "color": null,
              "colorStyle": null,
              "type": null,
              "value": null
            },
            "minpoint": {
              "color": null,
              "colorStyle": null,
              "type": null,
              "value": null
            }
          },
          "ranges": [
            {
              "endColumnIndex": null,
              "endRowIndex": null,
              "sheetId": null,
              "startColumnIndex": null,
              "startRowIndex": null
            }
          ]
        }
      ],
      "data": [
        {
          "columnMetadata": [
            {
              "dataSourceColumnReference": null,
              "developerMetadata": null,
              "hiddenByFilter": null,
              "hiddenByUser": null,
              "pixelSize": null
            }
          ],
          "rowData": [
            {
              "values": null
            }
          ],
          "rowMetadata": [
            {
              "dataSourceColumnReference": null,
              "developerMetadata": null,
              "hiddenByFilter": null,
              "hiddenByUser": null,
              "pixelSize": null
            }
          ],
          "startColumn": 0,
          "startRow": 0
        }
      ],
      "developerMetadata": [
        {
          "location": {
            "dimensionRange": {
              "dimension": null,
              "endIndex": null,
              "sheetId": null,
              "startIndex": null
            },
            "locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
            "sheetId": 0,
            "spreadsheet": false
          },
          "metadataId": 0,
          "metadataKey": "string",
          "metadataValue": "string",
          "visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
        }
      ],
      "filterViews": [
        {
          "criteria": {},
          "filterSpecs": [
            {
              "columnIndex": null,
              "dataSourceColumnReference": null,
              "filterCriteria": null
            }
          ],
          "filterViewId": 0,
          "namedRangeId": "string",
          "range": {
            "endColumnIndex": 0,
            "endRowIndex": 0,
            "sheetId": 0,
            "startColumnIndex": 0,
            "startRowIndex": 0
          },
          "sortSpecs": [
            {
              "backgroundColor": null,
              "backgroundColorStyle": null,
              "dataSourceColumnReference": null,
              "dimensionIndex": null,
              "foregroundColor": null,
              "foregroundColorStyle": null,
              "sortOrder": null
            }
          ],
          "title": "string"
        }
      ],
      "merges": [
        {
          "endColumnIndex": 0,
          "endRowIndex": 0,
          "sheetId": 0,
          "startColumnIndex": 0,
          "startRowIndex": 0
        }
      ],
      "properties": {
        "dataSourceSheetProperties": {
          "columns": [
            {
              "formula": null,
              "reference": null
            }
          ],
          "dataExecutionStatus": {
            "errorCode": "string",
            "errorMessage": "string",
            "lastRefreshTime": "string",
            "state": "string"
          },
          "dataSourceId": "string"
        },
        "gridProperties": {
          "columnCount": 0,
          "columnGroupControlAfter": false,
          "frozenColumnCount": 0,
          "frozenRowCount": 0,
          "hideGridlines": false,
          "rowCount": 0,
          "rowGroupControlAfter": false
        },
        "hidden": false,
        "index": 0,
        "rightToLeft": false,
        "sheetId": 0,
        "sheetType": "SHEET_TYPE_UNSPECIFIED",
        "tabColor": {
          "alpha": 0,
          "blue": 0,
          "green": 0,
          "red": 0
        },
        "tabColorStyle": {
          "rgbColor": {
            "alpha": 0,
            "blue": 0,
            "green": 0,
            "red": 0
          },
          "themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
        },
        "title": "string"
      },
      "protectedRanges": [
        {
          "description": "string",
          "editors": {
            "domainUsersCanEdit": false,
            "groups": [
              null
            ],
            "users": [
              null
            ]
          },
          "namedRangeId": "string",
          "protectedRangeId": 0,
          "range": {
            "endColumnIndex": 0,
            "endRowIndex": 0,
            "sheetId": 0,
            "startColumnIndex": 0,
            "startRowIndex": 0
          },
          "requestingUserCanEdit": false,
          "unprotectedRanges": [
            {
              "endColumnIndex": null,
              "endRowIndex": null,
              "sheetId": null,
              "startColumnIndex": null,
              "startRowIndex": null
            }
          ],
          "warningOnly": false
        }
      ],
      "rowGroups": [
        {
          "collapsed": false,
          "depth": 0,
          "range": {
            "dimension": "DIMENSION_UNSPECIFIED",
            "endIndex": 0,
            "sheetId": 0,
            "startIndex": 0
          }
        }
      ]
    }
  ],
  "spreadsheetId": "string",
  "spreadsheetUrl": "string"
}

Need more? See the Google Sheets guide for connection setup and behaviour shared by every action.

Sheets.spreadsheets.get — Google Sheets — Documentation