Class: Google::Apis::PeopleV1::FileAs
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::FileAs
- 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
The name that should be used to sort the person in a list.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
-
#value ⇒ String
The file-as value Corresponds to the JSON property
value
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FileAs
constructor
A new instance of FileAs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FileAs
Returns a new instance of FileAs.
863 864 865 |
# File 'generated/google/apis/people_v1/classes.rb', line 863 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
856 857 858 |
# File 'generated/google/apis/people_v1/classes.rb', line 856 def @metadata end |
#value ⇒ String
The file-as value
Corresponds to the JSON property value
861 862 863 |
# File 'generated/google/apis/people_v1/classes.rb', line 861 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
868 869 870 871 |
# File 'generated/google/apis/people_v1/classes.rb', line 868 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) end |