Class: Google::Apis::CloudsearchV1::Name
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Name
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
A person's name.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The read-only display name formatted according to the locale specified by the viewer's account or the
Accept-Language
HTTP header.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Name
constructor
A new instance of Name.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Name
Returns a new instance of Name
2498 2499 2500 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2498 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The read-only display name formatted according to the locale specified by
the viewer's account or the Accept-Language
HTTP header.
Corresponds to the JSON property displayName
2496 2497 2498 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2496 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2503 2504 2505 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2503 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) end |