0.2.0
Features
General
gcloud-javahas been repackaged.com.google.gcloudhas now changed tocom.google.cloud, and we're releasing our artifacts on maven under the Group IDcom.google.cloudrather thancom.google.gcloud. The new way to add our library as a dependency in your project is as follows:
If you're using Maven, add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>gcloud-java</artifactId>
<version>0.2.0</version>
</dependency>
If you are using Gradle, add this to your dependencies
compile 'com.google.cloud:gcloud-java:0.2.0'
If you are using SBT, add this to your dependencies
libraryDependencies += "com.google.cloud" % "gcloud-java" % "0.2.0"
Storage
- The interface
ServiceAccountSignerwas added. BothAppEngineAuthCredentialsandServiceAccountAuthCredentialsextend this interface and can be used to sign Google Cloud Storage blob URLs (#701, #854).
Fixes
General
- The default RPC retry parameters were changed to align with the backoff policy requirement listed in the Service Level Agreements (SLAs) for Cloud BigQuery, and Cloud Datastore, and Cloud Storage (#857, #860).
- The expiration date is now properly populated for App Engine credentials (#873, #894).
gcloud-javanow uses the project ID given in the credentials file specified by the environment variableGOOGLE_APPLICATION_CREDENTIALS(if set) (#845).
BigQuery
Job'sisDonemethod is fixed to return true if the job is complete or the job doesn't exist (#853).
Datastore
LocalGcdHelperhas been renamed toRemoteDatastoreHelper, and the command line startup/shutdown of the helper has been removed. The helper is now more consistent with other modules' test helpers and can be used via thecreate,start, andstopmethods (#821).ListValueno longer rejects empty lists, since Cloud Datastore v1beta3 supports empty array values (#862).
DNS
- There were some minor changes to
ChangeRequest, namely addingreload/isDonemethods and changing the method signature ofapplyTo(#849).
Storage
RemoteGcsHelperwas renamed toRemoteStorageHelperto be more consistent with other modules' test helpers (#821).