Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation

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 customer lifecycle goal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation

Returns a new instance of GoogleAdsSearchads360V23ServicesCustomerLifecycleGoalOperation.



39497
39498
39499
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39497

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

Instance Attribute Details

#createGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal

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



39484
39485
39486
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39484

def create
  @create
end

#updateGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal

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



39489
39490
39491
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39489

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)


39495
39496
39497
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39495

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39502
39503
39504
39505
39506
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39502

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