Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation

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

Operation to dismiss a single recommendation identified by resource_name.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation

Returns a new instance of GoogleAdsSearchads360V23ServicesDismissRecommendationRequestDismissRecommendationOperation.



35309
35310
35311
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35309

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

Instance Attribute Details

#resource_nameString

The resource name of the recommendation to dismiss. Corresponds to the JSON property resourceName

Returns:

  • (String)


35307
35308
35309
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35307

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35314
35315
35316
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35314

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