Class: Google::Apis::PeopleV1::FileAs
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::FileAs
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/people_v1/classes.rb,
lib/google/apis/people_v1/representations.rb,
lib/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.
1067 1068 1069 |
# File 'lib/google/apis/people_v1/classes.rb', line 1067 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
1060 1061 1062 |
# File 'lib/google/apis/people_v1/classes.rb', line 1060 def @metadata end |
#value ⇒ String
The file-as value
Corresponds to the JSON property value
1065 1066 1067 |
# File 'lib/google/apis/people_v1/classes.rb', line 1065 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1072 1073 1074 1075 |
# File 'lib/google/apis/people_v1/classes.rb', line 1072 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) end |