Class: Google::Apis::SpectrumV1explorer::VcardTypedText
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::VcardTypedText
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spectrum_v1explorer/classes.rb,
generated/google/apis/spectrum_v1explorer/representations.rb,
generated/google/apis/spectrum_v1explorer/representations.rb
Overview
The structure used to represent an organization and an email address.
Instance Attribute Summary collapse
-
#text ⇒ String
The text string associated with this item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VcardTypedText
constructor
A new instance of VcardTypedText.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VcardTypedText
Returns a new instance of VcardTypedText
1601 1602 1603 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1601 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
The text string associated with this item. For example, for an org field: ACME,
inc. For an email field: smith@example.com.
Corresponds to the JSON property text
1599 1600 1601 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1599 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1606 1607 1608 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1606 def update!(**args) @text = args[:text] if args.key?(:text) end |