public final class Spreadsheet
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Spreadsheet() |
Modifier and Type | Method and Description |
---|---|
Spreadsheet |
clone() |
List<DataSource> |
getDataSources()
A list of external data sources connected with the spreadsheet.
|
List<DataSourceRefreshSchedule> |
getDataSourceSchedules()
Output only.
|
List<DeveloperMetadata> |
getDeveloperMetadata()
The developer metadata associated with a spreadsheet.
|
List<NamedRange> |
getNamedRanges()
The named ranges defined in a spreadsheet.
|
SpreadsheetProperties |
getProperties()
Overall properties of a spreadsheet.
|
List<Sheet> |
getSheets()
The sheets that are part of a spreadsheet.
|
String |
getSpreadsheetId()
The ID of the spreadsheet.
|
String |
getSpreadsheetUrl()
The url of the spreadsheet.
|
Spreadsheet |
set(String fieldName,
Object value) |
Spreadsheet |
setDataSources(List<DataSource> dataSources)
A list of external data sources connected with the spreadsheet.
|
Spreadsheet |
setDataSourceSchedules(List<DataSourceRefreshSchedule> dataSourceSchedules)
Output only.
|
Spreadsheet |
setDeveloperMetadata(List<DeveloperMetadata> developerMetadata)
The developer metadata associated with a spreadsheet.
|
Spreadsheet |
setNamedRanges(List<NamedRange> namedRanges)
The named ranges defined in a spreadsheet.
|
Spreadsheet |
setProperties(SpreadsheetProperties properties)
Overall properties of a spreadsheet.
|
Spreadsheet |
setSheets(List<Sheet> sheets)
The sheets that are part of a spreadsheet.
|
Spreadsheet |
setSpreadsheetId(String spreadsheetId)
The ID of the spreadsheet.
|
Spreadsheet |
setSpreadsheetUrl(String spreadsheetUrl)
The url of the spreadsheet.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<DataSourceRefreshSchedule> getDataSourceSchedules()
null
for nonepublic Spreadsheet setDataSourceSchedules(List<DataSourceRefreshSchedule> dataSourceSchedules)
dataSourceSchedules
- dataSourceSchedules or null
for nonepublic List<DataSource> getDataSources()
null
for nonepublic Spreadsheet setDataSources(List<DataSource> dataSources)
dataSources
- dataSources or null
for nonepublic List<DeveloperMetadata> getDeveloperMetadata()
null
for nonepublic Spreadsheet setDeveloperMetadata(List<DeveloperMetadata> developerMetadata)
developerMetadata
- developerMetadata or null
for nonepublic List<NamedRange> getNamedRanges()
null
for nonepublic Spreadsheet setNamedRanges(List<NamedRange> namedRanges)
namedRanges
- namedRanges or null
for nonepublic SpreadsheetProperties getProperties()
null
for nonepublic Spreadsheet setProperties(SpreadsheetProperties properties)
properties
- properties or null
for nonepublic List<Sheet> getSheets()
null
for nonepublic Spreadsheet setSheets(List<Sheet> sheets)
sheets
- sheets or null
for nonepublic String getSpreadsheetId()
null
for nonepublic Spreadsheet setSpreadsheetId(String spreadsheetId)
spreadsheetId
- spreadsheetId or null
for nonepublic String getSpreadsheetUrl()
null
for nonepublic Spreadsheet setSpreadsheetUrl(String spreadsheetUrl)
spreadsheetUrl
- spreadsheetUrl or null
for nonepublic Spreadsheet set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Spreadsheet clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.