class Google::Apis::PeopleV1::Url
A person's associated URLs.
Attributes
The read-only type of the URL translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale. Corresponds to the JSON property `formattedType` @return [String]
Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]
The type of the URL. The type can be custom or predefined. Possible values include, but are not limited to, the following: * `home` * `work` * `blog` * ` profile` * `homePage` * `ftp` * `reservations` * `appInstallPage`: website for a Google+ application. * `other` Corresponds to the JSON property `type` @return [String]
The URL. Corresponds to the JSON property `value` @return [String]
Public Class Methods
# File generated/google/apis/people_v1/classes.rb, line 1023 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/people_v1/classes.rb, line 1028 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) @type = args[:type] if args.key?(:type) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) end