Class: Google::Apis::PeopleV1::DeleteContactPhotoResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::DeleteContactPhotoResponse
- 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 deleteing 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) ⇒ DeleteContactPhotoResponse
constructor
A new instance of DeleteContactPhotoResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteContactPhotoResponse
Returns a new instance of DeleteContactPhotoResponse.
533 534 535 |
# File 'generated/google/apis/people_v1/classes.rb', line 533 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
531 532 533 |
# File 'generated/google/apis/people_v1/classes.rb', line 531 def person @person end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
538 539 540 |
# File 'generated/google/apis/people_v1/classes.rb', line 538 def update!(**args) @person = args[:person] if args.key?(:person) end |