Exemplo n.º 1
0
 public void CreatePhoto()
 {
     // Snippet: CreatePhoto(Photo,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     Photo photo = new Photo();
     // Make the request
     Photo response = streetViewPublishServiceClient.CreatePhoto(photo);
     // End snippet
 }
Exemplo n.º 2
0
 public void CreatePhoto_RequestObject()
 {
     // Snippet: CreatePhoto(CreatePhotoRequest,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     CreatePhotoRequest request = new CreatePhotoRequest
     {
         Photo = new Photo(),
     };
     // Make the request
     Photo response = streetViewPublishServiceClient.CreatePhoto(request);
     // End snippet
 }