Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

Defines an event parameter to mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaParameterMutation

Returns a new instance of GoogleAnalyticsAdminV1alphaParameterMutation.



4683
4684
4685
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4683

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#parameterString

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. Corresponds to the JSON property parameter

Returns:

  • (String)


4672
4673
4674
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4672

def parameter
  @parameter
end

#parameter_valueString

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. Corresponds to the JSON property parameterValue

Returns:

  • (String)


4681
4682
4683
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4681

def parameter_value
  @parameter_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4688
4689
4690
4691
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4688

def update!(**args)
  @parameter = args[:parameter] if args.key?(:parameter)
  @parameter_value = args[:parameter_value] if args.key?(:parameter_value)
end