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 generated report.
Instance Attribute Summary collapse
-
#filters ⇒ Array<Google::Apis::DoubleclickbidmanagerV2::FilterPair>
Filters to limit the scope of reported data.
-
#group_bys ⇒ Array<String>
Dimensions by which to segment and group the data.
-
#metrics ⇒ Array<String>
Metrics to define the data populating the report.
-
#options ⇒ Google::Apis::DoubleclickbidmanagerV2::Options
Report parameter 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.
247 248 249 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::DoubleclickbidmanagerV2::FilterPair>
Filters to limit the scope of reported data.
Corresponds to the JSON property filters
222 223 224 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 222 def filters @filters end |
#group_bys ⇒ Array<String>
Dimensions by which to segment and group the data. Defined by Filter values.
Corresponds to the JSON property groupBys
228 229 230 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 228 def group_bys @group_bys end |
#metrics ⇒ Array<String>
Metrics to define the data populating the report. Defined by Metric values.
Corresponds to the JSON property metrics
234 235 236 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 234 def metrics @metrics end |
#options ⇒ Google::Apis::DoubleclickbidmanagerV2::Options
Report parameter options.
Corresponds to the JSON property options
239 240 241 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 239 def @options end |
#type ⇒ String
The type of the report. The type of the report determines the dimesions,
filters, and metrics that can be used.
Corresponds to the JSON property type
245 246 247 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 245 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
252 253 254 255 256 257 258 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 252 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 |