Class: Google::Apis::DfareportingV2_1::DimensionValue

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

Overview

Represents a DimensionValue resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DimensionValue

Returns a new instance of DimensionValue.



4189
4190
4191
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4189

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

Instance Attribute Details

#dimension_nameString

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

Returns:

  • (String)


4158
4159
4160
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4158

def dimension_name
  @dimension_name
end

#etagString

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

Returns:

  • (String)


4163
4164
4165
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4163

def etag
  @etag
end

#idString

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

Returns:

  • (String)


4168
4169
4170
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4168

def id
  @id
end

#kindString

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

Returns:

  • (String)


4173
4174
4175
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4173

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)


4182
4183
4184
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4182

def match_type
  @match_type
end

#valueString

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

Returns:

  • (String)


4187
4188
4189
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4187

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4194
4195
4196
4197
4198
4199
4200
4201
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4194

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