Skip to content

Commit

Permalink
Regenerate securitycenter client (#4432)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and kolea2 committed Feb 5, 2019
1 parent 6e7ef81 commit 17ec9ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ public final UnaryCallable<ListSourcesRequest, ListSourcesResponse> listSourcesC
* <pre><code>
* try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
* OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
* Empty response = securityCenterClient.runAssetDiscoveryAsync(parent).get();
* securityCenterClient.runAssetDiscoveryAsync(parent).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1292,7 +1292,7 @@ public final OperationFuture<Empty, Empty> runAssetDiscoveryAsync(OrganizationNa
* <pre><code>
* try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
* OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
* Empty response = securityCenterClient.runAssetDiscoveryAsync(parent.toString()).get();
* securityCenterClient.runAssetDiscoveryAsync(parent.toString()).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1324,7 +1324,7 @@ public final OperationFuture<Empty, Empty> runAssetDiscoveryAsync(String parent)
* RunAssetDiscoveryRequest request = RunAssetDiscoveryRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* Empty response = securityCenterClient.runAssetDiscoveryAsync(request).get();
* securityCenterClient.runAssetDiscoveryAsync(request).get();
* }
* </code></pre>
*
Expand Down Expand Up @@ -1353,9 +1353,9 @@ public final OperationFuture<Empty, Empty> runAssetDiscoveryAsync(
* RunAssetDiscoveryRequest request = RunAssetDiscoveryRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* OperationFuture&lt;Operation&gt; future = securityCenterClient.runAssetDiscoveryOperationCallable().futureCall(request);
* OperationFuture&lt;Empty, Empty&gt; future = securityCenterClient.runAssetDiscoveryOperationCallable().futureCall(request);
* // Do something
* Empty response = future.get();
* future.get();
* }
* </code></pre>
*/
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-securitycenter/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-01-17T08:50:12.007255Z",
"updateTime": "2019-02-02T08:46:39.989912Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.6",
"dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e"
"version": "0.16.8",
"dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05",
"internalRef": "229626798"
"sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
"internalRef": "231974277"
}
}
],
Expand Down

0 comments on commit 17ec9ac

Please sign in to comment.