Class: Google::Apis::PeopleV1::UpdateContactPhotoResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::UpdateContactPhotoResponse
- 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
The response for updating a contact's photo.
Instance Attribute Summary collapse
-
#person ⇒ Google::Apis::PeopleV1::Person
Information about a person merged from various data sources such as the authenticated user's contacts and profile data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateContactPhotoResponse
constructor
A new instance of UpdateContactPhotoResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateContactPhotoResponse
Returns a new instance of UpdateContactPhotoResponse.
2548 2549 2550 |
# File 'generated/google/apis/people_v1/classes.rb', line 2548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#person ⇒ Google::Apis::PeopleV1::Person
Information about a person merged from various data sources such as the
authenticated user's contacts and profile data. Most fields can have multiple
items. The items in a field have no guaranteed order, but each non-empty field
is guaranteed to have exactly one field with metadata.primary
set to true.
Corresponds to the JSON property person
2546 2547 2548 |
# File 'generated/google/apis/people_v1/classes.rb', line 2546 def person @person end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2553 2554 2555 |
# File 'generated/google/apis/people_v1/classes.rb', line 2553 def update!(**args) @person = args[:person] if args.key?(:person) end |