public async Task BatchUpdatePhotosAsync() { // Snippet: BatchUpdatePhotosAsync(IEnumerable<UpdatePhotoRequest>,CallSettings) // Additional: BatchUpdatePhotosAsync(IEnumerable<UpdatePhotoRequest>,CancellationToken) // Create client StreetViewPublishServiceClient streetViewPublishServiceClient = await StreetViewPublishServiceClient.CreateAsync(); // Initialize request argument(s) IEnumerable <UpdatePhotoRequest> updatePhotoRequests = new List <UpdatePhotoRequest>(); // Make the request BatchUpdatePhotosResponse response = await streetViewPublishServiceClient.BatchUpdatePhotosAsync(updatePhotoRequests); // End snippet }
public async Task BatchUpdatePhotosAsync_RequestObject() { // Snippet: BatchUpdatePhotosAsync(BatchUpdatePhotosRequest,CallSettings) // Create client StreetViewPublishServiceClient streetViewPublishServiceClient = await StreetViewPublishServiceClient.CreateAsync(); // Initialize request argument(s) BatchUpdatePhotosRequest request = new BatchUpdatePhotosRequest { UpdatePhotoRequests = { }, }; // Make the request BatchUpdatePhotosResponse response = await streetViewPublishServiceClient.BatchUpdatePhotosAsync(request); // End snippet }