Google Analytics Admin V1alpha Client - Class ParameterMutation (0.15.1)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class ParameterMutation.

Defines an event parameter to mutate.

Generated from protobuf message google.analytics.admin.v1alpha.ParameterMutation

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parameter string

Required. The name of the parameter to mutate. This value must: * be less than 40 characters. * be unique across across all mutations within the rule * consist only of letters, digits or _ (underscores) For event edit rules, the name may also be set to 'event_name' to modify the event_name in place.

↳ parameter_value string

Required. The value mutation to perform. * Must be less than 100 characters. * To specify a constant value for the param, use the value's string. * To copy value from another parameter, use syntax like "[[other_parameter]]" For more details, see this help center article.

getParameter

Required. The name of the parameter to mutate.

This value must:

  • be less than 40 characters.
  • be unique across across all mutations within the rule
  • consist only of letters, digits or _ (underscores) For event edit rules, the name may also be set to 'event_name' to modify the event_name in place.
Returns
TypeDescription
string

setParameter

Required. The name of the parameter to mutate.

This value must:

  • be less than 40 characters.
  • be unique across across all mutations within the rule
  • consist only of letters, digits or _ (underscores) For event edit rules, the name may also be set to 'event_name' to modify the event_name in place.
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParameterValue

Required. The value mutation to perform.

  • Must be less than 100 characters.
  • To specify a constant value for the param, use the value's string.
  • To copy value from another parameter, use syntax like "[[other_parameter]]" For more details, see this help center article.
Returns
TypeDescription
string

setParameterValue

Required. The value mutation to perform.

  • Must be less than 100 characters.
  • To specify a constant value for the param, use the value's string.
  • To copy value from another parameter, use syntax like "[[other_parameter]]" For more details, see this help center article.
Parameter
NameDescription
var string
Returns
TypeDescription
$this