Class: Google::Apis::PeopleV1::Tagline
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::Tagline
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/people_v1/classes.rb,
generated/google/apis/people_v1/representations.rb,
generated/google/apis/people_v1/representations.rb
Overview
A read-only brief one-line description of the person.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
-
#value ⇒ String
The tagline.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Tagline
constructor
A new instance of Tagline.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Tagline
Returns a new instance of Tagline
2163 2164 2165 |
# File 'generated/google/apis/people_v1/classes.rb', line 2163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
2156 2157 2158 |
# File 'generated/google/apis/people_v1/classes.rb', line 2156 def @metadata end |
#value ⇒ String
The tagline.
Corresponds to the JSON property value
2161 2162 2163 |
# File 'generated/google/apis/people_v1/classes.rb', line 2161 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2168 2169 2170 2171 |
# File 'generated/google/apis/people_v1/classes.rb', line 2168 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) end |