Class: Google::Apis::DfareportingV3_5::PathReportDimensionValue

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

Overview

Represents a PathReportDimensionValue resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathReportDimensionValue

Returns a new instance of PathReportDimensionValue.



8369
8370
8371
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8369

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

Instance Attribute Details

#dimension_nameString

The name of the dimension. Corresponds to the JSON property dimensionName

Returns:

  • (String)


8342
8343
8344
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8342

def dimension_name
  @dimension_name
end

#idsArray<String>

The possible ID's associated with the value if available. Corresponds to the JSON property ids

Returns:

  • (Array<String>)


8347
8348
8349
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8347

def ids
  @ids
end

#kindString

The kind of resource this is, in this case dfareporting# pathReportDimensionValue. Corresponds to the JSON property kind

Returns:

  • (String)


8353
8354
8355
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8353

def kind
  @kind
end

#match_typeString

Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch') allow a matchType other than EXACT. Corresponds to the JSON property matchType

Returns:

  • (String)


8362
8363
8364
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8362

def match_type
  @match_type
end

#valuesArray<String>

The possible values of the dimension. Corresponds to the JSON property values

Returns:

  • (Array<String>)


8367
8368
8369
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8367

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8374
8375
8376
8377
8378
8379
8380
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 8374

def update!(**args)
  @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
  @ids = args[:ids] if args.key?(:ids)
  @kind = args[:kind] if args.key?(:kind)
  @match_type = args[:match_type] if args.key?(:match_type)
  @values = args[:values] if args.key?(:values)
end