Photo
import type { Photo } from "https://googleapis.deno.dev/v1/streetviewpublish:v1.ts";
Photo is used to store 360 photos along with photo metadata.
interface Photo {
captureTime?: Date;
connections?: Connection[];
readonly downloadUrl?: string;
readonly mapsPublishStatus?: "UNSPECIFIED_MAPS_PUBLISH_STATUS" | "PUBLISHED" | "REJECTED_UNKNOWN";
readonly photoId?: PhotoId;
places?: Place[];
pose?: Pose;
readonly shareLink?: string;
readonly thumbnailUrl?: string;
readonly transferStatus?:
| "TRANSFER_STATUS_UNKNOWN"
| "NEVER_TRANSFERRED"
| "PENDING"
| "COMPLETED"
| "REJECTED"
| "EXPIRED"
| "CANCELLED"
| "RECEIVED_VIA_TRANSFER";
uploadReference?: UploadRef;
readonly uploadTime?: Date;
readonly viewCount?: bigint;
}§Properties
§
captureTime?: Date
[src]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.
§
connections?: Connection[]
[src]Optional. Connections to other photos. A connection represents the link from this photo to another photo.
§
readonly downloadUrl?: string
[src]Output only. The download URL for the photo bytes. This field is set only when GetPhotoRequest.view is set to PhotoView.INCLUDE_DOWNLOAD_URL.
§
readonly mapsPublishStatus?: "UNSPECIFIED_MAPS_PUBLISH_STATUS" | "PUBLISHED" | "REJECTED_UNKNOWN"
[src]Output only. Status in Google Maps, whether this photo was published or rejected.
§
readonly thumbnailUrl?: string
[src]Output only. The thumbnail URL for showing a preview of the given photo.
§
readonly transferStatus?: "TRANSFER_STATUS_UNKNOWN" | "NEVER_TRANSFERRED" | "PENDING" | "COMPLETED" | "REJECTED" | "EXPIRED" | "CANCELLED" | "RECEIVED_VIA_TRANSFER"
[src]Output only. Status of rights transfer on this photo.