class Google::Apis::SheetsV4::Spreadsheet
Resource that represents a spreadsheet.
Attributes
Output only. A list of data source refresh schedules. Corresponds to the JSON property `dataSourceSchedules` @return [Array<Google::Apis::SheetsV4::DataSourceRefreshSchedule>]
A list of external data sources connected with the spreadsheet. Corresponds to the JSON property `dataSources` @return [Array<Google::Apis::SheetsV4::DataSource>]
The developer metadata associated with a spreadsheet. Corresponds to the JSON property `developerMetadata` @return [Array<Google::Apis::SheetsV4::DeveloperMetadata>]
The named ranges defined in a spreadsheet. Corresponds to the JSON property `namedRanges` @return [Array<Google::Apis::SheetsV4::NamedRange>]
Properties of a spreadsheet. Corresponds to the JSON property `properties` @return [Google::Apis::SheetsV4::SpreadsheetProperties]
The sheets that are part of a spreadsheet. Corresponds to the JSON property `sheets` @return [Array<Google::Apis::SheetsV4::Sheet>]
The ID of the spreadsheet. This field is read-only. Corresponds to the JSON property `spreadsheetId` @return [String]
The url of the spreadsheet. This field is read-only. Corresponds to the JSON property `spreadsheetUrl` @return [String]
Public Class Methods
# File lib/google/apis/sheets_v4/classes.rb, line 9329 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 9334 def update!(**args) @data_source_schedules = args[:data_source_schedules] if args.key?(:data_source_schedules) @data_sources = args[:data_sources] if args.key?(:data_sources) @developer_metadata = args[:developer_metadata] if args.key?(:developer_metadata) @named_ranges = args[:named_ranges] if args.key?(:named_ranges) @properties = args[:properties] if args.key?(:properties) @sheets = args[:sheets] if args.key?(:sheets) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) @spreadsheet_url = args[:spreadsheet_url] if args.key?(:spreadsheet_url) end