Class: Google::Ads::AdManager::V1::Report::Sort

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/ads/admanager/v1/report_service.rb

Overview

Represents a sorting in a report.

Instance Attribute Summary collapse

Instance Attribute Details

#descending::Boolean

Returns Optional. The sort order. If true the sort will be descending.

Returns:

  • (::Boolean)

    Optional. The sort order. If true the sort will be descending.



122
123
124
125
# File 'proto_docs/google/ads/admanager/v1/report_service.rb', line 122

class Sort
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#field::Google::Ads::AdManager::V1::Report::Field

Returns Required. A field (dimension or metric) to sort by.

Returns:



122
123
124
125
# File 'proto_docs/google/ads/admanager/v1/report_service.rb', line 122

class Sort
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#metric_value_type::Google::Ads::AdManager::V1::Report::MetricValueType

Returns Optional. Use to specify which metric value type to sort on. Defaults to PRIMARY.

Returns:



122
123
124
125
# File 'proto_docs/google/ads/admanager/v1/report_service.rb', line 122

class Sort
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#slice::Google::Ads::AdManager::V1::Report::Slice

Returns Optional. Use to sort on a specific slice of data.

Returns:



122
123
124
125
# File 'proto_docs/google/ads/admanager/v1/report_service.rb', line 122

class Sort
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#time_period_index::Integer

Returns Optional. When using time period columns, use this to sort on a specific column.

Returns:

  • (::Integer)

    Optional. When using time period columns, use this to sort on a specific column.



122
123
124
125
# File 'proto_docs/google/ads/admanager/v1/report_service.rb', line 122

class Sort
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end