Ejemplo n.º 1
0
 public void UpdatePhoto()
 {
     // Snippet: UpdatePhoto(Photo,FieldMask,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     Photo     photo      = new Photo();
     FieldMask updateMask = new FieldMask();
     // Make the request
     Photo response = streetViewPublishServiceClient.UpdatePhoto(photo, updateMask);
     // End snippet
 }
Ejemplo n.º 2
0
 public void UpdatePhoto_RequestObject()
 {
     // Snippet: UpdatePhoto(UpdatePhotoRequest,CallSettings)
     // Create client
     StreetViewPublishServiceClient streetViewPublishServiceClient = StreetViewPublishServiceClient.Create();
     // Initialize request argument(s)
     UpdatePhotoRequest request = new UpdatePhotoRequest
     {
         Photo      = new Photo(),
         UpdateMask = new FieldMask(),
     };
     // Make the request
     Photo response = streetViewPublishServiceClient.UpdatePhoto(request);
     // End snippet
 }