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.



34862
34863
34864
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34862

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



34860
34861
34862
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34860

def callout_extensions
  @callout_extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34867
34868
34869
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34867

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