Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceEventTrigger
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceEventTrigger
- 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
Specifies an event to log when a user joins the Audience.
Instance Attribute Summary collapse
-
#event_name ⇒ String
Required.
-
#log_condition ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceEventTrigger
constructor
A new instance of GoogleAnalyticsAdminV1alphaAudienceEventTrigger.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceEventTrigger
Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceEventTrigger.
1220 1221 1222 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_name ⇒ String
Required. The event name that will be logged.
Corresponds to the JSON property eventName
1213 1214 1215 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1213 def event_name @event_name end |
#log_condition ⇒ String
Required. When to log the event.
Corresponds to the JSON property logCondition
1218 1219 1220 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1218 def log_condition @log_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1225 1226 1227 1228 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1225 def update!(**args) @event_name = args[:event_name] if args.key?(:event_name) @log_condition = args[:log_condition] if args.key?(:log_condition) end |