Class: Google::Analytics::Data::V1beta::Comparison

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/data/v1beta/data.rb

Overview

Defines an individual comparison. Most requests will include multiple comparisons so that the report compares between the comparisons.

Instance Attribute Summary collapse

Instance Attribute Details

#comparison::String

Returns A saved comparison identified by the comparison's resource name. For example, 'comparisons/1234'.

Note: The following fields are mutually exclusive: comparison, dimension_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    A saved comparison identified by the comparison's resource name. For example, 'comparisons/1234'.

    Note: The following fields are mutually exclusive: comparison, dimension_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.



231
232
233
234
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 231

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

#dimension_filter::Google::Analytics::Data::V1beta::FilterExpression

Returns A basic comparison.

Note: The following fields are mutually exclusive: dimension_filter, comparison. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Analytics::Data::V1beta::FilterExpression)

    A basic comparison.

    Note: The following fields are mutually exclusive: dimension_filter, comparison. If a field in that set is populated, all other fields in the set will automatically be cleared.



231
232
233
234
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 231

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

#name::String

Returns Each comparison produces separate rows in the response. In the response, this comparison is identified by this name. If name is unspecified, we will use the saved comparisons display name.

Returns:

  • (::String)

    Each comparison produces separate rows in the response. In the response, this comparison is identified by this name. If name is unspecified, we will use the saved comparisons display name.



231
232
233
234
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 231

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