Skip to content

Commit 5423c11

Browse files
chore: generate libraries at Tue Apr 9 03:13:12 UTC 2024 (#10639)
* 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 <[email protected]>
1 parent 949889d commit 5423c11

File tree

1,147 files changed

+295512
-18700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,147 files changed

+295512
-18700
lines changed

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gapic_generator_version: 2.38.1
22
protobuf_version: '25.2'
3-
googleapis_commitish: 0acc64cb759eb3a11c2230d42f24f1a35f81b178
3+
googleapis_commitish: 5db2bbe911db5a01c6a7564f78e84f8116de91d3
44
owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409
55
synthtool_commitish: 6612ab8f3afcd5e292aecd647f0fa68812c9f5b5
66
template_excludes:

java-accessapproval/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.34.0</version>
23+
<version>26.37.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.39.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.42.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-accesscontextmanager/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.34.0</version>
23+
<version>26.37.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.39.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.42.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-advisorynotifications/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2323
<dependency>
2424
<groupId>com.google.cloud</groupId>
2525
<artifactId>libraries-bom</artifactId>
26-
<version>26.34.0</version>
26+
<version>26.37.0</version>
2727
<type>pom</type>
2828
<scope>import</scope>
2929
</dependency>
@@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
201201
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
202202
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
203203
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg
204-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.27.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.30.0
205205
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
206206
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
207207
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/AdvisoryNotificationsServiceClient.java

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public AdvisoryNotificationsServiceStub getStub() {
277277
*
278278
* @param parent Required. The parent, which owns this collection of notifications. Must be of the
279279
* form "organizations/{organization}/locations/{location}" or
280-
* "projects/{project}/locations/{location}"
280+
* "projects/{project}/locations/{location}".
281281
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
282282
*/
283283
public final ListNotificationsPagedResponse listNotifications(LocationName parent) {
@@ -313,7 +313,7 @@ public final ListNotificationsPagedResponse listNotifications(LocationName paren
313313
*
314314
* @param parent Required. The parent, which owns this collection of notifications. Must be of the
315315
* form "organizations/{organization}/locations/{location}" or
316-
* "projects/{project}/locations/{location}"
316+
* "projects/{project}/locations/{location}".
317317
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
318318
*/
319319
public final ListNotificationsPagedResponse listNotifications(String parent) {
@@ -587,13 +587,14 @@ public final UnaryCallable<GetNotificationRequest, Notification> getNotification
587587
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
588588
* try (AdvisoryNotificationsServiceClient advisoryNotificationsServiceClient =
589589
* AdvisoryNotificationsServiceClient.create()) {
590-
* SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
590+
* SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
591591
* Settings response = advisoryNotificationsServiceClient.getSettings(name);
592592
* }
593593
* }</pre>
594594
*
595595
* @param name Required. The resource name of the settings to retrieve. Format:
596-
* organizations/{organization}/locations/{location}/settings.
596+
* organizations/{organization}/locations/{location}/settings or
597+
* projects/{projects}/locations/{location}/settings.
597598
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
598599
*/
599600
public final Settings getSettings(SettingsName name) {
@@ -616,13 +617,15 @@ public final Settings getSettings(SettingsName name) {
616617
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
617618
* try (AdvisoryNotificationsServiceClient advisoryNotificationsServiceClient =
618619
* AdvisoryNotificationsServiceClient.create()) {
619-
* String name = SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString();
620+
* String name =
621+
* SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString();
620622
* Settings response = advisoryNotificationsServiceClient.getSettings(name);
621623
* }
622624
* }</pre>
623625
*
624626
* @param name Required. The resource name of the settings to retrieve. Format:
625-
* organizations/{organization}/locations/{location}/settings.
627+
* organizations/{organization}/locations/{location}/settings or
628+
* projects/{projects}/locations/{location}/settings.
626629
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
627630
*/
628631
public final Settings getSettings(String name) {
@@ -646,7 +649,9 @@ public final Settings getSettings(String name) {
646649
* AdvisoryNotificationsServiceClient.create()) {
647650
* GetSettingsRequest request =
648651
* GetSettingsRequest.newBuilder()
649-
* .setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
652+
* .setName(
653+
* SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]")
654+
* .toString())
650655
* .build();
651656
* Settings response = advisoryNotificationsServiceClient.getSettings(request);
652657
* }
@@ -675,7 +680,9 @@ public final Settings getSettings(GetSettingsRequest request) {
675680
* AdvisoryNotificationsServiceClient.create()) {
676681
* GetSettingsRequest request =
677682
* GetSettingsRequest.newBuilder()
678-
* .setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
683+
* .setName(
684+
* SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]")
685+
* .toString())
679686
* .build();
680687
* ApiFuture<Settings> future =
681688
* advisoryNotificationsServiceClient.getSettingsCallable().futureCall(request);

java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/HttpJsonAdvisoryNotificationsServiceStub.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public class HttpJsonAdvisoryNotificationsServiceStub extends AdvisoryNotificati
153153
serializer.putPathParam(fields, "name", request.getName());
154154
return fields;
155155
})
156+
.setAdditionalPaths("/v1/{name=projects/*/locations/*/settings}")
156157
.setQueryParamsExtractor(
157158
request -> {
158159
Map<String, List<String>> fields = new HashMap<>();
@@ -189,6 +190,7 @@ public class HttpJsonAdvisoryNotificationsServiceStub extends AdvisoryNotificati
189190
fields, "settings.name", request.getSettings().getName());
190191
return fields;
191192
})
193+
.setAdditionalPaths("/v1/{settings.name=projects/*/locations/*/settings}")
192194
.setQueryParamsExtractor(
193195
request -> {
194196
Map<String, List<String>> fields = new HashMap<>();

java-advisorynotifications/google-cloud-advisorynotifications/src/test/java/com/google/cloud/advisorynotifications/v1/AdvisoryNotificationsServiceClientHttpJsonTest.java

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,14 @@ public void getNotificationExceptionTest2() throws Exception {
290290
public void getSettingsTest() throws Exception {
291291
Settings expectedResponse =
292292
Settings.newBuilder()
293-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
293+
.setName(
294+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
294295
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
295296
.setEtag("etag3123477")
296297
.build();
297298
mockService.addResponse(expectedResponse);
298299

299-
SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
300+
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
300301

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

326327
try {
327-
SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
328+
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
328329
client.getSettings(name);
329330
Assert.fail("No exception raised");
330331
} catch (InvalidArgumentException e) {
@@ -336,7 +337,8 @@ public void getSettingsExceptionTest() throws Exception {
336337
public void getSettingsTest2() throws Exception {
337338
Settings expectedResponse =
338339
Settings.newBuilder()
339-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
340+
.setName(
341+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
340342
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
341343
.setEtag("etag3123477")
342344
.build();
@@ -382,15 +384,17 @@ public void getSettingsExceptionTest2() throws Exception {
382384
public void updateSettingsTest() throws Exception {
383385
Settings expectedResponse =
384386
Settings.newBuilder()
385-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
387+
.setName(
388+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
386389
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
387390
.setEtag("etag3123477")
388391
.build();
389392
mockService.addResponse(expectedResponse);
390393

391394
Settings settings =
392395
Settings.newBuilder()
393-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
396+
.setName(
397+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
394398
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
395399
.setEtag("etag3123477")
396400
.build();
@@ -423,7 +427,9 @@ public void updateSettingsExceptionTest() throws Exception {
423427
try {
424428
Settings settings =
425429
Settings.newBuilder()
426-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
430+
.setName(
431+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]")
432+
.toString())
427433
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
428434
.setEtag("etag3123477")
429435
.build();

java-advisorynotifications/google-cloud-advisorynotifications/src/test/java/com/google/cloud/advisorynotifications/v1/AdvisoryNotificationsServiceClientTest.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,14 @@ public void getNotificationExceptionTest2() throws Exception {
268268
public void getSettingsTest() throws Exception {
269269
Settings expectedResponse =
270270
Settings.newBuilder()
271-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
271+
.setName(
272+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
272273
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
273274
.setEtag("etag3123477")
274275
.build();
275276
mockAdvisoryNotificationsService.addResponse(expectedResponse);
276277

277-
SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
278+
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
278279

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

298299
try {
299-
SettingsName name = SettingsName.of("[ORGANIZATION]", "[LOCATION]");
300+
SettingsName name = SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]");
300301
client.getSettings(name);
301302
Assert.fail("No exception raised");
302303
} catch (InvalidArgumentException e) {
@@ -308,7 +309,8 @@ public void getSettingsExceptionTest() throws Exception {
308309
public void getSettingsTest2() throws Exception {
309310
Settings expectedResponse =
310311
Settings.newBuilder()
311-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
312+
.setName(
313+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
312314
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
313315
.setEtag("etag3123477")
314316
.build();
@@ -348,7 +350,8 @@ public void getSettingsExceptionTest2() throws Exception {
348350
public void updateSettingsTest() throws Exception {
349351
Settings expectedResponse =
350352
Settings.newBuilder()
351-
.setName(SettingsName.of("[ORGANIZATION]", "[LOCATION]").toString())
353+
.setName(
354+
SettingsName.ofOrganizationLocationName("[ORGANIZATION]", "[LOCATION]").toString())
352355
.putAllNotificationSettings(new HashMap<String, NotificationSettings>())
353356
.setEtag("etag3123477")
354357
.build();

java-advisorynotifications/proto-google-cloud-advisorynotifications-v1/src/main/java/com/google/cloud/advisorynotifications/v1/GetSettingsRequest.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
7373
* <pre>
7474
* Required. The resource name of the settings to retrieve.
7575
* Format:
76-
* organizations/{organization}/locations/{location}/settings.
76+
* organizations/{organization}/locations/{location}/settings or
77+
* projects/{projects}/locations/{location}/settings.
7778
* </pre>
7879
*
7980
* <code>
@@ -100,7 +101,8 @@ public java.lang.String getName() {
100101
* <pre>
101102
* Required. The resource name of the settings to retrieve.
102103
* Format:
103-
* organizations/{organization}/locations/{location}/settings.
104+
* organizations/{organization}/locations/{location}/settings or
105+
* projects/{projects}/locations/{location}/settings.
104106
* </pre>
105107
*
106108
* <code>
@@ -475,7 +477,8 @@ public Builder mergeFrom(
475477
* <pre>
476478
* Required. The resource name of the settings to retrieve.
477479
* Format:
478-
* organizations/{organization}/locations/{location}/settings.
480+
* organizations/{organization}/locations/{location}/settings or
481+
* projects/{projects}/locations/{location}/settings.
479482
* </pre>
480483
*
481484
* <code>
@@ -501,7 +504,8 @@ public java.lang.String getName() {
501504
* <pre>
502505
* Required. The resource name of the settings to retrieve.
503506
* Format:
504-
* organizations/{organization}/locations/{location}/settings.
507+
* organizations/{organization}/locations/{location}/settings or
508+
* projects/{projects}/locations/{location}/settings.
505509
* </pre>
506510
*
507511
* <code>
@@ -527,7 +531,8 @@ public com.google.protobuf.ByteString getNameBytes() {
527531
* <pre>
528532
* Required. The resource name of the settings to retrieve.
529533
* Format:
530-
* organizations/{organization}/locations/{location}/settings.
534+
* organizations/{organization}/locations/{location}/settings or
535+
* projects/{projects}/locations/{location}/settings.
531536
* </pre>
532537
*
533538
* <code>
@@ -552,7 +557,8 @@ public Builder setName(java.lang.String value) {
552557
* <pre>
553558
* Required. The resource name of the settings to retrieve.
554559
* Format:
555-
* organizations/{organization}/locations/{location}/settings.
560+
* organizations/{organization}/locations/{location}/settings or
561+
* projects/{projects}/locations/{location}/settings.
556562
* </pre>
557563
*
558564
* <code>
@@ -573,7 +579,8 @@ public Builder clearName() {
573579
* <pre>
574580
* Required. The resource name of the settings to retrieve.
575581
* Format:
576-
* organizations/{organization}/locations/{location}/settings.
582+
* organizations/{organization}/locations/{location}/settings or
583+
* projects/{projects}/locations/{location}/settings.
577584
* </pre>
578585
*
579586
* <code>

java-advisorynotifications/proto-google-cloud-advisorynotifications-v1/src/main/java/com/google/cloud/advisorynotifications/v1/GetSettingsRequestOrBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public interface GetSettingsRequestOrBuilder
3030
* <pre>
3131
* Required. The resource name of the settings to retrieve.
3232
* Format:
33-
* organizations/{organization}/locations/{location}/settings.
33+
* organizations/{organization}/locations/{location}/settings or
34+
* projects/{projects}/locations/{location}/settings.
3435
* </pre>
3536
*
3637
* <code>
@@ -46,7 +47,8 @@ public interface GetSettingsRequestOrBuilder
4647
* <pre>
4748
* Required. The resource name of the settings to retrieve.
4849
* Format:
49-
* organizations/{organization}/locations/{location}/settings.
50+
* organizations/{organization}/locations/{location}/settings or
51+
* projects/{projects}/locations/{location}/settings.
5052
* </pre>
5153
*
5254
* <code>

0 commit comments

Comments
 (0)