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
A string represents a person's full name.
-
#preferred_name ⇒ String
Preferred name for the person.
-
#structured_name ⇒ Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName
A person's name in a structured way (last name, first name, suffix, and so on.).
Instance Attribute Details
#formatted_name ⇒ String
Returns A string represents a person's full name. For example, "Dr. John Smith".
Number of characters allowed is 100.
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 347 class PersonName # Resource that represents a person's structured name. # @!attribute [rw] given_name # @return [String] # 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] # Preferred given/first name or nickname. # # Number of characters allowed is 100. # @!attribute [rw] middle_initial # @return [String] # 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] # 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>] # Suffixes. # # Number of characters allowed is 20. # @!attribute [rw] prefixes # @return [Array<String>] # Prefixes. # # Number of characters allowed is 20. class PersonStructuredName; end end |
#preferred_name ⇒ String
Returns Preferred name for the person. This field is ignored if structured_name is provided.
Number of characters allowed is 100.
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 347 class PersonName # Resource that represents a person's structured name. # @!attribute [rw] given_name # @return [String] # 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] # Preferred given/first name or nickname. # # Number of characters allowed is 100. # @!attribute [rw] middle_initial # @return [String] # 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] # 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>] # Suffixes. # # Number of characters allowed is 20. # @!attribute [rw] prefixes # @return [Array<String>] # Prefixes. # # Number of characters allowed is 20. class PersonStructuredName; end end |
#structured_name ⇒ Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName
Returns A person's name in a structured way (last name, first name, suffix, and so on.).
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 347 class PersonName # Resource that represents a person's structured name. # @!attribute [rw] given_name # @return [String] # 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] # Preferred given/first name or nickname. # # Number of characters allowed is 100. # @!attribute [rw] middle_initial # @return [String] # 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] # 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>] # Suffixes. # # Number of characters allowed is 20. # @!attribute [rw] prefixes # @return [Array<String>] # Prefixes. # # Number of characters allowed is 20. class PersonStructuredName; end end |