Skip to content

Commit

Permalink
chore: generate libraries at Tue Apr 9 03:13:12 UTC 2024 (#10639)
Browse files Browse the repository at this point in the history
* chore: generate libraries at Fri Mar 29 03:07:10 UTC 2024

* chore: generate libraries at Sun Mar 31 03:12:19 UTC 2024

* chore: generate libraries at Mon Apr  1 03:14:48 UTC 2024

* chore: generate libraries at Tue Apr  2 03:10:33 UTC 2024

* chore: generate libraries at Wed Apr  3 03:09:22 UTC 2024

* chore: generate libraries at Thu Apr  4 03:10:05 UTC 2024

* chore: generate libraries at Fri Apr  5 03:09:54 UTC 2024

* chore: generate libraries at Sat Apr  6 03:09:30 UTC 2024

* chore: generate libraries at Sun Apr  7 03:13:42 UTC 2024

* chore: generate libraries at Tue Apr  9 03:13:12 UTC 2024

---------

Co-authored-by: Mridula <66699525+mpeddada1@users.noreply.github.com>
  • Loading branch information
cloud-java-bot and mpeddada1 committed Apr 9, 2024
1 parent 949889d commit 5423c11
Show file tree
Hide file tree
Showing 1,147 changed files with 295,512 additions and 18,700 deletions.
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.38.1
protobuf_version: '25.2'
googleapis_commitish: 0acc64cb759eb3a11c2230d42f24f1a35f81b178
googleapis_commitish: 5db2bbe911db5a01c6a7564f78e84f8116de91d3
owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409
synthtool_commitish: 6612ab8f3afcd5e292aecd647f0fa68812c9f5b5
template_excludes:
Expand Down
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.34.0</version>
<version>26.37.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.39.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.42.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
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.34.0</version>
<version>26.37.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.39.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.42.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
4 changes: 2 additions & 2 deletions java-advisorynotifications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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.34.0</version>
<version>26.37.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,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-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.27.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.30.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 @@ -277,7 +277,7 @@ public AdvisoryNotificationsServiceStub getStub() {
*
* @param parent Required. The parent, which owns this collection of notifications. Must be of the
* form "organizations/{organization}/locations/{location}" or
* "projects/{project}/locations/{location}"
* "projects/{project}/locations/{location}".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListNotificationsPagedResponse listNotifications(LocationName parent) {
Expand Down Expand Up @@ -313,7 +313,7 @@ public final ListNotificationsPagedResponse listNotifications(LocationName paren
*
* @param parent Required. The parent, which owns this collection of notifications. Must be of the
* form "organizations/{organization}/locations/{location}" or
* "projects/{project}/locations/{location}"
* "projects/{project}/locations/{location}".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListNotificationsPagedResponse listNotifications(String parent) {
Expand Down Expand Up @@ -587,13 +587,14 @@ public final UnaryCallable<GetNotificationRequest, Notification> getNotification
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AdvisoryNotificationsServiceClient advisoryNotificationsServiceClient =
* AdvisoryNotificationsServiceClient.create()) {
* SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
* SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
* Settings response = advisoryNotificationsServiceClient.getSettings(name);
* }
* }</pre>
*
* @param name Required. The resource name of the settings to retrieve. Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Settings getSettings(SettingsName name) {
Expand All @@ -616,13 +617,15 @@ public final Settings getSettings(SettingsName name) {
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AdvisoryNotificationsServiceClient advisoryNotificationsServiceClient =
* AdvisoryNotificationsServiceClient.create()) {
* String name = SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString();
* String name =
* SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString();
* Settings response = advisoryNotificationsServiceClient.getSettings(name);
* }
* }</pre>
*
* @param name Required. The resource name of the settings to retrieve. Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Settings getSettings(String name) {
Expand All @@ -646,7 +649,9 @@ public final Settings getSettings(String name) {
* AdvisoryNotificationsServiceClient.create()) {
* GetSettingsRequest request =
* GetSettingsRequest.newBuilder()
* .setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
* .setName(
* SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]")
* .toString())
* .build();
* Settings response = advisoryNotificationsServiceClient.getSettings(request);
* }
Expand Down Expand Up @@ -675,7 +680,9 @@ public final Settings getSettings(GetSettingsRequest request) {
* AdvisoryNotificationsServiceClient.create()) {
* GetSettingsRequest request =
* GetSettingsRequest.newBuilder()
* .setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
* .setName(
* SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]")
* .toString())
* .build();
* ApiFuture<Settings> future =
* advisoryNotificationsServiceClient.getSettingsCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public class HttpJsonAdvisoryNotificationsServiceStub extends AdvisoryNotificati
serializer.putPathParam(fields, "name", request.getName());
return fields;
})
.setAdditionalPaths("/v1/{name=projects/*/locations/*/settings}")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down Expand Up @@ -189,6 +190,7 @@ public class HttpJsonAdvisoryNotificationsServiceStub extends AdvisoryNotificati
fields, "settings.name", request.getSettings().getName());
return fields;
})
.setAdditionalPaths("/v1/{settings.name=projects/*/locations/*/settings}")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,14 @@ public void getNotificationExceptionTest2() throws Exception {
public void getSettingsTest() throws Exception {
Settings expectedResponse =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
mockService.addResponse(expectedResponse);

SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");

Settings actualResponse = client.getSettings(name);
Assert.assertEquals(expectedResponse, actualResponse);
Expand Down Expand Up @@ -324,7 +325,7 @@ public void getSettingsExceptionTest() throws Exception {
mockService.addException(exception);

try {
SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
client.getSettings(name);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
Expand All @@ -336,7 +337,8 @@ public void getSettingsExceptionTest() throws Exception {
public void getSettingsTest2() throws Exception {
Settings expectedResponse =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
Expand Down Expand Up @@ -382,15 +384,17 @@ public void getSettingsExceptionTest2() throws Exception {
public void updateSettingsTest() throws Exception {
Settings expectedResponse =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
mockService.addResponse(expectedResponse);

Settings settings =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
Expand Down Expand Up @@ -423,7 +427,9 @@ public void updateSettingsExceptionTest() throws Exception {
try {
Settings settings =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]")
.toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,13 +268,14 @@ public void getNotificationExceptionTest2() throws Exception {
public void getSettingsTest() throws Exception {
Settings expectedResponse =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
mockAdvisoryNotificationsService.addResponse(expectedResponse);

SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");

Settings actualResponse = client.getSettings(name);
Assert.assertEquals(expectedResponse, actualResponse);
Expand All @@ -296,7 +297,7 @@ public void getSettingsExceptionTest() throws Exception {
mockAdvisoryNotificationsService.addException(exception);

try {
SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
client.getSettings(name);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
Expand All @@ -308,7 +309,8 @@ public void getSettingsExceptionTest() throws Exception {
public void getSettingsTest2() throws Exception {
Settings expectedResponse =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
Expand Down Expand Up @@ -348,7 +350,8 @@ public void getSettingsExceptionTest2() throws Exception {
public void updateSettingsTest() throws Exception {
Settings expectedResponse =
Settings.newBuilder()
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
.setName(
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
.setEtag("etag3123477")
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand All @@ -100,7 +101,8 @@ public java.lang.String getName() {
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand Down Expand Up @@ -475,7 +477,8 @@ public Builder mergeFrom(
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand All @@ -501,7 +504,8 @@ public java.lang.String getName() {
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand All @@ -527,7 +531,8 @@ public com.google.protobuf.ByteString getNameBytes() {
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand All @@ -552,7 +557,8 @@ public Builder setName(java.lang.String value) {
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand All @@ -573,7 +579,8 @@ public Builder clearName() {
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public interface GetSettingsRequestOrBuilder
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand All @@ -46,7 +47,8 @@ public interface GetSettingsRequestOrBuilder
* <pre>
* Required. The resource name of the settings to retrieve.
* Format:
* organizations/{organization}/locations/{location}/settings.
* organizations/{organization}/locations/{location}/settings or
* projects/{projects}/locations/{location}/settings.
* </pre>
*
* <code>
Expand Down

0 comments on commit 5423c11

Please sign in to comment.