Пример #1
0
        public void DeletePhoto()
        {
            // Snippet: DeletePhoto(string,CallSettings)
            // Create client
            StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
            // Initialize request argument(s)
            string photoId = "";

            // Make the request
            streetViewPublishServiceClient.DeletePhoto(photoId);
            // End snippet
        }
Пример #2
0
        public void DeletePhoto_RequestObject()
        {
            // Snippet: DeletePhoto(DeletePhotoRequest,CallSettings)
            // Create client
            StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
            // Initialize request argument(s)
            DeletePhotoRequest request = new DeletePhotoRequest
            {
                PhotoId = "",
            };

            // Make the request
            streetViewPublishServiceClient.DeletePhoto(request);
            // End snippet
        }