Class: Google::Apis::DfareportingV4::DimensionValue
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::DimensionValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Represents a DimensionValue resource.
Instance Attribute Summary collapse
-
#dimension_name ⇒ String
The name of the dimension.
-
#etag ⇒ String
The eTag of this response for caching purposes.
-
#id ⇒ String
The ID associated with the value if available.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#dimensionValue.
-
#match_type ⇒ String
Determines how the 'value' field is matched when filtering.
-
#value ⇒ String
The value of the dimension.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionValue
constructor
A new instance of DimensionValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionValue
Returns a new instance of DimensionValue.
5397 5398 5399 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
The name of the dimension.
Corresponds to the JSON property dimensionName
5366 5367 5368 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5366 def dimension_name @dimension_name end |
#etag ⇒ String
The eTag of this response for caching purposes.
Corresponds to the JSON property etag
5371 5372 5373 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5371 def etag @etag end |
#id ⇒ String
The ID associated with the value if available.
Corresponds to the JSON property id
5376 5377 5378 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5376 def id @id end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#dimensionValue.
Corresponds to the JSON property kind
5381 5382 5383 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5381 def kind @kind end |
#match_type ⇒ String
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
5390 5391 5392 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5390 def match_type @match_type end |
#value ⇒ String
The value of the dimension.
Corresponds to the JSON property value
5395 5396 5397 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5395 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5402 5403 5404 5405 5406 5407 5408 5409 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5402 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 |