Class: Google::Apis::DfareportingV3_4::PathReportCompatibleFields

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



8675
8676
8677
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8675

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

Instance Attribute Details

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

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



8649
8650
8651
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8649

def channel_groupings
  @channel_groupings
end

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

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



8655
8656
8657
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8655

def dimensions
  @dimensions
end

#kindString

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

Returns:

  • (String)


8661
8662
8663
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8661

def kind
  @kind
end

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

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



8667
8668
8669
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8667

def metrics
  @metrics
end

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

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



8673
8674
8675
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8673

def path_filters
  @path_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8680
8681
8682
8683
8684
8685
8686
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8680

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