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

Commit

Permalink
chore: release gapic-generator-java v1.0.12 (#605)
Browse files Browse the repository at this point in the history
* chore: release gapic-generator-java v1.0.11

Committer: @miraleung
PiperOrigin-RevId: 378266372

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jun 8 15:56:51 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 9e3105549a35520f215359065c11e8dce15e18af
Source-Link: googleapis/googleapis@9e31055

* chore: release gapic-generator-java v1.0.12

Committer: @miraleung
PiperOrigin-RevId: 378718217

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Jun 10 13:08:49 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 08c4eeb531c01ad031134dca94b18e3f7dd35902
Source-Link: googleapis/googleapis@08c4eeb
  • Loading branch information
yoshi-automation committed Jun 14, 2021
1 parent 5c14c29 commit 151fa85
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Expand Up @@ -140,6 +140,11 @@ public static String getDefaultEndpoint() {
return "containeranalysis.googleapis.com:443";
}

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

/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return DEFAULT_SERVICE_SCOPES;
Expand Down Expand Up @@ -279,6 +284,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
Expand Up @@ -53,8 +53,8 @@
public class ContainerAnalysisClientTest {
private static MockContainerAnalysis mockContainerAnalysis;
private static MockServiceHelper mockServiceHelper;
private ContainerAnalysisClient client;
private LocalChannelProvider channelProvider;
private ContainerAnalysisClient client;

@BeforeClass
public static void startStaticServer() {
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-containeranalysis.git",
"sha": "6deede3f7dec75fc5ccf0a43dd98bf91c55dd205"
"sha": "a990d001efab58ff38072f3ddf390fba6e4eb9e3"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "a5f96d06ef57e325761bad010f460d0c5dbeccda",
"internalRef": "377081269"
"sha": "08c4eeb531c01ad031134dca94b18e3f7dd35902",
"internalRef": "378718217"
}
},
{
Expand Down

0 comments on commit 151fa85

Please sign in to comment.