class Google::Apis::PeopleV1::Source

The source of a field.

Attributes

id[RW]

A unique identifier within the source type generated by the server. Corresponds to the JSON property `id` @return [String]

type[RW]

The source type. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/people_v1/classes.rb, line 276
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/people_v1/classes.rb, line 281
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @id = args[:id] if args.key?(:id)
end