Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult
- 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
-
#recommendation_subscription ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource Corresponds to the JSON property
recommendationSubscription. -
#resource_name ⇒ String
Resource name of the subscription that was modified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult
constructor
A new instance of GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult
Returns a new instance of GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResult.
51351 51352 51353 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recommendation_subscription ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource
Corresponds to the JSON property recommendationSubscription
51344 51345 51346 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51344 def recommendation_subscription @recommendation_subscription end |
#resource_name ⇒ String
Resource name of the subscription that was modified.
Corresponds to the JSON property resourceName
51349 51350 51351 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51349 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51356 51357 51358 51359 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51356 def update!(**args) @recommendation_subscription = args[:recommendation_subscription] if args.key?(:recommendation_subscription) @resource_name = args[:resource_name] if args.key?(:resource_name) end |