Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters

Inherits:
Object
  • Object
show all
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

Parameters to use when applying callout extension recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters

Returns a new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationCalloutExtensionParameters.



35036
35037
35038
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35036

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

Instance Attribute Details

#callout_extensionsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCalloutFeedItem>

Callout extensions to be added. This is a required field. Corresponds to the JSON property calloutExtensions



35034
35035
35036
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35034

def callout_extensions
  @callout_extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35041
35042
35043
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35041

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