Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesIncentiveRequirement

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

Requirement for an incentive.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesIncentiveRequirement

Returns a new instance of GoogleAdsSearchads360V23ServicesIncentiveRequirement.



35560
35561
35562
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35560

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

Instance Attribute Details

#spendGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend

Spend requirements for an incentive. Corresponds to the JSON property spend



35558
35559
35560
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35558

def spend
  @spend
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35565
35566
35567
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35565

def update!(**args)
  @spend = args[:spend] if args.key?(:spend)
end