Class: Google::Apis::SheetsV4::AddSheetResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AddSheetResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
The result of adding a sheet.
Instance Attribute Summary collapse
-
#properties ⇒ Google::Apis::SheetsV4::SheetProperties
Properties of a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddSheetResponse
constructor
A new instance of AddSheetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddSheetResponse
Returns a new instance of AddSheetResponse.
379 380 381 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Google::Apis::SheetsV4::SheetProperties
Properties of a sheet.
Corresponds to the JSON property properties
377 378 379 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 377 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
384 385 386 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 384 def update!(**args) @properties = args[:properties] if args.key?(:properties) end |