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.



35695
35696
35697
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35695

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

Instance Attribute Details

#spendGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesIncentiveRequirementSpend

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



35693
35694
35695
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35693

def spend
  @spend
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35700
35701
35702
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35700

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