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.



51423
51424
51425
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51423

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

Instance Attribute Details

#recommendation_subscriptionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription

Recommendation Subscription resource Corresponds to the JSON property recommendationSubscription



51416
51417
51418
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51416

def recommendation_subscription
  @recommendation_subscription
end

#resource_nameString

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

Returns:

  • (String)


51421
51422
51423
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51421

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51428
51429
51430
51431
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51428

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