class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent

A conversion event in a Google Analytics property.

Attributes

create_time[RW]

Output only. Time when this conversion event was created in the property. Corresponds to the JSON property `createTime` @return [String]

custom[RW]

Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property. Corresponds to the JSON property `custom` @return [Boolean]

custom?[RW]

Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property. Corresponds to the JSON property `custom` @return [Boolean]

deletable[RW]

Output only. If set, this event can currently be deleted via DeleteConversionEvent. Corresponds to the JSON property `deletable` @return [Boolean]

deletable?[RW]

Output only. If set, this event can currently be deleted via DeleteConversionEvent. Corresponds to the JSON property `deletable` @return [Boolean]

event_name[RW]

Immutable. The event name for this conversion event. Examples: 'click', ' purchase' Corresponds to the JSON property `eventName` @return [String]

name[RW]

Output only. Resource name of this conversion event. Format: properties/` property`/conversionEvents/`conversion_event` Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 707
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 712
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @custom = args[:custom] if args.key?(:custom)
  @deletable = args[:deletable] if args.key?(:deletable)
  @event_name = args[:event_name] if args.key?(:event_name)
  @name = args[:name] if args.key?(:name)
end