Class: Google::Apis::DfareportingV3_4::DimensionValue

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

Overview

Represents a DimensionValue resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DimensionValue

Returns a new instance of DimensionValue.



5503
5504
5505
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5503

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

Instance Attribute Details

#dimension_nameString

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

Returns:

  • (String)


5472
5473
5474
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5472

def dimension_name
  @dimension_name
end

#etagString

The eTag of this response for caching purposes. Corresponds to the JSON property etag

Returns:

  • (String)


5477
5478
5479
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5477

def etag
  @etag
end

#idString

The ID associated with the value if available. Corresponds to the JSON property id

Returns:

  • (String)


5482
5483
5484
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5482

def id
  @id
end

#kindString

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

Returns:

  • (String)


5487
5488
5489
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5487

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)


5496
5497
5498
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5496

def match_type
  @match_type
end

#valueString

The value of the dimension. Corresponds to the JSON property value

Returns:

  • (String)


5501
5502
5503
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5501

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5508
5509
5510
5511
5512
5513
5514
5515
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5508

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