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.
52997 52998 52999 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource
Corresponds to the JSON property create
52984 52985 52986 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52984 def create @create end |
#update ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationSubscription
Recommendation Subscription resource
Corresponds to the JSON property update
52989 52990 52991 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52989 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
52995 52996 52997 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52995 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
53002 53003 53004 53005 53006 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 53002 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 |