Class: Google::Apis::PeopleV1::FileAs

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#metadataGoogle::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

#valueString

The file-as value Corresponds to the JSON property value

Returns:

  • (String)


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