Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTextAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTextAsset
- 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.
Instance Attribute Summary collapse
-
#text ⇒ String
Text content of the text asset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonTextAsset
constructor
A new instance of GoogleAdsSearchads360V0CommonTextAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonTextAsset
Returns a new instance of GoogleAdsSearchads360V0CommonTextAsset.
2480 2481 2482 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Text content of the text asset.
Corresponds to the JSON property text
2478 2479 2480 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2478 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2485 2486 2487 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2485 def update!(**args) @text = args[:text] if args.key?(:text) end |