Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdTextAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdTextAsset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A text asset used inside an ad.
Instance Attribute Summary collapse
-
#text ⇒ String
Asset text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonAdTextAsset
constructor
A new instance of GoogleAdsSearchads360V0CommonAdTextAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonAdTextAsset
Returns a new instance of GoogleAdsSearchads360V0CommonAdTextAsset.
87 88 89 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 87 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Asset text.
Corresponds to the JSON property text
85 86 87 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 85 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
92 93 94 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 92 def update!(**args) @text = args[:text] if args.key?(:text) end |