Class: Google::Analytics::Admin::V1alpha::KeyEvent
- Inherits:
-
Object
- Object
- Google::Analytics::Admin::V1alpha::KeyEvent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/admin/v1alpha/resources.rb
Overview
A key event in a Google Analytics property.
Defined Under Namespace
Modules: CountingMethod Classes: DefaultValue
Instance Attribute Summary collapse
-
#counting_method ⇒ ::Google::Analytics::Admin::V1alpha::KeyEvent::CountingMethod
Required.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#custom ⇒ ::Boolean
readonly
Output only.
-
#default_value ⇒ ::Google::Analytics::Admin::V1alpha::KeyEvent::DefaultValue
Optional.
-
#deletable ⇒ ::Boolean
readonly
Output only.
-
#event_name ⇒ ::String
Immutable.
-
#name ⇒ ::String
readonly
Output only.
Instance Attribute Details
#counting_method ⇒ ::Google::Analytics::Admin::V1alpha::KeyEvent::CountingMethod
Returns Required. The method by which Key Events will be counted across multiple events within a session.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1000 class KeyEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a default value/currency for a key event. # @!attribute [rw] numeric_value # @return [::Float] # Required. This will be used to populate the "value" parameter for all # occurrences of this Key Event (specified by event_name) where that # parameter is unset. # @!attribute [rw] currency_code # @return [::String] # Required. When an occurrence of this Key Event (specified by event_name) # has no set currency this currency will be applied as the default. Must be # in ISO 4217 currency code format. # # See https://en.wikipedia.org/wiki/ISO_4217 for more information. class DefaultValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The method by which Key Events will be counted across multiple events # within a session. module CountingMethod # Counting method not specified. COUNTING_METHOD_UNSPECIFIED = 0 # Each Event instance is considered a Key Event. ONCE_PER_EVENT = 1 # An Event instance is considered a Key Event at most once per session per # user. ONCE_PER_SESSION = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when this key event was created in the property.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1000 class KeyEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a default value/currency for a key event. # @!attribute [rw] numeric_value # @return [::Float] # Required. This will be used to populate the "value" parameter for all # occurrences of this Key Event (specified by event_name) where that # parameter is unset. # @!attribute [rw] currency_code # @return [::String] # Required. When an occurrence of this Key Event (specified by event_name) # has no set currency this currency will be applied as the default. Must be # in ISO 4217 currency code format. # # See https://en.wikipedia.org/wiki/ISO_4217 for more information. class DefaultValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The method by which Key Events will be counted across multiple events # within a session. module CountingMethod # Counting method not specified. COUNTING_METHOD_UNSPECIFIED = 0 # Each Event instance is considered a Key Event. ONCE_PER_EVENT = 1 # An Event instance is considered a Key Event at most once per session per # user. ONCE_PER_SESSION = 2 end end |
#custom ⇒ ::Boolean (readonly)
Returns Output only. If set to true, this key event refers to a custom event. If set to false, this key 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 key events that may be created per property.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1000 class KeyEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a default value/currency for a key event. # @!attribute [rw] numeric_value # @return [::Float] # Required. This will be used to populate the "value" parameter for all # occurrences of this Key Event (specified by event_name) where that # parameter is unset. # @!attribute [rw] currency_code # @return [::String] # Required. When an occurrence of this Key Event (specified by event_name) # has no set currency this currency will be applied as the default. Must be # in ISO 4217 currency code format. # # See https://en.wikipedia.org/wiki/ISO_4217 for more information. class DefaultValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The method by which Key Events will be counted across multiple events # within a session. module CountingMethod # Counting method not specified. COUNTING_METHOD_UNSPECIFIED = 0 # Each Event instance is considered a Key Event. ONCE_PER_EVENT = 1 # An Event instance is considered a Key Event at most once per session per # user. ONCE_PER_SESSION = 2 end end |
#default_value ⇒ ::Google::Analytics::Admin::V1alpha::KeyEvent::DefaultValue
Returns Optional. Defines a default value/currency for a key event.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1000 class KeyEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a default value/currency for a key event. # @!attribute [rw] numeric_value # @return [::Float] # Required. This will be used to populate the "value" parameter for all # occurrences of this Key Event (specified by event_name) where that # parameter is unset. # @!attribute [rw] currency_code # @return [::String] # Required. When an occurrence of this Key Event (specified by event_name) # has no set currency this currency will be applied as the default. Must be # in ISO 4217 currency code format. # # See https://en.wikipedia.org/wiki/ISO_4217 for more information. class DefaultValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The method by which Key Events will be counted across multiple events # within a session. module CountingMethod # Counting method not specified. COUNTING_METHOD_UNSPECIFIED = 0 # Each Event instance is considered a Key Event. ONCE_PER_EVENT = 1 # An Event instance is considered a Key Event at most once per session per # user. ONCE_PER_SESSION = 2 end end |
#deletable ⇒ ::Boolean (readonly)
Returns Output only. If set to true, this event can be deleted.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1000 class KeyEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a default value/currency for a key event. # @!attribute [rw] numeric_value # @return [::Float] # Required. This will be used to populate the "value" parameter for all # occurrences of this Key Event (specified by event_name) where that # parameter is unset. # @!attribute [rw] currency_code # @return [::String] # Required. When an occurrence of this Key Event (specified by event_name) # has no set currency this currency will be applied as the default. Must be # in ISO 4217 currency code format. # # See https://en.wikipedia.org/wiki/ISO_4217 for more information. class DefaultValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The method by which Key Events will be counted across multiple events # within a session. module CountingMethod # Counting method not specified. COUNTING_METHOD_UNSPECIFIED = 0 # Each Event instance is considered a Key Event. ONCE_PER_EVENT = 1 # An Event instance is considered a Key Event at most once per session per # user. ONCE_PER_SESSION = 2 end end |
#event_name ⇒ ::String
Returns Immutable. The event name for this key event. Examples: 'click', 'purchase'.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1000 class KeyEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a default value/currency for a key event. # @!attribute [rw] numeric_value # @return [::Float] # Required. This will be used to populate the "value" parameter for all # occurrences of this Key Event (specified by event_name) where that # parameter is unset. # @!attribute [rw] currency_code # @return [::String] # Required. When an occurrence of this Key Event (specified by event_name) # has no set currency this currency will be applied as the default. Must be # in ISO 4217 currency code format. # # See https://en.wikipedia.org/wiki/ISO_4217 for more information. class DefaultValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The method by which Key Events will be counted across multiple events # within a session. module CountingMethod # Counting method not specified. COUNTING_METHOD_UNSPECIFIED = 0 # Each Event instance is considered a Key Event. ONCE_PER_EVENT = 1 # An Event instance is considered a Key Event at most once per session per # user. ONCE_PER_SESSION = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1000 class KeyEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines a default value/currency for a key event. # @!attribute [rw] numeric_value # @return [::Float] # Required. This will be used to populate the "value" parameter for all # occurrences of this Key Event (specified by event_name) where that # parameter is unset. # @!attribute [rw] currency_code # @return [::String] # Required. When an occurrence of this Key Event (specified by event_name) # has no set currency this currency will be applied as the default. Must be # in ISO 4217 currency code format. # # See https://en.wikipedia.org/wiki/ISO_4217 for more information. class DefaultValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The method by which Key Events will be counted across multiple events # within a session. module CountingMethod # Counting method not specified. COUNTING_METHOD_UNSPECIFIED = 0 # Each Event instance is considered a Key Event. ONCE_PER_EVENT = 1 # An Event instance is considered a Key Event at most once per session per # user. ONCE_PER_SESSION = 2 end end |