Comparison

  • An individual comparison is defined and most requests will include multiple comparisons for report comparison.

  • The JSON representation includes fields for name, dimensionFilter, and comparison.

  • The name field identifies the comparison in the response and uses the saved comparison's display name if unspecified.

  • The one_comparison union field allows either a dimensionFilter object for a basic comparison or a comparison string for a saved comparison resource name.

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

JSON representation
{
  "name": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "dimensionFilter": {
    object (FilterExpression)
  },
  "comparison": string
  // End of mutually exclusive fields.
}
Fields
name

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.

One kind of comparison value The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
dimensionFilter

object (FilterExpression)

A basic comparison.

comparison

string

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

End of mutually exclusive fields.