Class: Google::Cloud::Talent::V4beta1::PersonName
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::PersonName
- Defined in:
- lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb
Overview
Resource that represents the name of a person.
Defined Under Namespace
Classes: PersonStructuredName
Instance Attribute Summary collapse
-
#formatted_name ⇒ String
Optional.
-
#preferred_name ⇒ String
Optional.
-
#structured_name ⇒ Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName
Optional.
Instance Attribute Details
#formatted_name ⇒ String
Returns Optional.
A string represents a person's full name. For example, "Dr. John Smith".
Number of characters allowed is 100.
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 276 class PersonName # Resource that represents a person's structured name. # @!attribute [rw] given_name # @return [String] # Optional. # # Given/first name. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 100. # @!attribute [rw] preferred_name # @return [String] # Optional. # # Preferred given/first name or nickname. # # Number of characters allowed is 100. # @!attribute [rw] middle_initial # @return [String] # Optional. # # Middle initial. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 20. # @!attribute [rw] family_name # @return [String] # Optional. # # Family/last name. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 100. # @!attribute [rw] suffixes # @return [Array<String>] # Optional. # # Suffixes. # # Number of characters allowed is 20. # @!attribute [rw] prefixes # @return [Array<String>] # Optional. # # Prefixes. # # Number of characters allowed is 20. class PersonStructuredName; end end |
#preferred_name ⇒ String
Returns Optional.
Preferred name for the person. This field is ignored if structured_name is provided.
Number of characters allowed is 100.
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 276 class PersonName # Resource that represents a person's structured name. # @!attribute [rw] given_name # @return [String] # Optional. # # Given/first name. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 100. # @!attribute [rw] preferred_name # @return [String] # Optional. # # Preferred given/first name or nickname. # # Number of characters allowed is 100. # @!attribute [rw] middle_initial # @return [String] # Optional. # # Middle initial. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 20. # @!attribute [rw] family_name # @return [String] # Optional. # # Family/last name. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 100. # @!attribute [rw] suffixes # @return [Array<String>] # Optional. # # Suffixes. # # Number of characters allowed is 20. # @!attribute [rw] prefixes # @return [Array<String>] # Optional. # # Prefixes. # # Number of characters allowed is 20. class PersonStructuredName; end end |
#structured_name ⇒ Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName
Returns Optional.
A person's name in a structured way (last name, first name, suffix, and so on.).
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 276 class PersonName # Resource that represents a person's structured name. # @!attribute [rw] given_name # @return [String] # Optional. # # Given/first name. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 100. # @!attribute [rw] preferred_name # @return [String] # Optional. # # Preferred given/first name or nickname. # # Number of characters allowed is 100. # @!attribute [rw] middle_initial # @return [String] # Optional. # # Middle initial. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 20. # @!attribute [rw] family_name # @return [String] # Optional. # # Family/last name. # # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided. # # Number of characters allowed is 100. # @!attribute [rw] suffixes # @return [Array<String>] # Optional. # # Suffixes. # # Number of characters allowed is 20. # @!attribute [rw] prefixes # @return [Array<String>] # Optional. # # Prefixes. # # Number of characters allowed is 20. class PersonStructuredName; end end |