Class: Google::Apis::AnalyticsV3::GaData::DataTable
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::GaData::DataTable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#cols ⇒ Array<Google::Apis::AnalyticsV3::GaData::DataTable::Col>
Corresponds to the JSON property
cols
. -
#rows ⇒ Array<Google::Apis::AnalyticsV3::GaData::DataTable::Row>
Corresponds to the JSON property
rows
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataTable
constructor
A new instance of DataTable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DataTable
Returns a new instance of DataTable
2666 2667 2668 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cols ⇒ Array<Google::Apis::AnalyticsV3::GaData::DataTable::Col>
Corresponds to the JSON property cols
2659 2660 2661 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2659 def cols @cols end |
#rows ⇒ Array<Google::Apis::AnalyticsV3::GaData::DataTable::Row>
Corresponds to the JSON property rows
2664 2665 2666 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2664 def rows @rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2671 2672 2673 2674 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2671 def update!(**args) @cols = args[:cols] if args.key?(:cols) @rows = args[:rows] if args.key?(:rows) end |