Class: Google::Apis::DfareportingV2_7::PathToConversionReportCompatibleFields

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PathToConversionReportCompatibleFields

Returns a new instance of PathToConversionReportCompatibleFields



7882
7883
7884
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7882

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

Instance Attribute Details

#conversion_dimensionsArray<Google::Apis::DfareportingV2_7::Dimension>

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



7856
7857
7858
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7856

def conversion_dimensions
  @conversion_dimensions
end

#custom_floodlight_variablesArray<Google::Apis::DfareportingV2_7::Dimension>

Custom floodlight variables which are compatible to be selected in the " customFloodlightVariables" section of the report. Corresponds to the JSON property customFloodlightVariables



7862
7863
7864
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7862

def custom_floodlight_variables
  @custom_floodlight_variables
end

#kindString

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

Returns:

  • (String)


7868
7869
7870
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7868

def kind
  @kind
end

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

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



7874
7875
7876
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7874

def metrics
  @metrics
end

#per_interaction_dimensionsArray<Google::Apis::DfareportingV2_7::Dimension>

Per-interaction dimensions which are compatible to be selected in the " perInteractionDimensions" section of the report. Corresponds to the JSON property perInteractionDimensions



7880
7881
7882
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7880

def per_interaction_dimensions
  @per_interaction_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7887
7888
7889
7890
7891
7892
7893
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7887

def update!(**args)
  @conversion_dimensions = args[:conversion_dimensions] if args.key?(:conversion_dimensions)
  @custom_floodlight_variables = args[:custom_floodlight_variables] if args.key?(:custom_floodlight_variables)
  @kind = args[:kind] if args.key?(:kind)
  @metrics = args[:metrics] if args.key?(:metrics)
  @per_interaction_dimensions = args[:per_interaction_dimensions] if args.key?(:per_interaction_dimensions)
end