Class: Google::Apis::AdmobV1::MediationReportSpecDimensionFilter

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

Returns a new instance of MediationReportSpecDimensionFilter.



512
513
514
# File 'generated/google/apis/admob_v1/classes.rb', line 512

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)


505
506
507
# File 'generated/google/apis/admob_v1/classes.rb', line 505

def dimension
  @dimension
end

#matches_anyGoogle::Apis::AdmobV1::StringList

List of string values. Corresponds to the JSON property matchesAny



510
511
512
# File 'generated/google/apis/admob_v1/classes.rb', line 510

def matches_any
  @matches_any
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



517
518
519
520
# File 'generated/google/apis/admob_v1/classes.rb', line 517

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