Exemplo n.º 1
0
 public void GetPhoto()
 {
     // Snippet: GetPhoto(string,PhotoView,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     string    photoId = "";
     PhotoView view    = PhotoView.Basic;
     // Make the request
     Photo response = streetViewPublishServiceClient.GetPhoto(photoId, view);
     // End snippet
 }
Exemplo n.º 2
0
 public void GetPhoto_RequestObject()
 {
     // Snippet: GetPhoto(GetPhotoRequest,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     GetPhotoRequest request = new GetPhotoRequest
     {
         PhotoId = "",
         View    = PhotoView.Basic,
     };
     // Make the request
     Photo response = streetViewPublishServiceClient.GetPhoto(request);
     // End snippet
 }