Class: Google::Apis::DfareportingV2_5::DimensionValue
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::DimensionValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DimensionValue
Returns a new instance of DimensionValue
4508 4509 4510 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4508 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
The name of the dimension.
Corresponds to the JSON property dimensionName
4477 4478 4479 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4477 def dimension_name @dimension_name end |
#etag ⇒ String
The eTag of this response for caching purposes.
Corresponds to the JSON property etag
4482 4483 4484 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4482 def etag @etag end |
#id ⇒ String
The ID associated with the value if available.
Corresponds to the JSON property id
4487 4488 4489 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4487 def id @id end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#dimensionValue.
Corresponds to the JSON property kind
4492 4493 4494 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4492 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
4501 4502 4503 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4501 def match_type @match_type end |
#value ⇒ String
The value of the dimension.
Corresponds to the JSON property value
4506 4507 4508 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4506 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4513 4514 4515 4516 4517 4518 4519 4520 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4513 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 |