Show / Hide Table of Contents

Class Photo

Photo is used to store 360 photos along with photo metadata.

Inheritance
object
Photo
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.StreetViewPublish.v1.Data
Assembly: Google.Apis.StreetViewPublish.v1.dll
Syntax
public class Photo : IDirectResponseSchema

Properties

CaptureTime

object representation of CaptureTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CaptureTimeDateTimeOffset instead.")]
public virtual object CaptureTime { get; set; }
Property Value
Type Description
object

CaptureTimeDateTimeOffset

DateTimeOffset representation of CaptureTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CaptureTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CaptureTimeRaw

Optional. Absolute time when the photo was captured. When the photo has no exif timestamp, this is used to set a timestamp in the photo metadata.

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

Connections

Optional. Connections to other photos. A connection represents the link from this photo to another photo.

Declaration
[JsonProperty("connections")]
public virtual IList<Connection> Connections { get; set; }
Property Value
Type Description
IList<Connection>

DownloadUrl

Output only. The download URL for the photo bytes. This field is set only when GetPhotoRequest.view is set to PhotoView.INCLUDE_DOWNLOAD_URL.

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

ETag

The ETag of the item.

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

MapsPublishStatus

Output only. Status in Google Maps, whether this photo was published or rejected.

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

PhotoId

Required. Output only. Required when updating a photo. Output only when creating a photo. Identifier for the photo, which is unique among all photos in Google.

Declaration
[JsonProperty("photoId")]
public virtual PhotoId PhotoId { get; set; }
Property Value
Type Description
PhotoId

Places

Optional. Places where this photo belongs.

Declaration
[JsonProperty("places")]
public virtual IList<Place> Places { get; set; }
Property Value
Type Description
IList<Place>

Pose

Optional. Pose of the photo.

Declaration
[JsonProperty("pose")]
public virtual Pose Pose { get; set; }
Property Value
Type Description
Pose

ShareLink

Output only. The share link for the photo.

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

ThumbnailUrl

Output only. The thumbnail URL for showing a preview of the given photo.

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

TransferStatus

Output only. Status of rights transfer on this photo.

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

UploadReference

Input only. Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.

Declaration
[JsonProperty("uploadReference")]
public virtual UploadRef UploadReference { get; set; }
Property Value
Type Description
UploadRef

UploadTime

object representation of UploadTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UploadTimeDateTimeOffset instead.")]
public virtual object UploadTime { get; set; }
Property Value
Type Description
object

UploadTimeDateTimeOffset

DateTimeOffset representation of UploadTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UploadTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UploadTimeRaw

Output only. Time when the image was uploaded.

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

ViewCount

Output only. View count of the photo.

Declaration
[JsonProperty("viewCount")]
public virtual long? ViewCount { get; set; }
Property Value
Type Description
long?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX