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.



51435
51436
51437
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51435

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

Instance Attribute Details

#recommendation_subscriptionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription

Recommendation Subscription resource Corresponds to the JSON property recommendationSubscription



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

def recommendation_subscription
  @recommendation_subscription
end

#resource_nameString

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

Returns:

  • (String)


51433
51434
51435
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51433

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51440
51441
51442
51443
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51440

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