Class: Google::Apis::PeopleV1::ExternalId
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::ExternalId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/people_v1/classes.rb,
generated/google/apis/people_v1/representations.rb,
generated/google/apis/people_v1/representations.rb
Overview
An identifier from an external entity related to the person.
Instance Attribute Summary collapse
-
#formatted_type ⇒ String
Output only.
-
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
-
#type ⇒ String
The type of the external ID.
-
#value ⇒ String
The value of the external ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExternalId
constructor
A new instance of ExternalId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExternalId
Returns a new instance of ExternalId.
800 801 802 |
# File 'generated/google/apis/people_v1/classes.rb', line 800 def initialize(**args) update!(**args) end |
Instance Attribute Details
#formatted_type ⇒ String
Output only. The type of the event translated and formatted in the viewer's
account locale or the Accept-Language
HTTP header locale.
Corresponds to the JSON property formattedType
782 783 784 |
# File 'generated/google/apis/people_v1/classes.rb', line 782 def formatted_type @formatted_type end |
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
787 788 789 |
# File 'generated/google/apis/people_v1/classes.rb', line 787 def @metadata end |
#type ⇒ String
The type of the external ID. The type can be custom or one of these predefined
values: * account
* customer
* loginId
* network
* organization
Corresponds to the JSON property type
793 794 795 |
# File 'generated/google/apis/people_v1/classes.rb', line 793 def type @type end |
#value ⇒ String
The value of the external ID.
Corresponds to the JSON property value
798 799 800 |
# File 'generated/google/apis/people_v1/classes.rb', line 798 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
805 806 807 808 809 810 |
# File 'generated/google/apis/people_v1/classes.rb', line 805 def update!(**args) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @metadata = args[:metadata] if args.key?(:metadata) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |