Class PhotosResource.BatchDeleteRequest
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.
Inheritance
PhotosResource.BatchDeleteRequest
Inherited Members
Namespace: Google.Apis.StreetViewPublish.v1
Assembly: Google.Apis.StreetViewPublish.v1.dll
Syntax
public class PhotosResource.BatchDeleteRequest : StreetViewPublishBaseServiceRequest<BatchDeletePhotosResponse>, IClientServiceRequest<BatchDeletePhotosResponse>, IClientServiceRequest
Constructors
BatchDeleteRequest(IClientService, BatchDeletePhotosRequest)
Constructs a new BatchDelete request.
Declaration
public BatchDeleteRequest(IClientService service, BatchDeletePhotosRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchDeletePhotosRequest | 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.BatchDeletePhotosResponse>.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.BatchDeletePhotosResponse>.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.BatchDeletePhotosResponse>.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.BatchDeletePhotosResponse>.GetBody()
InitParameters()
Initializes BatchDelete parameter list.
Declaration
protected override void InitParameters()