Class: Google::Apis::DfareportingV3_4::PathFilter

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 a DfaReporting path filter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathFilter

Returns a new instance of PathFilter.



8628
8629
8630
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8628

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

Instance Attribute Details

#event_filtersArray<Google::Apis::DfareportingV3_4::EventFilter>

Event filters in path report. Corresponds to the JSON property eventFilters



8612
8613
8614
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8612

def event_filters
  @event_filters
end

#kindString

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

Returns:

  • (String)


8617
8618
8619
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8617

def kind
  @kind
end

#path_match_positionString

Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch') allow a matchType other than EXACT. Corresponds to the JSON property pathMatchPosition

Returns:

  • (String)


8626
8627
8628
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8626

def path_match_position
  @path_match_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8633
8634
8635
8636
8637
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8633

def update!(**args)
  @event_filters = args[:event_filters] if args.key?(:event_filters)
  @kind = args[:kind] if args.key?(:kind)
  @path_match_position = args[:path_match_position] if args.key?(:path_match_position)
end