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

Constructor Details

#initialize(**args) ⇒ MediationReportSpecDimensionFilter

Returns a new instance of MediationReportSpecDimensionFilter.



404
405
406
# File 'generated/google/apis/admob_v1/classes.rb', line 404

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)


397
398
399
# File 'generated/google/apis/admob_v1/classes.rb', line 397

def dimension
  @dimension
end

#matches_anyGoogle::Apis::AdmobV1::StringList

List of string values. Corresponds to the JSON property matchesAny



402
403
404
# File 'generated/google/apis/admob_v1/classes.rb', line 402

def matches_any
  @matches_any
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



409
410
411
412
# File 'generated/google/apis/admob_v1/classes.rb', line 409

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