Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
The Merchant Center account details.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
Output only.
-
#multi_client ⇒ Boolean
(also: #multi_client?)
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo
constructor
A new instance of GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo
Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo.
18190 18191 18192 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
Output only. The Merchant Center account ID.
Corresponds to the JSON property id
18176 18177 18178 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18176 def id @id end |
#multi_client ⇒ Boolean Also known as: multi_client?
Output only. Whether the Merchant Center account is a Multi-Client account (
MCA).
Corresponds to the JSON property multiClient
18182 18183 18184 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18182 def multi_client @multi_client end |
#name ⇒ String
Output only. The name of the Merchant Center account.
Corresponds to the JSON property name
18188 18189 18190 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18188 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18195 18196 18197 18198 18199 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18195 def update!(**args) @id = args[:id] if args.key?(:id) @multi_client = args[:multi_client] if args.key?(:multi_client) @name = args[:name] if args.key?(:name) end |