Class: Google::Apis::DfareportingV3_4::DimensionValueRequest

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 DimensionValuesRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DimensionValueRequest

Returns a new instance of DimensionValueRequest.



5587
5588
5589
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5587

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

Instance Attribute Details

#dimension_nameString

The name of the dimension for which values should be requested. Corresponds to the JSON property dimensionName

Returns:

  • (String)


5565
5566
5567
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5565

def dimension_name
  @dimension_name
end

#end_dateDate

Corresponds to the JSON property endDate

Returns:

  • (Date)


5570
5571
5572
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5570

def end_date
  @end_date
end

#filtersArray<Google::Apis::DfareportingV3_4::DimensionFilter>

The list of filters by which to filter values. The filters are ANDed. Corresponds to the JSON property filters



5575
5576
5577
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5575

def filters
  @filters
end

#kindString

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

Returns:

  • (String)


5580
5581
5582
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5580

def kind
  @kind
end

#start_dateDate

Corresponds to the JSON property startDate

Returns:

  • (Date)


5585
5586
5587
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5585

def start_date
  @start_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5592
5593
5594
5595
5596
5597
5598
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5592

def update!(**args)
  @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
  @end_date = args[:end_date] if args.key?(:end_date)
  @filters = args[:filters] if args.key?(:filters)
  @kind = args[:kind] if args.key?(:kind)
  @start_date = args[:start_date] if args.key?(:start_date)
end