Skip to content

resourcemanager: bump dependency version#2944

Merged
pongad merged 6 commits intogoogleapis:masterfrom
pongad:bump-resource
Feb 28, 2018
Merged

resourcemanager: bump dependency version#2944
pongad merged 6 commits intogoogleapis:masterfrom
pongad:bump-resource

Conversation

@pongad
Copy link
Contributor

@pongad pongad commented Feb 23, 2018

Fixes #2942.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 23, 2018
@pongad pongad requested a review from vam-google February 23, 2018 04:34
// reference: https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
switch (status.getCode()) {
case 0:
code = 200;

This comment was marked as spam.

This comment was marked as spam.

private static ResourceManagerException translate(Status status) {
int code;
// reference: https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
switch (status.getCode()) {

This comment was marked as spam.

This comment was marked as spam.


// NOTE(pongad): Operation.getResponse() returns a Map<String, Object>.
// `(Project) finishedOp.getResponse()` doesn't work,
// because JSON deserializer in execute() didn't know to create a Project object.

This comment was marked as spam.

This comment was marked as spam.

@pongad
Copy link
Contributor Author

pongad commented Feb 27, 2018

@vam-google PTAL

.setRetryDelayMultiplier(1.5)
// Observed P95 latency is 11s. We probably shouldn't sleep longer than this.
.setMaxRetryDelay(Duration.ofSeconds(11))
.setJittered(false)

This comment was marked as spam.

This comment was marked as spam.

private static final RetrySettings CREATE_RETRY_SETTINGS =
RetrySettings.newBuilder()
// SLO permits 30s at 90th percentile, double it for total limit
.setTotalTimeout(Duration.ofMinutes(1))

This comment was marked as spam.

This comment was marked as spam.

RetrySettings.newBuilder()
// SLO permits 30s at 90th percentile, double it for total limit
.setTotalTimeout(Duration.ofMinutes(1))
.setInitialRetryDelay(Duration.ofSeconds(5))

This comment was marked as spam.

This comment was marked as spam.

try {
return resourceManager.operations().get(operation.getName()).execute();
} catch (IOException ex) {
throw translate(ex);

This comment was marked as spam.

This comment was marked as spam.

@Override
public boolean shouldRetry(Throwable prevThrowable, Operation prevOp)
throws CancellationException {
return prevThrowable != null || prevOp.getDone() == null || !prevOp.getDone();

This comment was marked as spam.

This comment was marked as spam.

// 64-bit integers are sent as strings in JSON,
// so execute(), not knowing the type, parses it as String, not Long.
String responseTxt = JSON_FACTORY.toString(finishedOp.getResponse());
return JSON_FACTORY.fromString(responseTxt, Project.class);

This comment was marked as spam.


private static ResourceManagerException translate(Status status) {
int code;
if (RPC_TO_HTTP_CODES.containsKey(status.getCode())) {

This comment was marked as spam.

This comment was marked as spam.

@pongad
Copy link
Contributor Author

pongad commented Feb 28, 2018

@vam-google PTAL

@pongad
Copy link
Contributor Author

pongad commented Feb 28, 2018

@vam-google PTAL

}

@Override
public boolean shouldRetry(Throwable prevThrowable, Operation prevOp) {

This comment was marked as spam.

Copy link
Contributor

@vam-google vam-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pongad pongad merged commit eed8800 into googleapis:master Feb 28, 2018
@pongad pongad deleted the bump-resource branch February 28, 2018 23:08
suztomo pushed a commit that referenced this pull request Mar 9, 2026
* deps: update github/codeql-action action to v2.22.2

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
suztomo pushed a commit that referenced this pull request Mar 9, 2026
🤖 I have created a release *beep* *boop*
---


## [2.34.0](https://togithub.com/googleapis/java-bigquery/compare/v2.33.2...v2.34.0) (2023-10-26)


### Features

* Add BigLakeConfiguration Property in StandardTableDefinition.java  ([#2916](https://togithub.com/googleapis/java-bigquery/issues/2916)) ([1d660fa](https://togithub.com/googleapis/java-bigquery/commit/1d660fa19f0d82c2b6ec2ea9590881e513274c25))
* Add support for Dataset property storageBillingModel ([#2913](https://togithub.com/googleapis/java-bigquery/issues/2913)) ([f452cf4](https://togithub.com/googleapis/java-bigquery/commit/f452cf4e100b6cc211681a840ddbd0be5108d01e))
* Add support for preview features ([#2923](https://togithub.com/googleapis/java-bigquery/issues/2923)) ([113b8f2](https://togithub.com/googleapis/java-bigquery/commit/113b8f27419365c7277c6a300c5f07cea954cca1))


### Dependencies

* Update actions/checkout action to v4.1.1 ([#2950](https://togithub.com/googleapis/java-bigquery/issues/2950)) ([c556c18](https://togithub.com/googleapis/java-bigquery/commit/c556c1837baf0d53245452d6a152910df7883262))
* Update dependency com.google.api.grpc:proto-google-cloud-bigqueryconnection-v1 to v2.30.0 ([#2942](https://togithub.com/googleapis/java-bigquery/issues/2942)) ([e760fca](https://togithub.com/googleapis/java-bigquery/commit/e760fcae98b23ff4e7fc3ae25f2437be220e9df9))
* Update dependency com.google.api.grpc:proto-google-cloud-bigqueryconnection-v1 to v2.31.0 ([#2967](https://togithub.com/googleapis/java-bigquery/issues/2967)) ([7ed55b5](https://togithub.com/googleapis/java-bigquery/commit/7ed55b5c075dbac827c6201d0398ff87d8240b38))
* Update dependency com.google.apis:google-api-services-bigquery to v2-rev20231008-2.0.0 ([#2946](https://togithub.com/googleapis/java-bigquery/issues/2946)) ([3d0da5b](https://togithub.com/googleapis/java-bigquery/commit/3d0da5b5a20f49721477afbed10ea3fff43652bb))
* Update dependency com.google.cloud:google-cloud-datacatalog-bom to v1.34.0 ([#2943](https://togithub.com/googleapis/java-bigquery/issues/2943)) ([18162c3](https://togithub.com/googleapis/java-bigquery/commit/18162c37c97eff6387e0f58d211f2c1725a9c8d3))
* Update dependency com.google.cloud:google-cloud-datacatalog-bom to v1.35.0 ([#2968](https://togithub.com/googleapis/java-bigquery/issues/2968)) ([219db2c](https://togithub.com/googleapis/java-bigquery/commit/219db2c0023610d2adcba4889a9b785df2113893))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.18.0 ([#2955](https://togithub.com/googleapis/java-bigquery/issues/2955)) ([1ee18eb](https://togithub.com/googleapis/java-bigquery/commit/1ee18ebeb90adeb371ef04cbfc7b18be2c24d1e8))
* Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.28 ([#2956](https://togithub.com/googleapis/java-bigquery/issues/2956)) ([b03effd](https://togithub.com/googleapis/java-bigquery/commit/b03effd3b5f5fd6365de9a6267a1a8ace46d7718))
* Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.28 ([#2957](https://togithub.com/googleapis/java-bigquery/issues/2957)) ([6465e41](https://togithub.com/googleapis/java-bigquery/commit/6465e413c93e01069f86c80fc424715d46f9067b))
* Update github/codeql-action action to v2.22.2 ([#2944](https://togithub.com/googleapis/java-bigquery/issues/2944)) ([f584e59](https://togithub.com/googleapis/java-bigquery/commit/f584e59571f0c7918d2d83a19b00d49bd5b558c4))
* Update github/codeql-action action to v2.22.3 ([#2954](https://togithub.com/googleapis/java-bigquery/issues/2954)) ([1b2bc18](https://togithub.com/googleapis/java-bigquery/commit/1b2bc18bf49d06e1ccd29745be649108dd28cfa5))
* Update github/codeql-action action to v2.22.4 ([#2958](https://togithub.com/googleapis/java-bigquery/issues/2958)) ([de9bcee](https://togithub.com/googleapis/java-bigquery/commit/de9bcee50ba682ffa93aae063191a8880741507d))
* Update ossf/scorecard-action action to v2.3.1 ([#2960](https://togithub.com/googleapis/java-bigquery/issues/2960)) ([855e698](https://togithub.com/googleapis/java-bigquery/commit/855e69889f68592608c8a56070ffdafdf8365f57))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
…onfig to v1.8.1 (#2944)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config)
| `1.8.0` -> `1.8.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-shared-config/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-shared-config/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-shared-config/1.8.0/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-shared-config/1.8.0/1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>googleapis/java-shared-config
(com.google.cloud:google-cloud-shared-config)</summary>

###
[`v1.8.1`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#181-2024-06-24)

[Compare
Source](https://togithub.com/googleapis/java-shared-config/compare/v1.8.0...v1.8.1)

##### Dependencies

- Update actions/checkout digest to
[`692973e`](https://togithub.com/googleapis/java-shared-config/commit/692973e)
([#&#8203;814](https://togithub.com/googleapis/java-shared-config/issues/814))
([ebece6b](https://togithub.com/googleapis/java-shared-config/commit/ebece6b7df6208527450c12368fcc0c6ce07ac67))

</details>

---

### 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**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
#2944)

* deps: update dependency com.google.cloud:google-cloud-trace to v2.37.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants