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

Commit c6b1354

Browse files
chore: release gapic-generator-java v1.0.11 (#560)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/d9b761d2-0b70-49f9-af57-9bc5a22aa741/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) PiperOrigin-RevId: 378266372 Source-Link: googleapis/googleapis@9e31055
1 parent 2669761 commit c6b1354

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,15 @@ public Map<String, String> extract(ReidentifyContentRequest request) {
601601
GrpcCallSettings<ListInfoTypesRequest, ListInfoTypesResponse> listInfoTypesTransportSettings =
602602
GrpcCallSettings.<ListInfoTypesRequest, ListInfoTypesResponse>newBuilder()
603603
.setMethodDescriptor(listInfoTypesMethodDescriptor)
604+
.setParamsExtractor(
605+
new RequestParamsExtractor<ListInfoTypesRequest>() {
606+
@Override
607+
public Map<String, String> extract(ListInfoTypesRequest request) {
608+
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
609+
params.put("parent", String.valueOf(request.getParent()));
610+
return params.build();
611+
}
612+
})
604613
.build();
605614
GrpcCallSettings<CreateInspectTemplateRequest, InspectTemplate>
606615
createInspectTemplateTransportSettings =

google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@
126126
public class DlpServiceClientTest {
127127
private static MockDlpService mockDlpService;
128128
private static MockServiceHelper mockServiceHelper;
129-
private DlpServiceClient client;
130129
private LocalChannelProvider channelProvider;
130+
private DlpServiceClient client;
131131

132132
@BeforeClass
133133
public static void startStaticServer() {

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-dlp.git",
7-
"sha": "623c1c06f6f82dc4e5aa002dec89f3a69d0a4e33"
7+
"sha": "2669761f0d3c6dd03b7c6f130b30a2352245b6e1"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "a5f96d06ef57e325761bad010f460d0c5dbeccda",
15-
"internalRef": "377081269"
14+
"sha": "9e3105549a35520f215359065c11e8dce15e18af",
15+
"internalRef": "378266372"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)