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
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes BatchUpdate parameter list.
Declaration
protected override void InitParameters()