Navigation Menu

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

Commit

Permalink
feat: generate sample code in the Java microgenerator (#419)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 356341083

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Feb 8 13:33:28 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 8d8c008e56f1af31d57f75561e0f1848ffb29eeb
Source-Link: googleapis/googleapis@8d8c008
  • Loading branch information
yoshi-automation committed Feb 8, 2021
1 parent 175f1f6 commit 0dfec30
Show file tree
Hide file tree
Showing 7 changed files with 3,506 additions and 5 deletions.

Large diffs are not rendered by default.

Expand Up @@ -23,6 +23,15 @@
* manage their data.
*
* <p>Sample for DataCatalogClient:
*
* <pre>{@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* String entryGroupId = "entryGroupId1228924712";
* EntryGroup entryGroup = EntryGroup.newBuilder().build();
* EntryGroup response = dataCatalogClient.createEntryGroup(parent, entryGroupId, entryGroup);
* }
* }</pre>
*/
@Generated("by gapic-generator-java")
package com.google.cloud.datacatalog.v1;
Expand Down

0 comments on commit 0dfec30

Please sign in to comment.