Class: Google::Apis::AdmobV1beta::MediationReportSpecDimensionFilter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admob_v1beta/classes.rb,
generated/google/apis/admob_v1beta/representations.rb,
generated/google/apis/admob_v1beta/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.



618
619
620
# File 'generated/google/apis/admob_v1beta/classes.rb', line 618

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)


611
612
613
# File 'generated/google/apis/admob_v1beta/classes.rb', line 611

def dimension
  @dimension
end

#matches_anyGoogle::Apis::AdmobV1beta::StringList

List of string values. Corresponds to the JSON property matchesAny



616
617
618
# File 'generated/google/apis/admob_v1beta/classes.rb', line 616

def matches_any
  @matches_any
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



623
624
625
626
# File 'generated/google/apis/admob_v1beta/classes.rb', line 623

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