Class: Google::Apis::AdminDirectoryV1::UserGender
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::UserGender
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Instance Attribute Summary collapse
-
#address_me_as ⇒ String
AddressMeAs.
-
#custom_gender ⇒ String
Custom gender.
-
#type ⇒ String
Gender.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserGender
constructor
A new instance of UserGender.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserGender
Returns a new instance of UserGender.
4930 4931 4932 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4930 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address_me_as ⇒ String
AddressMeAs. A human-readable string containing the proper way to refer to the
profile owner by humans for example he/him/his or they/them/their.
Corresponds to the JSON property addressMeAs
4918 4919 4920 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4918 def address_me_as @address_me_as end |
#custom_gender ⇒ String
Custom gender.
Corresponds to the JSON property customGender
4923 4924 4925 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4923 def custom_gender @custom_gender end |
#type ⇒ String
Gender.
Corresponds to the JSON property type
4928 4929 4930 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4928 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4935 4936 4937 4938 4939 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4935 def update!(**args) @address_me_as = args[:address_me_as] if args.key?(:address_me_as) @custom_gender = args[:custom_gender] if args.key?(:custom_gender) @type = args[:type] if args.key?(:type) end |