Show / Hide Table of Contents

Class PhotosResource

The "photos" collection of methods.

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

Constructors

PhotosResource(IClientService)

Constructs a new resource.

Declaration
public PhotosResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchDelete(BatchDeletePhotosRequest)

Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields are missing or there is an authentication error. Even if BatchDeletePhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchDeletePhotosResponse.results. See DeletePhoto for specific failures that can occur per photo.

Declaration
public virtual PhotosResource.BatchDeleteRequest BatchDelete(BatchDeletePhotosRequest body)
Parameters
Type Name Description
BatchDeletePhotosRequest body

The body of the request.

Returns
Type Description
PhotosResource.BatchDeleteRequest

BatchGet()

Gets the metadata of the specified Photo batch. Note that if BatchGetPhotos fails, either critical fields are missing or there is an authentication error. Even if BatchGetPhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchGetPhotosResponse.results. See GetPhoto for specific failures that can occur per photo.

Declaration
public virtual PhotosResource.BatchGetRequest BatchGet()
Returns
Type Description
PhotosResource.BatchGetRequest

BatchUpdate(BatchUpdatePhotosRequest)

Updates the metadata of Photos, such as pose, place association, connections, etc. Changing the pixels of photos is not supported. Note that if BatchUpdatePhotos fails, either critical fields are missing or there is an authentication error. Even if BatchUpdatePhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchUpdatePhotosResponse.results. See UpdatePhoto for specific failures that can occur per photo. Only the fields specified in updateMask field are used. If updateMask is not present, the update applies to all fields. The number of UpdatePhotoRequest messages in a BatchUpdatePhotosRequest must not exceed 20. > Note: To update Pose.altitude, Pose.latLngPair has to be filled as well. Otherwise, the request will fail.

Declaration
public virtual PhotosResource.BatchUpdateRequest BatchUpdate(BatchUpdatePhotosRequest body)
Parameters
Type Name Description
BatchUpdatePhotosRequest body

The body of the request.

Returns
Type Description
PhotosResource.BatchUpdateRequest

List()

Lists all the Photos that belong to the user. > Note: Recently created photos that are still being indexed are not returned in the response.

Declaration
public virtual PhotosResource.ListRequest List()
Returns
Type Description
PhotosResource.ListRequest
In this article
Back to top Generated by DocFX