Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesConversionCustomMetricHeader
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesConversionCustomMetricHeader
- 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 conversion custom metric header.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
The conversion custom metric ID.
-
#name ⇒ String
The user defined name of the conversion custom metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesConversionCustomMetricHeader
constructor
A new instance of GoogleAdsSearchads360V0ServicesConversionCustomMetricHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesConversionCustomMetricHeader
Returns a new instance of GoogleAdsSearchads360V0ServicesConversionCustomMetricHeader.
7883 7884 7885 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7883 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
The conversion custom metric ID.
Corresponds to the JSON property id
7876 7877 7878 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7876 def id @id end |
#name ⇒ String
The user defined name of the conversion custom metric.
Corresponds to the JSON property name
7881 7882 7883 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7881 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7888 7889 7890 7891 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7888 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |