Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult

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

The result of dismissing a recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult

Returns a new instance of GoogleAdsSearchads360V23ServicesDismissRecommendationResponseDismissRecommendationResult.



35463
35464
35465
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35463

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

Instance Attribute Details

#resource_nameString

Returned for successful dismissals. Corresponds to the JSON property resourceName

Returns:

  • (String)


35461
35462
35463
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35461

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35468
35469
35470
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35468

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