Releases: googleapis/google-cloud-java
0.1.0
Features
Core
-
The project ID set in the Google Cloud SDK now supersedes the project ID set by Compute Engine (#337).
Before
The project ID is determined by iterating through the following list in order, stopping when a valid project ID is found:
- Project ID supplied when building the service options
- Project ID specified by the environment variable
GCLOUD_PROJECT - App Engine project ID
- Compute Engine project ID
- Google Cloud SDK project ID
After
- Project ID supplied when building the service options
- Project ID specified by the environment variable
GCLOUD_PROJECT - App Engine project ID
- Google Cloud SDK project ID
- Compute Engine project ID
-
The explicit
AuthCredentials.noCredentialsoption was removed.
Storage
-
The testing helper class
RemoteGCSHelpernow usesGOOGLE_APPLICATION_CREDENTIALSandGCLOUD_PROJECTenvironment variables to set credentials and project (#335, #339).Before
export GCLOUD_TESTS_PROJECT_ID="MY_PROJECT_ID" export GCLOUD_TESTS_KEY=/path/to/my/key.jsonAfter
export GCLOUD_PROJECT="MY_PROJECT_ID" export GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/key.json -
BlobReadChannelthrows aStorageExceptionif a blob is updated during a read (#359, #390) -
generationis moved fromBlobInfotoBlobId, andgenerationMatchandgenerationNotMatchmethods are added toBlobSourceOptionandBlobGetOption(#363, #366).Before
BlobInfo myBlobInfo = someAlreadyExistingBlobInfo.toBuilder().generation(1L);
After
BlobId myBlobId = BlobId.of("bucketName", "idName", 1L);
-
The
Blob's batch delete method now returns false for blobs that were not found (#380).
Fixes
Core
- An exception is no longer thrown when reading the default project ID in the App Engine environment (#378).
SocketTimeoutExceptionsare now retried (#410, #414).
Datastore
- A
SocketExceptionexception is no longer thrown when creating the Datastore service object from within the App Engine production environment (#411).
Storage
0.0.12
0.0.11
0.0.10
Version 0.0.9
Add javadoc links to maven site