Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
chore: release gapic-generator-java v1.0.12 (#527)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/cb2d8b8a-07a0-47b7-9952-4c2ed3a929fb/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 378718217
Source-Link: googleapis/googleapis@08c4eeb
  • Loading branch information
yoshi-automation committed Jun 11, 2021
1 parent bbbf8e9 commit d6068f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Expand Up @@ -579,6 +579,11 @@ public static String getDefaultEndpoint() {
return "cloudkms.googleapis.com:443";
}

/** Returns the default mTLS service endpoint. */
public static String getDefaultMtlsEndpoint() {
return "cloudkms.mtls.googleapis.com:443";
}

/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return DEFAULT_SERVICE_SCOPES;
Expand Down Expand Up @@ -885,6 +890,8 @@ private static Builder createDefault() {
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

return initDefaults(builder);
}
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-kms.git",
"sha": "e9f7f5fc70a8fe06d6099a5e683f7d6124fa5057"
"sha": "bbbf8e99e4816479831c132520421b3c6ecead47"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "9e3105549a35520f215359065c11e8dce15e18af",
"internalRef": "378266372"
"sha": "08c4eeb531c01ad031134dca94b18e3f7dd35902",
"internalRef": "378718217"
}
},
{
Expand Down

0 comments on commit d6068f2

Please sign in to comment.