Show / Hide Table of Contents

Class Photo

A person's photo. A picture shown next to the person's name to help others recognize the person.

Inheritance
System.Object
Photo
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.Nullable<System.Boolean>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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_wVWLlm g7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50

Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top