code: public Metric update() {
      // [START update]
      Metric updatedMetric =
          metric.toBuilder().setDescription("A more detailed description").build().update();
      // [END update]
      return updatedMetric;
    }
docs: [TARGET update()]