Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation

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

A single operation on a campaign lifecycle goal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation

Returns a new instance of GoogleAdsSearchads360V23ServicesCampaignLifecycleGoalOperation.



38250
38251
38252
# File 'lib/google/apis/searchads360_v23/classes.rb', line 38250

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

Instance Attribute Details

#createGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal

Campaign level customer lifecycle goal settings. Corresponds to the JSON property create



38237
38238
38239
# File 'lib/google/apis/searchads360_v23/classes.rb', line 38237

def create
  @create
end

#updateGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal

Campaign level customer lifecycle goal settings. Corresponds to the JSON property update



38242
38243
38244
# File 'lib/google/apis/searchads360_v23/classes.rb', line 38242

def update
  @update
end

#update_maskString

Optional. FieldMask that determines which resource fields are modified in an update. Corresponds to the JSON property updateMask

Returns:

  • (String)


38248
38249
38250
# File 'lib/google/apis/searchads360_v23/classes.rb', line 38248

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38255
38256
38257
38258
38259
# File 'lib/google/apis/searchads360_v23/classes.rb', line 38255

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