class Google::Apis::DfareportingV3_3::DimensionValue

Represents a DimensionValue resource.

Attributes

dimension_name[RW]

The name of the dimension. Corresponds to the JSON property `dimensionName` @return [String]

etag[RW]

The eTag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]

id[RW]

The ID associated with the value if available. Corresponds to the JSON property `id` @return [String]

kind[RW]

The kind of resource this is, in this case dfareporting#dimensionValue. Corresponds to the JSON property `kind` @return [String]

match_type[RW]

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` @return [String]

value[RW]

The value of the dimension. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 4934
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_3/classes.rb, line 4939
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