Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult

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

Result message for RecommendationSubscriptionService. MutateRecommendationSubscription

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult.



50655
50656
50657
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50655

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

Instance Attribute Details

#recommendation_subscriptionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription

Recommendation Subscription resource Corresponds to the JSON property recommendationSubscription



50648
50649
50650
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50648

def recommendation_subscription
  @recommendation_subscription
end

#resource_nameString

Resource name of the subscription that was modified. Corresponds to the JSON property resourceName

Returns:

  • (String)


50653
50654
50655
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50653

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50660
50661
50662
50663
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50660

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