Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation
- 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
A single operation (create, update) on a recommendation subscription. RecommendationSubscriptionService.MutateRecommendationSubscription
Instance Attribute Summary collapse
-
#create ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource Corresponds to the JSON property
create. -
#update ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource Corresponds to the JSON property
update. -
#update_mask ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation
constructor
A new instance of GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation
Returns a new instance of GoogleAdsSearchads360V23ServicesRecommendationSubscriptionOperation.
52166 52167 52168 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource
Corresponds to the JSON property create
52153 52154 52155 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52153 def create @create end |
#update ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource
Corresponds to the JSON property update
52158 52159 52160 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52158 def update @update end |
#update_mask ⇒ String
Optional. FieldMask that determines which resource fields are modified in an
update.
Corresponds to the JSON property updateMask
52164 52165 52166 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52164 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
52171 52172 52173 52174 52175 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52171 def update!(**args) @create = args[:create] if args.key?(:create) @update = args[:update] if args.key?(:update) @update_mask = args[:update_mask] if args.key?(:update_mask) end |