Class: Google::Cloud::Talent::V4beta1::PersonName

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/talent/v4beta1/profile.rb

Overview

Resource that represents the name of a person.

Defined Under Namespace

Classes: PersonStructuredName

Instance Attribute Summary collapse

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.

Returns:

  • (::String)

    A string represents a person's full name. For example, "Dr. John Smith".

    Number of characters allowed is 100.



334
335
336
337
338
339
340
341
342
343
344
345
346
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
# File 'proto_docs/google/cloud/talent/v4beta1/profile.rb', line 334

class PersonName
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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.

Returns:

  • (::String)

    Preferred name for the person. This field is ignored if structured_name is provided.

    Number of characters allowed is 100.



334
335
336
337
338
339
340
341
342
343
344
345
346
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
# File 'proto_docs/google/cloud/talent/v4beta1/profile.rb', line 334

class PersonName
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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.).

Returns:



334
335
336
337
338
339
340
341
342
343
344
345
346
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
# File 'proto_docs/google/cloud/talent/v4beta1/profile.rb', line 334

class PersonName
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end