Class: Google::Apis::DfareportingV4::PathReportCompatibleFields

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.



8869
8870
8871
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8869

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

Instance Attribute Details

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

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



8843
8844
8845
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8843

def channel_groupings
  @channel_groupings
end

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

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



8849
8850
8851
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8849

def dimensions
  @dimensions
end

#kindString

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

Returns:

  • (String)


8855
8856
8857
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8855

def kind
  @kind
end

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

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



8861
8862
8863
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8861

def metrics
  @metrics
end

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

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



8867
8868
8869
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8867

def path_filters
  @path_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8874
8875
8876
8877
8878
8879
8880
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8874

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