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.32.0 (#10248)

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

PiperOrigin-RevId: 599914188

Source-Link: googleapis/googleapis@17e6661

Source-Link: googleapis/googleapis-gen@d86ba5b
Copy-Tag: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLW1hcHMtbWFwc3BsYXRmb3JtZGF0YXNldHMvLk93bEJvdC55YW1sIiwiaCI6ImQ4NmJhNWJlNTM3ZTQ4OTQzNTEwNWNhODU1NjZjYzQxMDMzMDFhYmEifQ==
Copy-Tag: eyJwIjoiamF2YS1hY2Nlc3NhcHByb3ZhbC8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1hY2Nlc3Njb250ZXh0bWFuYWdlci8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1hZHZpc29yeW5vdGlmaWNhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImQ4NmJhNWJlNTM3ZTQ4OTQzNTEwNWNhODU1NjZjYzQxMDMzMDFhYmEifQ==
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJkODZiYTViZTUzN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yJwIjoiamF2YS1hcHBlbmdpbmUtYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImQ4NmJhNWJlNTM3ZTQ4OTQzNTEwNWNhODU1NjZjYzQxMDMzMDFhYmEifQ==
Copy-Tag: eyJwIjoiamF2YS1hcmVhMTIwLXRhYmxlcy8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1hcnRpZmFjdC1yZWdpc3RyeS8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1hc3NldC8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1hc3N1cmVkLXdvcmtsb2Fkcy8uT3dsQm90LnlhbWwiLCJoIjoiZDg2YmE1YmU1MzdlNDg5NDM1MTA1Y2E4NTU2NmNjNDEwMzMwMWFiYSJ9
Copy-Tag: eyJwIjoiamF2YS1hdXRvbWwvLk93bEJvdC55YW1sIiwiaCI6ImQ4NmJhNWJlNTM3ZTQ4OTQzNTEwNWNhODU1NjZjYzQxMDMzMDFhYmEifQ==

* 🦉 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] committed Jan 22, 2024
1 parent 4982e78 commit daff511
Show file tree
Hide file tree
Showing 194 changed files with 8,507 additions and 6,962 deletions.
2 changes: 1 addition & 1 deletion java-accessapproval/README.md
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.33.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.34.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
Expand Up @@ -87,174 +87,175 @@
* close().
*
* <table>
* <caption>Methods</caption>
* <tr>
* <th>Method</th>
* <th>Description</th>
* <th>Method Variants</th>
* </tr>
* <tr>
* <td>ListApprovalRequests</td>
* <td><p> ListApprovalRequests</td>
* <td><p> Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>listApprovalRequests(ListApprovalRequestsMessage request)
* <li><p> listApprovalRequests(ListApprovalRequestsMessage request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>listApprovalRequests(FolderName parent)
* <li>listApprovalRequests(OrganizationName parent)
* <li>listApprovalRequests(ProjectName parent)
* <li>listApprovalRequests(String parent)
* <li><p> listApprovalRequests(FolderName parent)
* <li><p> listApprovalRequests(OrganizationName parent)
* <li><p> listApprovalRequests(ProjectName parent)
* <li><p> listApprovalRequests(String parent)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>listApprovalRequestsPagedCallable()
* <li>listApprovalRequestsCallable()
* <li><p> listApprovalRequestsPagedCallable()
* <li><p> listApprovalRequestsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>GetApprovalRequest</td>
* <td><p> GetApprovalRequest</td>
* <td><p> Gets an approval request. Returns NOT_FOUND if the request does not exist.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>getApprovalRequest(GetApprovalRequestMessage request)
* <li><p> getApprovalRequest(GetApprovalRequestMessage request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>getApprovalRequest(ApprovalRequestName name)
* <li>getApprovalRequest(String name)
* <li><p> getApprovalRequest(ApprovalRequestName name)
* <li><p> getApprovalRequest(String name)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>getApprovalRequestCallable()
* <li><p> getApprovalRequestCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>ApproveApprovalRequest</td>
* <td><p> ApproveApprovalRequest</td>
* <td><p> Approves a request and returns the updated ApprovalRequest.
* <p> Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>approveApprovalRequest(ApproveApprovalRequestMessage request)
* <li><p> approveApprovalRequest(ApproveApprovalRequestMessage request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>approveApprovalRequestCallable()
* <li><p> approveApprovalRequestCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>DismissApprovalRequest</td>
* <td><p> DismissApprovalRequest</td>
* <td><p> Dismisses a request. Returns the updated ApprovalRequest.
* <p> NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether.
* <p> Returns NOT_FOUND if the request does not exist.
* <p> Returns FAILED_PRECONDITION if the request exists but is not in a pending state.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>dismissApprovalRequest(DismissApprovalRequestMessage request)
* <li><p> dismissApprovalRequest(DismissApprovalRequestMessage request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>dismissApprovalRequestCallable()
* <li><p> dismissApprovalRequestCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>InvalidateApprovalRequest</td>
* <td><p> InvalidateApprovalRequest</td>
* <td><p> Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest.
* <p> NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval.
* <p> Returns FAILED_PRECONDITION if the request exists but is not in an approved state.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>invalidateApprovalRequest(InvalidateApprovalRequestMessage request)
* <li><p> invalidateApprovalRequest(InvalidateApprovalRequestMessage request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>invalidateApprovalRequestCallable()
* <li><p> invalidateApprovalRequestCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>GetAccessApprovalSettings</td>
* <td><p> GetAccessApprovalSettings</td>
* <td><p> Gets the settings associated with a project, folder, or organization.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>getAccessApprovalSettings(GetAccessApprovalSettingsMessage request)
* <li><p> getAccessApprovalSettings(GetAccessApprovalSettingsMessage request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>getAccessApprovalSettings(AccessApprovalSettingsName name)
* <li>getAccessApprovalSettings(String name)
* <li><p> getAccessApprovalSettings(AccessApprovalSettingsName name)
* <li><p> getAccessApprovalSettings(String name)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>getAccessApprovalSettingsCallable()
* <li><p> getAccessApprovalSettingsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>UpdateAccessApprovalSettings</td>
* <td><p> UpdateAccessApprovalSettings</td>
* <td><p> Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>updateAccessApprovalSettings(UpdateAccessApprovalSettingsMessage request)
* <li><p> updateAccessApprovalSettings(UpdateAccessApprovalSettingsMessage request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>updateAccessApprovalSettings(AccessApprovalSettings settings, FieldMask updateMask)
* <li><p> updateAccessApprovalSettings(AccessApprovalSettings settings, FieldMask updateMask)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>updateAccessApprovalSettingsCallable()
* <li><p> updateAccessApprovalSettingsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>DeleteAccessApprovalSettings</td>
* <td><p> DeleteAccessApprovalSettings</td>
* <td><p> Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>deleteAccessApprovalSettings(DeleteAccessApprovalSettingsMessage request)
* <li><p> deleteAccessApprovalSettings(DeleteAccessApprovalSettingsMessage request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>deleteAccessApprovalSettings(AccessApprovalSettingsName name)
* <li>deleteAccessApprovalSettings(String name)
* <li><p> deleteAccessApprovalSettings(AccessApprovalSettingsName name)
* <li><p> deleteAccessApprovalSettings(String name)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>deleteAccessApprovalSettingsCallable()
* <li><p> deleteAccessApprovalSettingsCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td>GetAccessApprovalServiceAccount</td>
* <td><p> GetAccessApprovalServiceAccount</td>
* <td><p> Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li>getAccessApprovalServiceAccount(GetAccessApprovalServiceAccountMessage request)
* <li><p> getAccessApprovalServiceAccount(GetAccessApprovalServiceAccountMessage request)
* </ul>
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
* <ul>
* <li>getAccessApprovalServiceAccount(String name)
* <li><p> getAccessApprovalServiceAccount(String name)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li>getAccessApprovalServiceAccountCallable()
* <li><p> getAccessApprovalServiceAccountCallable()
* </ul>
* </td>
* </tr>
* </tr>
* </table>
*
* <p>See the individual methods for example code.
Expand Down
Expand Up @@ -272,6 +272,15 @@ public AccessApprovalStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

/** Returns the default service name. */
@Override
public String getServiceName() {
Expand Down Expand Up @@ -520,7 +529,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

Expand All @@ -533,7 +541,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

Expand Down Expand Up @@ -662,6 +669,15 @@ public Builder applyToAllUnaryMethods(
return getAccessApprovalServiceAccountSettings;
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

@Override
public AccessApprovalStubSettings build() throws IOException {
return new AccessApprovalStubSettings(this);
Expand Down
2 changes: 1 addition & 1 deletion java-accesscontextmanager/README.md
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.33.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.34.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

0 comments on commit daff511

Please sign in to comment.