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.



40135
40136
40137
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40135

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



40122
40123
40124
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40122

def create
  @create
end

#updateGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal

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



40127
40128
40129
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40127

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)


40133
40134
40135
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40133

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40140
40141
40142
40143
40144
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40140

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