Show / Hide Table of Contents

Class UpdateContactPhotoRequest

A request to update an existing contact's photo. All requests must have a valid photo format: JPEG or PNG.

Inheritance
object
UpdateContactPhotoRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PeopleService.v1.Data
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class UpdateContactPhotoRequest : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

PersonFields

Optional. A field mask to restrict which fields on the person are returned. Multiple fields can be specified by separating them with commas. Defaults to empty if not set, which will skip the post mutate get. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships

  • metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined
Declaration
[JsonProperty("personFields")]
public virtual object PersonFields { get; set; }
Property Value
Type Description
object

PhotoBytes

Required. Raw photo bytes

Declaration
[JsonProperty("photoBytes")]
public virtual string PhotoBytes { get; set; }
Property Value
Type Description
string

Sources

Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.

Declaration
[JsonProperty("sources")]
public virtual IList<string> Sources { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX