code: public static CreateObjectOptions objectOptionsFromFileOptions(CreateFileOptions options) {
      return new CreateObjectOptions(
          options.overwriteExisting(), options.getContentType(), options.getAttributes());
    }
docs: Convert {@code CreateFileOptions} to {@code CreateObjectOptions}.