code: public final Profile updateProfile(Profile profile) {
  
      UpdateProfileRequest request = UpdateProfileRequest.newBuilder().setProfile(profile).build();
      return updateProfile(request);
    }
docs: Updates the specified profile and returns the updated result.
  
  <p>Sample code:
  
  <pre><code>
  try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
  Profile profile = Profile.newBuilder().build();
  Profile response = profileServiceClient.updateProfile(profile);
  }
  </code></pre>
  
  @param profile Required.
  <p>Profile to be updated.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails