Class: Google::Apis::GanV1beta1::Report
- Inherits:
-
Object
- Object
- Google::Apis::GanV1beta1::Report
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gan_v1beta1/classes.rb,
generated/google/apis/gan_v1beta1/representations.rb,
generated/google/apis/gan_v1beta1/representations.rb
Overview
A ReportResource representing a report of a certain type either for an advertiser or publisher.
Instance Attribute Summary collapse
-
#column_names ⇒ Array<String>
The column names for the report Corresponds to the JSON property
column_names
. -
#end_date ⇒ String
The end of the date range for this report, exclusive.
-
#kind ⇒ String
The kind for a report.
-
#matching_row_count ⇒ String
The number of matching rows before paging is applied.
-
#rows ⇒ Array<Array<Object>>
The rows of data for the report Corresponds to the JSON property
rows
. -
#start_date ⇒ String
The start of the date range for this report, inclusive.
-
#totals_rows ⇒ Array<Array<Object>>
The totals rows for the report Corresponds to the JSON property
totals_rows
. -
#type ⇒ String
The report type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Report
constructor
A new instance of Report.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Report
Returns a new instance of Report
1410 1411 1412 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_names ⇒ Array<String>
The column names for the report
Corresponds to the JSON property column_names
1373 1374 1375 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1373 def column_names @column_names end |
#end_date ⇒ String
The end of the date range for this report, exclusive.
Corresponds to the JSON property end_date
1378 1379 1380 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1378 def end_date @end_date end |
#kind ⇒ String
The kind for a report.
Corresponds to the JSON property kind
1383 1384 1385 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1383 def kind @kind end |
#matching_row_count ⇒ String
The number of matching rows before paging is applied.
Corresponds to the JSON property matching_row_count
1388 1389 1390 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1388 def matching_row_count @matching_row_count end |
#rows ⇒ Array<Array<Object>>
The rows of data for the report
Corresponds to the JSON property rows
1393 1394 1395 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1393 def rows @rows end |
#start_date ⇒ String
The start of the date range for this report, inclusive.
Corresponds to the JSON property start_date
1398 1399 1400 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1398 def start_date @start_date end |
#totals_rows ⇒ Array<Array<Object>>
The totals rows for the report
Corresponds to the JSON property totals_rows
1403 1404 1405 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1403 def totals_rows @totals_rows end |
#type ⇒ String
The report type.
Corresponds to the JSON property type
1408 1409 1410 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1408 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1415 def update!(**args) @column_names = args[:column_names] if args.key?(:column_names) @end_date = args[:end_date] if args.key?(:end_date) @kind = args[:kind] if args.key?(:kind) @matching_row_count = args[:matching_row_count] if args.key?(:matching_row_count) @rows = args[:rows] if args.key?(:rows) @start_date = args[:start_date] if args.key?(:start_date) @totals_rows = args[:totals_rows] if args.key?(:totals_rows) @type = args[:type] if args.key?(:type) end |