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

Commit

Permalink
chore: release gapic-generator-java v2.0.1 (#587)
Browse files Browse the repository at this point in the history
* chore: release gapic-generator-java v2.0.1

Committer: @miraleung
PiperOrigin-RevId: 389657692

Source-Link: googleapis/googleapis@a739464

Source-Link: googleapis/googleapis-gen@03f2cfe

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Aug 19, 2021
1 parent 772f965 commit 9d75a09
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public final UnaryCallable<GetFolderRequest, Folder> getFolderCallable() {
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* ResourceName parent = TagValueName.of("[TAG_VALUE]");
* ResourceName parent = FolderName.of("[FOLDER]");
* for (Folder element : foldersClient.listFolders(parent).iterateAll()) {
* // doThingsWith(element);
* }
Expand Down Expand Up @@ -303,7 +303,7 @@ public final ListFoldersPagedResponse listFolders(ResourceName parent) {
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* String parent = TagValueName.of("[TAG_VALUE]").toString();
* String parent = FolderName.of("[FOLDER]").toString();
* for (Folder element : foldersClient.listFolders(parent).iterateAll()) {
* // doThingsWith(element);
* }
Expand Down Expand Up @@ -334,7 +334,7 @@ public final ListFoldersPagedResponse listFolders(String parent) {
* try (FoldersClient foldersClient = FoldersClient.create()) {
* ListFoldersRequest request =
* ListFoldersRequest.newBuilder()
* .setParent(TagValueName.of("[TAG_VALUE]").toString())
* .setParent(FolderName.of("[FOLDER]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setShowDeleted(true)
Expand Down Expand Up @@ -365,7 +365,7 @@ public final ListFoldersPagedResponse listFolders(ListFoldersRequest request) {
* try (FoldersClient foldersClient = FoldersClient.create()) {
* ListFoldersRequest request =
* ListFoldersRequest.newBuilder()
* .setParent(TagValueName.of("[TAG_VALUE]").toString())
* .setParent(FolderName.of("[FOLDER]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setShowDeleted(true)
Expand Down Expand Up @@ -396,7 +396,7 @@ public final ListFoldersPagedResponse listFolders(ListFoldersRequest request) {
* try (FoldersClient foldersClient = FoldersClient.create()) {
* ListFoldersRequest request =
* ListFoldersRequest.newBuilder()
* .setParent(TagValueName.of("[TAG_VALUE]").toString())
* .setParent(FolderName.of("[FOLDER]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setShowDeleted(true)
Expand Down Expand Up @@ -890,7 +890,7 @@ public final UnaryCallable<UpdateFolderRequest, Operation> updateFolderCallable(
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* FolderName name = FolderName.of("[FOLDER]");
* ResourceName destinationParent = TagValueName.of("[TAG_VALUE]");
* ResourceName destinationParent = FolderName.of("[FOLDER]");
* Folder response = foldersClient.moveFolderAsync(name, destinationParent).get();
* }
* }</pre>
Expand Down Expand Up @@ -932,7 +932,7 @@ public final OperationFuture<Folder, MoveFolderMetadata> moveFolderAsync(
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* FolderName name = FolderName.of("[FOLDER]");
* String destinationParent = TagValueName.of("[TAG_VALUE]").toString();
* String destinationParent = FolderName.of("[FOLDER]").toString();
* Folder response = foldersClient.moveFolderAsync(name, destinationParent).get();
* }
* }</pre>
Expand Down Expand Up @@ -974,7 +974,7 @@ public final OperationFuture<Folder, MoveFolderMetadata> moveFolderAsync(
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* String name = FolderName.of("[FOLDER]").toString();
* ResourceName destinationParent = TagValueName.of("[TAG_VALUE]");
* ResourceName destinationParent = FolderName.of("[FOLDER]");
* Folder response = foldersClient.moveFolderAsync(name, destinationParent).get();
* }
* }</pre>
Expand Down Expand Up @@ -1016,7 +1016,7 @@ public final OperationFuture<Folder, MoveFolderMetadata> moveFolderAsync(
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* String name = FolderName.of("[FOLDER]").toString();
* String destinationParent = TagValueName.of("[TAG_VALUE]").toString();
* String destinationParent = FolderName.of("[FOLDER]").toString();
* Folder response = foldersClient.moveFolderAsync(name, destinationParent).get();
* }
* }</pre>
Expand Down Expand Up @@ -1060,7 +1060,7 @@ public final OperationFuture<Folder, MoveFolderMetadata> moveFolderAsync(
* MoveFolderRequest request =
* MoveFolderRequest.newBuilder()
* .setName(FolderName.of("[FOLDER]").toString())
* .setDestinationParent(TagValueName.of("[TAG_VALUE]").toString())
* .setDestinationParent(FolderName.of("[FOLDER]").toString())
* .build();
* Folder response = foldersClient.moveFolderAsync(request).get();
* }
Expand Down Expand Up @@ -1096,7 +1096,7 @@ public final OperationFuture<Folder, MoveFolderMetadata> moveFolderAsync(
* MoveFolderRequest request =
* MoveFolderRequest.newBuilder()
* .setName(FolderName.of("[FOLDER]").toString())
* .setDestinationParent(TagValueName.of("[TAG_VALUE]").toString())
* .setDestinationParent(FolderName.of("[FOLDER]").toString())
* .build();
* OperationFuture<Folder, MoveFolderMetadata> future =
* foldersClient.moveFolderOperationCallable().futureCall(request);
Expand Down Expand Up @@ -1132,7 +1132,7 @@ public final OperationFuture<Folder, MoveFolderMetadata> moveFolderAsync(
* MoveFolderRequest request =
* MoveFolderRequest.newBuilder()
* .setName(FolderName.of("[FOLDER]").toString())
* .setDestinationParent(TagValueName.of("[TAG_VALUE]").toString())
* .setDestinationParent(FolderName.of("[FOLDER]").toString())
* .build();
* ApiFuture<Operation> future = foldersClient.moveFolderCallable().futureCall(request);
* // Do something.
Expand Down Expand Up @@ -1444,7 +1444,7 @@ public final UnaryCallable<UndeleteFolderRequest, Operation> undeleteFolderCalla
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* ResourceName resource = TagValueName.of("[TAG_VALUE]");
* ResourceName resource = FolderName.of("[FOLDER]");
* Policy response = foldersClient.getIamPolicy(resource);
* }
* }</pre>
Expand Down Expand Up @@ -1472,7 +1472,7 @@ public final Policy getIamPolicy(ResourceName resource) {
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* String resource = TagValueName.of("[TAG_VALUE]").toString();
* String resource = FolderName.of("[FOLDER]").toString();
* Policy response = foldersClient.getIamPolicy(resource);
* }
* }</pre>
Expand All @@ -1499,7 +1499,7 @@ public final Policy getIamPolicy(String resource) {
* try (FoldersClient foldersClient = FoldersClient.create()) {
* GetIamPolicyRequest request =
* GetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setOptions(GetPolicyOptions.newBuilder().build())
* .build();
* Policy response = foldersClient.getIamPolicy(request);
Expand All @@ -1526,7 +1526,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
* try (FoldersClient foldersClient = FoldersClient.create()) {
* GetIamPolicyRequest request =
* GetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setOptions(GetPolicyOptions.newBuilder().build())
* .build();
* ApiFuture<Policy> future = foldersClient.getIamPolicyCallable().futureCall(request);
Expand All @@ -1549,7 +1549,7 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* ResourceName resource = TagValueName.of("[TAG_VALUE]");
* ResourceName resource = FolderName.of("[FOLDER]");
* Policy policy = Policy.newBuilder().build();
* Policy response = foldersClient.setIamPolicy(resource, policy);
* }
Expand Down Expand Up @@ -1581,7 +1581,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* String resource = TagValueName.of("[TAG_VALUE]").toString();
* String resource = FolderName.of("[FOLDER]").toString();
* Policy policy = Policy.newBuilder().build();
* Policy response = foldersClient.setIamPolicy(resource, policy);
* }
Expand Down Expand Up @@ -1612,7 +1612,7 @@ public final Policy setIamPolicy(String resource, Policy policy) {
* try (FoldersClient foldersClient = FoldersClient.create()) {
* SetIamPolicyRequest request =
* SetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setPolicy(Policy.newBuilder().build())
* .build();
* Policy response = foldersClient.setIamPolicy(request);
Expand All @@ -1638,7 +1638,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
* try (FoldersClient foldersClient = FoldersClient.create()) {
* SetIamPolicyRequest request =
* SetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setPolicy(Policy.newBuilder().build())
* .build();
* ApiFuture<Policy> future = foldersClient.setIamPolicyCallable().futureCall(request);
Expand All @@ -1662,7 +1662,7 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* ResourceName resource = TagValueName.of("[TAG_VALUE]");
* ResourceName resource = FolderName.of("[FOLDER]");
* List<String> permissions = new ArrayList<>();
* TestIamPermissionsResponse response = foldersClient.testIamPermissions(resource, permissions);
* }
Expand Down Expand Up @@ -1696,7 +1696,7 @@ public final TestIamPermissionsResponse testIamPermissions(
*
* <pre>{@code
* try (FoldersClient foldersClient = FoldersClient.create()) {
* String resource = TagValueName.of("[TAG_VALUE]").toString();
* String resource = FolderName.of("[FOLDER]").toString();
* List<String> permissions = new ArrayList<>();
* TestIamPermissionsResponse response = foldersClient.testIamPermissions(resource, permissions);
* }
Expand Down Expand Up @@ -1732,7 +1732,7 @@ public final TestIamPermissionsResponse testIamPermissions(
* try (FoldersClient foldersClient = FoldersClient.create()) {
* TestIamPermissionsRequest request =
* TestIamPermissionsRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .addAllPermissions(new ArrayList<String>())
* .build();
* TestIamPermissionsResponse response = foldersClient.testIamPermissions(request);
Expand All @@ -1759,7 +1759,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
* try (FoldersClient foldersClient = FoldersClient.create()) {
* TestIamPermissionsRequest request =
* TestIamPermissionsRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .addAllPermissions(new ArrayList<String>())
* .build();
* ApiFuture<TestIamPermissionsResponse> future =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public final SearchOrganizationsPagedResponse searchOrganizations(
*
* <pre>{@code
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* ResourceName resource = TagValueName.of("[TAG_VALUE]");
* ResourceName resource = FolderName.of("[FOLDER]");
* Policy response = organizationsClient.getIamPolicy(resource);
* }
* }</pre>
Expand Down Expand Up @@ -437,7 +437,7 @@ public final Policy getIamPolicy(ResourceName resource) {
*
* <pre>{@code
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* String resource = TagValueName.of("[TAG_VALUE]").toString();
* String resource = FolderName.of("[FOLDER]").toString();
* Policy response = organizationsClient.getIamPolicy(resource);
* }
* }</pre>
Expand Down Expand Up @@ -466,7 +466,7 @@ public final Policy getIamPolicy(String resource) {
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* GetIamPolicyRequest request =
* GetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setOptions(GetPolicyOptions.newBuilder().build())
* .build();
* Policy response = organizationsClient.getIamPolicy(request);
Expand Down Expand Up @@ -495,7 +495,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* GetIamPolicyRequest request =
* GetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setOptions(GetPolicyOptions.newBuilder().build())
* .build();
* ApiFuture<Policy> future = organizationsClient.getIamPolicyCallable().futureCall(request);
Expand All @@ -520,7 +520,7 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
*
* <pre>{@code
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* ResourceName resource = TagValueName.of("[TAG_VALUE]");
* ResourceName resource = FolderName.of("[FOLDER]");
* Policy response = organizationsClient.setIamPolicy(resource);
* }
* }</pre>
Expand Down Expand Up @@ -549,7 +549,7 @@ public final Policy setIamPolicy(ResourceName resource) {
*
* <pre>{@code
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* String resource = TagValueName.of("[TAG_VALUE]").toString();
* String resource = FolderName.of("[FOLDER]").toString();
* Policy response = organizationsClient.setIamPolicy(resource);
* }
* }</pre>
Expand Down Expand Up @@ -577,7 +577,7 @@ public final Policy setIamPolicy(String resource) {
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* SetIamPolicyRequest request =
* SetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setPolicy(Policy.newBuilder().build())
* .build();
* Policy response = organizationsClient.setIamPolicy(request);
Expand Down Expand Up @@ -605,7 +605,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* SetIamPolicyRequest request =
* SetIamPolicyRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .setPolicy(Policy.newBuilder().build())
* .build();
* ApiFuture<Policy> future = organizationsClient.setIamPolicyCallable().futureCall(request);
Expand All @@ -629,7 +629,7 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
*
* <pre>{@code
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* ResourceName resource = TagValueName.of("[TAG_VALUE]");
* ResourceName resource = FolderName.of("[FOLDER]");
* List<String> permissions = new ArrayList<>();
* TestIamPermissionsResponse response =
* organizationsClient.testIamPermissions(resource, permissions);
Expand Down Expand Up @@ -664,7 +664,7 @@ public final TestIamPermissionsResponse testIamPermissions(
*
* <pre>{@code
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* String resource = TagValueName.of("[TAG_VALUE]").toString();
* String resource = FolderName.of("[FOLDER]").toString();
* List<String> permissions = new ArrayList<>();
* TestIamPermissionsResponse response =
* organizationsClient.testIamPermissions(resource, permissions);
Expand Down Expand Up @@ -701,7 +701,7 @@ public final TestIamPermissionsResponse testIamPermissions(
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* TestIamPermissionsRequest request =
* TestIamPermissionsRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .addAllPermissions(new ArrayList<String>())
* .build();
* TestIamPermissionsResponse response = organizationsClient.testIamPermissions(request);
Expand All @@ -728,7 +728,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
* try (OrganizationsClient organizationsClient = OrganizationsClient.create()) {
* TestIamPermissionsRequest request =
* TestIamPermissionsRequest.newBuilder()
* .setResource(TagValueName.of("[TAG_VALUE]").toString())
* .setResource(FolderName.of("[FOLDER]").toString())
* .addAllPermissions(new ArrayList<String>())
* .build();
* ApiFuture<TestIamPermissionsResponse> future =
Expand Down

0 comments on commit 9d75a09

Please sign in to comment.