class Google::Apis::SheetsV4::Spreadsheet

Resource that represents a spreadsheet.

Attributes

data_source_schedules[RW]

Output only. A list of data source refresh schedules. Corresponds to the JSON property `dataSourceSchedules` @return [Array<Google::Apis::SheetsV4::DataSourceRefreshSchedule>]

data_sources[RW]

A list of external data sources connected with the spreadsheet. Corresponds to the JSON property `dataSources` @return [Array<Google::Apis::SheetsV4::DataSource>]

developer_metadata[RW]

The developer metadata associated with a spreadsheet. Corresponds to the JSON property `developerMetadata` @return [Array<Google::Apis::SheetsV4::DeveloperMetadata>]

named_ranges[RW]

The named ranges defined in a spreadsheet. Corresponds to the JSON property `namedRanges` @return [Array<Google::Apis::SheetsV4::NamedRange>]

properties[RW]

Properties of a spreadsheet. Corresponds to the JSON property `properties` @return [Google::Apis::SheetsV4::SpreadsheetProperties]

sheets[RW]

The sheets that are part of a spreadsheet. Corresponds to the JSON property `sheets` @return [Array<Google::Apis::SheetsV4::Sheet>]

spreadsheet_id[RW]

The ID of the spreadsheet. This field is read-only. Corresponds to the JSON property `spreadsheetId` @return [String]

spreadsheet_url[RW]

The url of the spreadsheet. This field is read-only. Corresponds to the JSON property `spreadsheetUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 9329
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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