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.


544
545
546
# File 'generated/google/apis/admob_v1/classes.rb', line 544

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)

537
538
539
# File 'generated/google/apis/admob_v1/classes.rb', line 537

def dimension
  @dimension
end

#matches_anyGoogle::Apis::AdmobV1::StringList

List of string values. Corresponds to the JSON property matchesAny


542
543
544
# File 'generated/google/apis/admob_v1/classes.rb', line 542

def matches_any
  @matches_any
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


549
550
551
552
# File 'generated/google/apis/admob_v1/classes.rb', line 549

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