Class: Google::Apis::SheetsV4::BatchGetValuesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BatchGetValuesResponse
- 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
The response when retrieving more than one range of values in a spreadsheet.
Instance Attribute Summary collapse
-
#spreadsheet_id ⇒ String
The ID of the spreadsheet the data was retrieved from.
-
#value_ranges ⇒ Array<Google::Apis::SheetsV4::ValueRange>
The requested values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchGetValuesResponse
constructor
A new instance of BatchGetValuesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchGetValuesResponse
Returns a new instance of BatchGetValuesResponse
1432 1433 1434 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#spreadsheet_id ⇒ String
The ID of the spreadsheet the data was retrieved from.
Corresponds to the JSON property spreadsheetId
1424 1425 1426 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1424 def spreadsheet_id @spreadsheet_id end |
#value_ranges ⇒ Array<Google::Apis::SheetsV4::ValueRange>
The requested values. The order of the ValueRanges is the same as the
order of the requested ranges.
Corresponds to the JSON property valueRanges
1430 1431 1432 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1430 def value_ranges @value_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1437 1438 1439 1440 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1437 def update!(**args) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) @value_ranges = args[:value_ranges] if args.key?(:value_ranges) end |