Class: Google::Apis::DoubleclickbidmanagerV2::Parameters
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV2::Parameters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb
Overview
Parameters of a query or report.
Instance Attribute Summary collapse
-
#filters ⇒ Array<Google::Apis::DoubleclickbidmanagerV2::FilterPair>
Filters used to match traffic data in your report.
-
#group_bys ⇒ Array<String>
Data is grouped by the filters listed in this field.
-
#metrics ⇒ Array<String>
Metrics to include as columns in your report.
-
#options ⇒ Google::Apis::DoubleclickbidmanagerV2::Options
Additional query options.
-
#type ⇒ String
The type of the report.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Parameters
constructor
A new instance of Parameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Parameters
Returns a new instance of Parameters.
240 241 242 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::DoubleclickbidmanagerV2::FilterPair>
Filters used to match traffic data in your report.
Corresponds to the JSON property filters
217 218 219 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 217 def filters @filters end |
#group_bys ⇒ Array<String>
Data is grouped by the filters listed in this field.
Corresponds to the JSON property groupBys
222 223 224 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 222 def group_bys @group_bys end |
#metrics ⇒ Array<String>
Metrics to include as columns in your report.
Corresponds to the JSON property metrics
227 228 229 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 227 def metrics @metrics end |
#options ⇒ Google::Apis::DoubleclickbidmanagerV2::Options
Additional query options.
Corresponds to the JSON property options
232 233 234 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 232 def @options end |
#type ⇒ String
The type of the report. The type of the report will dictate what dimesions,
filters, and metrics can be used.
Corresponds to the JSON property type
238 239 240 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 238 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
245 246 247 248 249 250 251 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 245 def update!(**args) @filters = args[:filters] if args.key?(:filters) @group_bys = args[:group_bys] if args.key?(:group_bys) @metrics = args[:metrics] if args.key?(:metrics) @options = args[:options] if args.key?(:options) @type = args[:type] if args.key?(:type) end |