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.



35444
35445
35446
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35444

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)


35442
35443
35444
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35442

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35449
35450
35451
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35449

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