Show / Hide Table of Contents

Class PhotosResource.BatchUpdateRequest

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.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<BatchUpdatePhotosResponse>
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>
PhotosResource.BatchUpdateRequest
Implements
IClientServiceRequest<BatchUpdatePhotosResponse>
IClientServiceRequest
Inherited Members
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.Xgafv
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.AccessToken
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.Alt
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.Callback
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.Fields
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.Key
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.OauthToken
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.PrettyPrint
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.QuotaUser
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.UploadType
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.UploadProtocol
ClientServiceRequest<BatchUpdatePhotosResponse>.Execute()
ClientServiceRequest<BatchUpdatePhotosResponse>.ExecuteAsStream()
ClientServiceRequest<BatchUpdatePhotosResponse>.ExecuteAsync()
ClientServiceRequest<BatchUpdatePhotosResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BatchUpdatePhotosResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<BatchUpdatePhotosResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BatchUpdatePhotosResponse>.CreateRequest(bool?)
ClientServiceRequest<BatchUpdatePhotosResponse>.GenerateRequestUri()
ClientServiceRequest<BatchUpdatePhotosResponse>.GetDefaultETagAction(string)
ClientServiceRequest<BatchUpdatePhotosResponse>.ETagAction
ClientServiceRequest<BatchUpdatePhotosResponse>.ModifyRequest
ClientServiceRequest<BatchUpdatePhotosResponse>.ValidateParameters
ClientServiceRequest<BatchUpdatePhotosResponse>.ApiVersion
ClientServiceRequest<BatchUpdatePhotosResponse>.RequestParameters
ClientServiceRequest<BatchUpdatePhotosResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.BatchUpdateRequest : StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>, IClientServiceRequest<BatchUpdatePhotosResponse>, IClientServiceRequest

Constructors

BatchUpdateRequest(IClientService, BatchUpdatePhotosRequest)

Constructs a new BatchUpdate request.

Declaration
public BatchUpdateRequest(IClientService service, BatchUpdatePhotosRequest body)
Parameters
Type Name Description
IClientService service
BatchUpdatePhotosRequest body

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.StreetViewPublish.v1.Data.BatchUpdatePhotosResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.StreetViewPublish.v1.Data.BatchUpdatePhotosResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.StreetViewPublish.v1.Data.BatchUpdatePhotosResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.StreetViewPublish.v1.Data.BatchUpdatePhotosResponse>.GetBody()

InitParameters()

Initializes BatchUpdate parameter list.

Declaration
protected override void InitParameters()
Overrides
StreetViewPublishBaseServiceRequest<BatchUpdatePhotosResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX