Class: Google::Apis::SheetsV4::Spreadsheet
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::Spreadsheet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb
Overview
Resource that represents a spreadsheet.
Instance Attribute Summary collapse
-
#developer_metadata ⇒ Array<Google::Apis::SheetsV4::DeveloperMetadata>
The developer metadata associated with a spreadsheet.
-
#named_ranges ⇒ Array<Google::Apis::SheetsV4::NamedRange>
The named ranges defined in a spreadsheet.
-
#properties ⇒ Google::Apis::SheetsV4::SpreadsheetProperties
Properties of a spreadsheet.
-
#sheets ⇒ Array<Google::Apis::SheetsV4::Sheet>
The sheets that are part of a spreadsheet.
-
#spreadsheet_id ⇒ String
The ID of the spreadsheet.
-
#spreadsheet_url ⇒ String
The url of the spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Spreadsheet
constructor
A new instance of Spreadsheet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Spreadsheet
Returns a new instance of Spreadsheet
7596 7597 7598 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7596 def initialize(**args) update!(**args) end |
Instance Attribute Details
#developer_metadata ⇒ Array<Google::Apis::SheetsV4::DeveloperMetadata>
The developer metadata associated with a spreadsheet.
Corresponds to the JSON property developerMetadata
7567 7568 7569 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7567 def @developer_metadata end |
#named_ranges ⇒ Array<Google::Apis::SheetsV4::NamedRange>
The named ranges defined in a spreadsheet.
Corresponds to the JSON property namedRanges
7572 7573 7574 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7572 def named_ranges @named_ranges end |
#properties ⇒ Google::Apis::SheetsV4::SpreadsheetProperties
Properties of a spreadsheet.
Corresponds to the JSON property properties
7577 7578 7579 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7577 def properties @properties end |
#sheets ⇒ Array<Google::Apis::SheetsV4::Sheet>
The sheets that are part of a spreadsheet.
Corresponds to the JSON property sheets
7582 7583 7584 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7582 def sheets @sheets end |
#spreadsheet_id ⇒ String
The ID of the spreadsheet.
This field is read-only.
Corresponds to the JSON property spreadsheetId
7588 7589 7590 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7588 def spreadsheet_id @spreadsheet_id end |
#spreadsheet_url ⇒ String
The url of the spreadsheet.
This field is read-only.
Corresponds to the JSON property spreadsheetUrl
7594 7595 7596 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7594 def spreadsheet_url @spreadsheet_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7601 7602 7603 7604 7605 7606 7607 7608 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7601 def update!(**args) @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 |