Google Analytics Data V1beta Client - Class ComparisonMetadata (0.20.1)

Reference documentation and code samples for the Google Analytics Data V1beta Client class ComparisonMetadata.

The metadata for a single comparison.

Generated from protobuf message google.analytics.data.v1beta.ComparisonMetadata

Namespace

Google \ Analytics \ Data \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ api_name string

This comparison's resource name. Useable in Comparison's comparison field. For example, 'comparisons/1234'.

↳ ui_name string

This comparison's name within the Google Analytics user interface.

↳ description string

This comparison's description.

getApiName

This comparison's resource name. Useable in Comparison's comparison field. For example, 'comparisons/1234'.

Returns
Type Description
string

setApiName

This comparison's resource name. Useable in Comparison's comparison field. For example, 'comparisons/1234'.

Parameter
Name Description
var string
Returns
Type Description
$this

getUiName

This comparison's name within the Google Analytics user interface.

Returns
Type Description
string

setUiName

This comparison's name within the Google Analytics user interface.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

This comparison's description.

Returns
Type Description
string

setDescription

This comparison's description.

Parameter
Name Description
var string
Returns
Type Description
$this