fix(deps): update dependency com.google.cloud:google-cloud-apikeys to v0.6.0 #7614
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.1.0->0.6.0⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
googleapis/google-cloud-java
v0.6.0: 0.6.0Compare Source
Credentials changes
AuthCredentialsclasses have been deleted. Use classes from google-auth-library-java for authentication.google-cloudwill still try to infer credentials from the environment when no credentials are provided:You can also explicitly provide credentials. For instance, to use a JSON credentials file try the following code:
For more details see the Authentication section of the main README.
Features
PubSub
pullAsyncmethods now usereturnImmediately=falseand are not subject to client-side timeouts (#1387)Translate
TranslateOption.model(String)option which allows to set the language translation model used to translate text. This option is only available to whitelisted users (#1393)Fixes
Storage
BaseWriteChannel'spositiontolongto fix integer overflow on big files (#1390)v0.5.0: 0.5.0Compare Source
Naming changes
getandsetprefix have been added to all classes/builders. Older getters/setters (withoutget/setprefix) have been deprecatedbuilder()have been deprecated, you should usenewBuilder()insteaddefaultInstance()factory methods have been deprecated, you should usegetDefaultInstance()insteadSee the following example of using
google-cloud-storageafter the naming changes:Features
Datastore
LocalDatastoreHelperfor more recent version of the Datastore emulator installed viagcloud(#1303)reset()method toLocalDatastoreHelperto clear the status of the Datastore emulator (#1293)PubSub
PUBSUB_EMULATOR_HOSTenvironment variable is set, the PubSub client uses it to locate the PubSub emulator. (#1317)Fixes
Datastore
LocalDatastoreHelperto properly cache downloaded copies of the Datastore emulator (#1302)Storage
Storage.signUrlto support blob names containing/characters (#1346)Storage.readerto read gzip blobs in compressed chunks. This preventsReadChannelfrom trying (and failing) to uncompress gzipped chunks (#1301)Storage NIO
google-cloud-nioshaded jar (#1327)v0.4.0: 0.4.0Compare Source
Features
BigQuery
of(String)factory method to DatasetInfo (#1275)Core
google-cloudnow depends onprotobuf 3.0.0andgrpc 1.0.1(#1273)PubSub
Storage
Fixes
BigQuery
BigQueryOptions(#1217)RowToInsertusingMap<Str, ? extends Object>rather thanMap<Str, Object>(#1259)Datastore
ABORTEDDatastore commits only when the commit wasNON_TRANSACTIONAL(#1235)Logging
MetricInfoparameter fromMetric.updateAsync()(#1221)SinkInfoparameter fromSink.updateAsync()(#1222)Logging.deleteSinknow returnsfalseonNOT_FOUND(#1222)Storage
WriteChannel, when they fail with a retryable error (#1233)v0.3.0: 0.3.0Compare Source
gcloud-javarenamed togoogle-cloudgcloud-javahas been deprecated and renamed togoogle-cloud.If you are using Maven, add this to your pom.xml file
If you are using Gradle, add this to your dependencies
compile 'com.google.cloud:google-cloud:0.3.0'If you are using SBT, add this to your dependencies
gcloud-java-<service>renamed togoogle-cloud-<service>Service-specific artifacts have also been renamed from
gcloud-java-<service>togoogle-cloud-<service>. See the following for examples of addinggoogle-cloud-datastoreas a dependency:If you are using Gradle, add this to your dependencies
compile 'com.google.cloud:google-cloud-datastore:0.3.0'If you are using SBT, add this to your dependencies
Other changes
GCLOUD_PROJECTenvironment variable is now deprecated, useGOOGLE_CLOUD_PROJECTto set your default project id.v0.2.0: 0.2.0Compare Source
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
If you are using Gradle, add this to your dependencies
If you are using SBT, add this to your dependencies
Storage
ServiceAccountSignerwas added. BothAppEngineAuthCredentialsandServiceAccountAuthCredentialsextend this interface and can be used to sign Google Cloud Storage blob URLs (#701, #854).Fixes
General
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
ChangeRequest, namely addingreload/isDonemethods and changing the method signature ofapplyTo(#849).Storage
RemoteGcsHelperwas renamed toRemoteStorageHelperto be more consistent with other modules' test helpers (#821).v0.1.2: 0.1.2Compare Source
Features
Core
By default, requests are now retried (#547).
For example:
BigQuery
Fixes
Datastore
QueryResults.cursorAfter()is now set when all results from a query have been exhausted (#549).When running large queries, users may see Datastore-internal errors with code 500 due to a Datastore issue. This issue will be fixed in the next version of Datastore. Until then, users can set a limit on their query and use the cursor to get more results in subsequent queries. Here is an example:
loadis renamed togetin functional classes (#535)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.