# Google Analytics Admin V1alpha API - Class Google::Analytics::Admin::V1alpha::ConversionEvent (v0.11.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.11.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Analytics-Admin-V1alpha-ConversionEvent)
- [0.10.0](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/0.10.0/Google-Analytics-Admin-V1alpha-ConversionEvent)
- [0.9.1](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/0.9.1/Google-Analytics-Admin-V1alpha-ConversionEvent)
Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::ConversionEvent.

A conversion event in a Google Analytics property.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-admin-v1alpha/latest/Google-Protobuf-Timestamp)) --- Output only. Time when this conversion event was created in the property.

### #custom

    def custom() -> ::Boolean

**Returns**

- (::Boolean) --- 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.

### #deletable

    def deletable() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. If set, this event can currently be deleted via DeleteConversionEvent.

### #event_name

    def event_name() -> ::String

**Returns**

- (::String) --- Immutable. The event name for this conversion event. Examples: 'click', 'purchase'

### #event_name=

    def event_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The event name for this conversion event. Examples: 'click', 'purchase'
**Returns**

- (::String) --- Immutable. The event name for this conversion event. Examples: 'click', 'purchase'

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}