Class: Google::Apis::DfareportingV3_5::PathReportCompatibleFields

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb

Overview

Represents fields that are compatible to be selected for a report of type " PATH".

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathReportCompatibleFields

Returns a new instance of PathReportCompatibleFields.



8321
8322
8323
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8321

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

Instance Attribute Details

#channel_groupingsArray<Google::Apis::DfareportingV3_5::Dimension>

Dimensions which are compatible to be selected in the "channelGroupings" section of the report. Corresponds to the JSON property channelGroupings



8295
8296
8297
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8295

def channel_groupings
  @channel_groupings
end

#dimensionsArray<Google::Apis::DfareportingV3_5::Dimension>

Dimensions which are compatible to be selected in the "dimensions" section of the report. Corresponds to the JSON property dimensions



8301
8302
8303
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8301

def dimensions
  @dimensions
end

#kindString

The kind of resource this is, in this case dfareporting# pathReportCompatibleFields. Corresponds to the JSON property kind

Returns:

  • (String)


8307
8308
8309
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8307

def kind
  @kind
end

#metricsArray<Google::Apis::DfareportingV3_5::Metric>

Metrics which are compatible to be selected in the "metricNames" section of the report. Corresponds to the JSON property metrics



8313
8314
8315
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8313

def metrics
  @metrics
end

#path_filtersArray<Google::Apis::DfareportingV3_5::Dimension>

Dimensions which are compatible to be selected in the "pathFilters" section of the report. Corresponds to the JSON property pathFilters



8319
8320
8321
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8319

def path_filters
  @path_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8326
8327
8328
8329
8330
8331
8332
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8326

def update!(**args)
  @channel_groupings = args[:channel_groupings] if args.key?(:channel_groupings)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @kind = args[:kind] if args.key?(:kind)
  @metrics = args[:metrics] if args.key?(:metrics)
  @path_filters = args[:path_filters] if args.key?(:path_filters)
end