Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation
- 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
-
#parameter ⇒ String
Required.
-
#parameter_value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaParameterMutation
constructor
A new instance of GoogleAnalyticsAdminV1alphaParameterMutation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaParameterMutation
Returns a new instance of GoogleAnalyticsAdminV1alphaParameterMutation.
4784 4785 4786 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4784 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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.
Corresponds to the JSON property parameter
4773 4774 4775 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4773 def parameter @parameter end |
#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.
Corresponds to the JSON property parameterValue
4782 4783 4784 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4782 def parameter_value @parameter_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4789 4790 4791 4792 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4789 def update!(**args) @parameter = args[:parameter] if args.key?(:parameter) @parameter_value = args[:parameter_value] if args.key?(:parameter_value) end |