Class: Google::Apis::CloudsearchV1::Name
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Name
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ Name
Returns a new instance of Name.
4917 4918 4919 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4917 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
4915 4916 4917 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4915 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4922 4923 4924 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4922 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) end |