Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
- 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
A conversion event in a Google Analytics property.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#event_name ⇒ String
Immutable.
-
#is_deletable ⇒ Boolean
(also: #is_deletable?)
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaConversionEvent
constructor
A new instance of GoogleAnalyticsAdminV1alphaConversionEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaConversionEvent
Returns a new instance of GoogleAnalyticsAdminV1alphaConversionEvent.
630 631 632 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 630 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when this conversion event was created in the property.
Corresponds to the JSON property createTime
609 610 611 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 609 def create_time @create_time end |
#event_name ⇒ String
Immutable. The event name for this conversion event. Examples: 'click', '
purchase'
Corresponds to the JSON property eventName
615 616 617 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 615 def event_name @event_name end |
#is_deletable ⇒ Boolean Also known as: is_deletable?
Output only. If set, this event can currently be deleted via
DeleteConversionEvent.
Corresponds to the JSON property isDeletable
621 622 623 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 621 def is_deletable @is_deletable end |
#name ⇒ String
Output only. Resource name of this conversion event. Format: properties/
property/conversionEvents/conversion_event
Corresponds to the JSON property name
628 629 630 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 628 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
635 636 637 638 639 640 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 635 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @event_name = args[:event_name] if args.key?(:event_name) @is_deletable = args[:is_deletable] if args.key?(:is_deletable) @name = args[:name] if args.key?(:name) end |