Class: Google::Apis::AdmobV1::NetworkReportSpecDimensionFilter

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

Overview

Describes which report rows to match based on their dimension values.

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) ⇒ NetworkReportSpecDimensionFilter

Returns a new instance of NetworkReportSpecDimensionFilter.



673
674
675
# File 'generated/google/apis/admob_v1/classes.rb', line 673

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

Instance Attribute Details

#dimensionString

Applies the filter criterion to the specified dimension. Corresponds to the JSON property dimension

Returns:

  • (String)


666
667
668
# File 'generated/google/apis/admob_v1/classes.rb', line 666

def dimension
  @dimension
end

#matches_anyGoogle::Apis::AdmobV1::StringList

List of string values. Corresponds to the JSON property matchesAny



671
672
673
# File 'generated/google/apis/admob_v1/classes.rb', line 671

def matches_any
  @matches_any
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



678
679
680
681
# File 'generated/google/apis/admob_v1/classes.rb', line 678

def update!(**args)
  @dimension = args[:dimension] if args.key?(:dimension)
  @matches_any = args[:matches_any] if args.key?(:matches_any)
end