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
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. Example: https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvD BYqw/s100/photo.jpg?sz=50

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

Implements

IDirectResponseSchema
Back to top