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

Commit

Permalink
docs: generate sample code in the Java microgenerator (#371)
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/fbee02a3-e9fc-4733-8d87-962a71f40117/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 356341083
Source-Link: googleapis/googleapis@8d8c008
  • Loading branch information
yoshi-automation committed Feb 12, 2021
1 parent 890c159 commit a81156a
Show file tree
Hide file tree
Showing 7 changed files with 3,449 additions and 6 deletions.

Large diffs are not rendered by default.

Expand Up @@ -22,6 +22,14 @@
* <p>Service Description: V1 APIs for Security Center service.
*
* <p>Sample for SecurityCenterClient:
*
* <pre>{@code
* try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
* OrganizationName parent = OrganizationName.of("[ORGANIZATION]");
* Source source = Source.newBuilder().build();
* Source response = securityCenterClient.createSource(parent, source);
* }
* }</pre>
*/
@Generated("by gapic-generator-java")
package com.google.cloud.securitycenter.v1;
Expand Down

0 comments on commit a81156a

Please sign in to comment.