Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTextAsset

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 Text asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonTextAsset

Returns a new instance of GoogleAdsSearchads360V23CommonTextAsset.



11792
11793
11794
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11792

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

Instance Attribute Details

#textString

Text content of the text asset. Corresponds to the JSON property text

Returns:

  • (String)


11790
11791
11792
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11790

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11797
11798
11799
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11797

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