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.



34964
34965
34966
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34964

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



34962
34963
34964
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34962

def callout_extensions
  @callout_extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34969
34970
34971
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34969

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