Class Photo
A person's photo. A picture shown next to the person's name to help others recognize the person.
Implements
Inherited Members
Namespace: Google.Apis.PeopleService.v1.Data
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class Photo : IDirectResponseSchema
Properties
Default__
True if the photo is a default photo; false if the photo is a user-provided photo.
Declaration
[JsonProperty("default")]
public virtual bool? Default__ { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Metadata about the photo.
Declaration
[JsonProperty("metadata")]
public virtual FieldMetadata Metadata { get; set; }
Property Value
Type | Description |
---|---|
FieldMetadata |
Url
The URL of the photo. You can change the desired size by appending a query parameter sz={size}
at the end
of the url, where {size} is the size in pixels. Example:
https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |