コード例 #1
0
 public void BatchUpdatePhotos()
 {
     // Snippet: BatchUpdatePhotos(IEnumerable<UpdatePhotoRequest>,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     IEnumerable <UpdatePhotoRequest> updatePhotoRequests = new List <UpdatePhotoRequest>();
     // Make the request
     BatchUpdatePhotosResponse response = streetViewPublishServiceClient.BatchUpdatePhotos(updatePhotoRequests);
     // End snippet
 }
コード例 #2
0
 public void BatchUpdatePhotos_RequestObject()
 {
     // Snippet: BatchUpdatePhotos(BatchUpdatePhotosRequest,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     BatchUpdatePhotosRequest request = new BatchUpdatePhotosRequest
     {
         UpdatePhotoRequests = { },
     };
     // Make the request
     BatchUpdatePhotosResponse response = streetViewPublishServiceClient.BatchUpdatePhotos(request);
     // End snippet
 }
コード例 #3
0
        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
        }
コード例 #4
0
        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
        }