Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesRawEventConversionMetricHeader

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb

Overview

Message for raw event conversion metric header.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesRawEventConversionMetricHeader

Returns a new instance of GoogleAdsSearchads360V0ServicesRawEventConversionMetricHeader.



8004
8005
8006
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8004

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idFixnum

The conversion custom variable ID. Corresponds to the JSON property id

Returns:

  • (Fixnum)


7997
7998
7999
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7997

def id
  @id
end

#nameString

The user defined name of the raw event metric. Corresponds to the JSON property name

Returns:

  • (String)


8002
8003
8004
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8002

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8009
8010
8011
8012
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8009

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
end