Skip to content

Commit

Permalink
fix(deps): [Many APIs] Update the Java code generator (gapic-generato…
Browse files Browse the repository at this point in the history
…r-java) to 2.37.0 (#10451)

* fix(deps): Update the Java code generator (gapic-generator-java) to 2.37.0

PiperOrigin-RevId: 611816371

Source-Link: googleapis/googleapis@2a40f63

Source-Link: https://github.com/googleapis/googleapis-gen/commit/d30ff0767777b381fb1617f67a90e3abd3bdc6dc
Copy-Tag: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLW1hcHMtbWFwc3BsYXRmb3JtZGF0YXNldHMvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1hY2Nlc3NhcHByb3ZhbC8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1hY2Nlc3Njb250ZXh0bWFuYWdlci8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1hZHZpc29yeW5vdGlmaWNhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtL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NjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0=
Copy-Tag: eyJwIjoiamF2YS1hcHBlbmdpbmUtYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1hcmVhMTIwLXRhYmxlcy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1hcnRpZmFjdC1yZWdpc3RyeS8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1hc3NldC8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1hc3N1cmVkLXdvcmtsb2Fkcy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1hdXRvbWwvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/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] authored Mar 5, 2024
1 parent 3e95fa4 commit 55c85fe
Show file tree
Hide file tree
Showing 186 changed files with 32 additions and 1,041 deletions.
4 changes: 2 additions & 2 deletions java-accessapproval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.32.0</version>
<version>26.33.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.36.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.37.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public static Builder newBuilder() {
}

/** Returns a new REST builder for this class. */
@BetaApi
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
Expand Down Expand Up @@ -229,7 +228,6 @@ private static Builder createDefault() {
return new Builder(AccessApprovalStubSettings.newBuilder());
}

@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(AccessApprovalStubSettings.newHttpJsonBuilder());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.accessapproval.v1.stub;

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable;
Expand All @@ -41,7 +40,6 @@
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonAccessApprovalCallableFactory
implements HttpJsonStubCallableFactory<Operation, OperationsStub> {

Expand Down Expand Up @@ -73,8 +71,6 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import static com.google.cloud.accessapproval.v1.AccessApprovalAdminClient.ListApprovalRequestsPagedResponse;

import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.core.BackgroundResourceAggregation;
Expand Down Expand Up @@ -61,7 +60,6 @@
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonAccessApprovalStub extends AccessApprovalStub {
private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.accessapproval.v1;

import com.google.api.core.BetaApi;
import com.google.api.pathtemplate.PathTemplate;
import com.google.api.pathtemplate.ValidationException;
import com.google.api.resourcenames.ResourceName;
Expand Down Expand Up @@ -88,17 +87,14 @@ public static Builder newBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static Builder newProjectBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static FolderBuilder newFolderBuilder() {
return new FolderBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static OrganizationBuilder newOrganizationBuilder() {
return new OrganizationBuilder();
}
Expand All @@ -111,17 +107,14 @@ public static AccessApprovalSettingsName of(String project) {
return newBuilder().setProject(project).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static AccessApprovalSettingsName ofProjectName(String project) {
return newBuilder().setProject(project).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static AccessApprovalSettingsName ofFolderName(String folder) {
return newFolderBuilder().setFolder(folder).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static AccessApprovalSettingsName ofOrganizationName(String organization) {
return newOrganizationBuilder().setOrganization(organization).build();
}
Expand All @@ -130,17 +123,14 @@ public static String format(String project) {
return newBuilder().setProject(project).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatProjectName(String project) {
return newBuilder().setProject(project).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatFolderName(String folder) {
return newFolderBuilder().setFolder(folder).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatOrganizationName(String organization) {
return newOrganizationBuilder().setOrganization(organization).build().toString();
}
Expand Down Expand Up @@ -276,7 +266,6 @@ public AccessApprovalSettingsName build() {
}

/** Builder for folders/{folder}/accessApprovalSettings. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class FolderBuilder {
private String folder;

Expand All @@ -297,7 +286,6 @@ public AccessApprovalSettingsName build() {
}

/** Builder for organizations/{organization}/accessApprovalSettings. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class OrganizationBuilder {
private String organization;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.accessapproval.v1;

import com.google.api.core.BetaApi;
import com.google.api.pathtemplate.PathTemplate;
import com.google.api.pathtemplate.ValidationException;
import com.google.api.resourcenames.ResourceName;
Expand Down Expand Up @@ -99,17 +98,14 @@ public static Builder newBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static Builder newProjectApprovalRequestBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static FolderApprovalRequestBuilder newFolderApprovalRequestBuilder() {
return new FolderApprovalRequestBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static OrganizationApprovalRequestBuilder newOrganizationApprovalRequestBuilder() {
return new OrganizationApprovalRequestBuilder();
}
Expand All @@ -122,13 +118,11 @@ public static ApprovalRequestName of(String project, String approvalRequest) {
return newBuilder().setProject(project).setApprovalRequest(approvalRequest).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static ApprovalRequestName ofProjectApprovalRequestName(
String project, String approvalRequest) {
return newBuilder().setProject(project).setApprovalRequest(approvalRequest).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static ApprovalRequestName ofFolderApprovalRequestName(
String folder, String approvalRequest) {
return newFolderApprovalRequestBuilder()
Expand All @@ -137,7 +131,6 @@ public static ApprovalRequestName ofFolderApprovalRequestName(
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static ApprovalRequestName ofOrganizationApprovalRequestName(
String organization, String approvalRequest) {
return newOrganizationApprovalRequestBuilder()
Expand All @@ -150,12 +143,10 @@ public static String format(String project, String approvalRequest) {
return newBuilder().setProject(project).setApprovalRequest(approvalRequest).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatProjectApprovalRequestName(String project, String approvalRequest) {
return newBuilder().setProject(project).setApprovalRequest(approvalRequest).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatFolderApprovalRequestName(String folder, String approvalRequest) {
return newFolderApprovalRequestBuilder()
.setFolder(folder)
Expand All @@ -164,7 +155,6 @@ public static String formatFolderApprovalRequestName(String folder, String appro
.toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatOrganizationApprovalRequestName(
String organization, String approvalRequest) {
return newOrganizationApprovalRequestBuilder()
Expand Down Expand Up @@ -323,7 +313,6 @@ public ApprovalRequestName build() {
}

/** Builder for folders/{folder}/approvalRequests/{approval_request}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class FolderApprovalRequestBuilder {
private String folder;
private String approvalRequest;
Expand Down Expand Up @@ -354,7 +343,6 @@ public ApprovalRequestName build() {
}

/** Builder for organizations/{organization}/approvalRequests/{approval_request}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class OrganizationApprovalRequestBuilder {
private String organization;
private String approvalRequest;
Expand Down
4 changes: 2 additions & 2 deletions java-accesscontextmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.32.0</version>
<version>26.33.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.36.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.37.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ public static Builder newBuilder() {
}

/** Returns a new REST builder for this class. */
@BetaApi
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
Expand Down Expand Up @@ -469,7 +468,6 @@ private static Builder createDefault() {
return new Builder(AccessContextManagerStubSettings.newBuilder());
}

@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(AccessContextManagerStubSettings.newHttpJsonBuilder());
}
Expand Down
Loading

0 comments on commit 55c85fe

Please sign in to comment.