Class: Google::Apis::AnalyticsV3::GaData::DataTable

Inherits:
Object
  • Object
show all
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

Classes: Col, Row

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DataTable

Returns a new instance of DataTable



2788
2789
2790
# File 'generated/google/apis/analytics_v3/classes.rb', line 2788

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#colsArray<Google::Apis::AnalyticsV3::GaData::DataTable::Col>

Corresponds to the JSON property cols



2781
2782
2783
# File 'generated/google/apis/analytics_v3/classes.rb', line 2781

def cols
  @cols
end

#rowsArray<Google::Apis::AnalyticsV3::GaData::DataTable::Row>

Corresponds to the JSON property rows



2786
2787
2788
# File 'generated/google/apis/analytics_v3/classes.rb', line 2786

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2793
2794
2795
2796
# File 'generated/google/apis/analytics_v3/classes.rb', line 2793

def update!(**args)
  @cols = args[:cols] if args.key?(:cols)
  @rows = args[:rows] if args.key?(:rows)
end