commit | 5c8c20b28f2eb02ac740bd47bb8464bea26ad6ed | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Thu Mar 12 09:51:51 2015 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Mon Mar 16 11:29:23 2015 -0700 |
tree | 3cef912f74175c3173f96f57c22359e3215d852f | |
parent | 3525b2dcc38e0c4d42e17f595ce2b4741f6d71bb [diff] |
Projects: Add convenience methods for creating projects The old idiom: api.projects().name("foo").create(in); more closely matches the REST API, but makes less sense in Java where we don't necessarily require a hierarchical structure, and we can infer the project name from the input. The above becomes the simpler: api.projects().create(in); Also include a method to create with just a name. Change-Id: Ib789854bd22e1a15ceebf37c57382ca4079c4459