Skip to content

Commit 0f5da13

Browse files
yoshi-automationandrey-qlogic
authored andcommitted
---
yaml --- r: 21727 b: refs/heads/autosynth-container c: 812f227 h: refs/heads/master i: 21725: b6cef5c 21723: f7da1f1 21719: 6092129 21711: 4cd941d 21695: 2a71252
1 parent dbfa027 commit 0f5da13

3 files changed

Lines changed: 27 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ refs/tags/v0.65.0: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
112112
refs/tags/v0.66.0: ed6a3f57cbdaa20339a1995f7d7d53b172a5b8ef
113113
refs/tags/v0.67.0: 30b56f02092efc6f3c3667650ea8b8825003e0b7
114114
refs/heads/autosynth-compute: 026cea73fde22ec0b40866ac5a7dc144dc465b9b
115-
refs/heads/autosynth-container: 439a621a5c175f1b2f476f56d3d228fa749d479d
115+
refs/heads/autosynth-container: 812f227c706c10ed517ff14bcd5f21525eb6c420
116116
refs/heads/autosynth-monitoring: 832528c131ac32b115fd7a369701d9e6e4ec62e5
117117
refs/heads/autosynth-pubsub: 7a327eaed5fb2a5d6c1691feb73c3e0194dd805e
118118
refs/heads/autosynth-video-intelligence: 53ca56e5d077bf67065b730f3fe621f40689fb4c

branches/autosynth-container/google-cloud-clients/google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceStub.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@
2222
import com.google.api.gax.grpc.GrpcStubCallableFactory;
2323
import com.google.api.gax.rpc.ClientContext;
2424
import com.google.api.gax.rpc.OperationCallable;
25+
import com.google.api.gax.rpc.RequestParamsExtractor;
2526
import com.google.api.gax.rpc.UnaryCallable;
2627
import com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest;
2728
import com.google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse;
2829
import com.google.cloud.asset.v1beta1.ExportAssetsRequest;
2930
import com.google.cloud.asset.v1beta1.ExportAssetsResponse;
31+
import com.google.common.collect.ImmutableMap;
3032
import com.google.longrunning.Operation;
3133
import com.google.longrunning.stub.GrpcOperationsStub;
3234
import io.grpc.MethodDescriptor;
3335
import io.grpc.protobuf.ProtoUtils;
3436
import java.io.IOException;
37+
import java.util.Map;
3538
import java.util.concurrent.TimeUnit;
3639
import javax.annotation.Generated;
3740

@@ -116,12 +119,30 @@ protected GrpcAssetServiceStub(
116119
GrpcCallSettings<ExportAssetsRequest, Operation> exportAssetsTransportSettings =
117120
GrpcCallSettings.<ExportAssetsRequest, Operation>newBuilder()
118121
.setMethodDescriptor(exportAssetsMethodDescriptor)
122+
.setParamsExtractor(
123+
new RequestParamsExtractor<ExportAssetsRequest>() {
124+
@Override
125+
public Map<String, String> extract(ExportAssetsRequest request) {
126+
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
127+
params.put("parent", String.valueOf(request.getParent()));
128+
return params.build();
129+
}
130+
})
119131
.build();
120132
GrpcCallSettings<BatchGetAssetsHistoryRequest, BatchGetAssetsHistoryResponse>
121133
batchGetAssetsHistoryTransportSettings =
122134
GrpcCallSettings
123135
.<BatchGetAssetsHistoryRequest, BatchGetAssetsHistoryResponse>newBuilder()
124136
.setMethodDescriptor(batchGetAssetsHistoryMethodDescriptor)
137+
.setParamsExtractor(
138+
new RequestParamsExtractor<BatchGetAssetsHistoryRequest>() {
139+
@Override
140+
public Map<String, String> extract(BatchGetAssetsHistoryRequest request) {
141+
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
142+
params.put("parent", String.valueOf(request.getParent()));
143+
return params.build();
144+
}
145+
})
125146
.build();
126147

127148
this.exportAssetsCallable =

branches/autosynth-container/google-cloud-clients/google-cloud-asset/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-02-26T08:33:09.405147Z",
2+
"updateTime": "2019-03-28T07:33:38.941289Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.14",
8-
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
7+
"version": "0.16.20",
8+
"dockerImage": "googleapis/artman@sha256:e3c054a2fb85a12481c722af616c7fb6f1d02d862248385eecbec3e4240ebd1e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "29f098cb03a9983cc9cb15993de5da64419046f2",
16-
"internalRef": "235621085"
15+
"sha": "6a84b3267b0a95e922608b9891219075047eee29",
16+
"internalRef": "240640999"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)