Skip to content

Commit b8e2859

Browse files
cloud-java-botJoeWang1127
andauthoredDec 12, 2024··
chore: update googleapis commit at Thu Dec 12 16:36:20 UTC 2024 (#3459)
This pull request is generated with proto changes between [googleapis/googleapis@6b5d85c](googleapis/googleapis@6b5d85c) (exclusive) and [googleapis/googleapis@f17e0aa](googleapis/googleapis@f17e0aa) (inclusive). BEGIN_COMMIT_OVERRIDE BEGIN_NESTED_COMMIT feat: [iam] add ResourcePolicyMember to google/iam/v1 PiperOrigin-RevId: 699258514 Source Link: [googleapis/googleapis@1c69885](googleapis/googleapis@1c69885) END_NESTED_COMMIT END_COMMIT_OVERRIDE --------- Co-authored-by: Joe Wang <joewa@google.com>
1 parent a971cd7 commit b8e2859

22 files changed

+1836
-186
lines changed
 

‎generation_config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
googleapis_commitish: 6b5d85c66e0885b1665040f6f80b2401f60c1068
1+
googleapis_commitish: f17e0aa970506b47d0552574ea7f57a440aa71f2
22
# the libraries are ordered with respect to library name, which is
33
# java-{library.library_name} or java-{library.api-shortname} when
44
# library.library_name is not defined.

‎hermetic_build/common/model/config_change.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def get_qualified_commits(
105105
:param repo_url: the repository contains the commit history.
106106
:return: QualifiedCommit objects.
107107
"""
108-
with tempfile.TemporaryDirectory() as tmp_dir:
108+
with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as tmp_dir:
109109
# we only need commit history, thus a shadow clone is enough.
110110
repo = Repo.clone_from(url=repo_url, to_path=tmp_dir, filter=["blob:none"])
111111
commit = repo.commit(self.current_config.googleapis_commitish)

‎java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java

+48-72
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
* <pre>
2424
* Manages long-running operations with an API service.
2525
* When an API method normally takes long time to complete, it can be designed
26-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
27-
* interface to receive the real response asynchronously by polling the
28-
* operation resource, or pass the operation resource to another API (such as
29-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
30-
* returns long-running operations should implement the `Operations` interface
31-
* so developers can have a consistent client experience.
26+
* to return [Operation][google.longrunning.Operation] to the client, and the
27+
* client can use this interface to receive the real response asynchronously by
28+
* polling the operation resource, or pass the operation resource to another API
29+
* (such as Pub/Sub API) to receive the response. Any API service that returns
30+
* long-running operations should implement the `Operations` interface so
31+
* developers can have a consistent client experience.
3232
* </pre>
3333
*/
3434
@javax.annotation.Generated(
@@ -296,12 +296,12 @@ public OperationsFutureStub newStub(
296296
* <pre>
297297
* Manages long-running operations with an API service.
298298
* When an API method normally takes long time to complete, it can be designed
299-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
300-
* interface to receive the real response asynchronously by polling the
301-
* operation resource, or pass the operation resource to another API (such as
302-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
303-
* returns long-running operations should implement the `Operations` interface
304-
* so developers can have a consistent client experience.
299+
* to return [Operation][google.longrunning.Operation] to the client, and the
300+
* client can use this interface to receive the real response asynchronously by
301+
* polling the operation resource, or pass the operation resource to another API
302+
* (such as Pub/Sub API) to receive the response. Any API service that returns
303+
* long-running operations should implement the `Operations` interface so
304+
* developers can have a consistent client experience.
305305
* </pre>
306306
*/
307307
public interface AsyncService {
@@ -312,13 +312,6 @@ public interface AsyncService {
312312
* <pre>
313313
* Lists operations that match the specified filter in the request. If the
314314
* server doesn't support this method, it returns `UNIMPLEMENTED`.
315-
* NOTE: the `name` binding allows API services to override the binding
316-
* to use different resource name schemes, such as `users/&#42;&#47;operations`. To
317-
* override the binding, API services can add a binding such as
318-
* `"/v1/{name=users/&#42;}/operations"` to their service configuration.
319-
* For backwards compatibility, the default name includes the operations
320-
* collection id, however overriding users must ensure the name binding
321-
* is the parent resource, without the operations collection id.
322315
* </pre>
323316
*/
324317
default void listOperations(
@@ -374,8 +367,9 @@ default void deleteOperation(
374367
* other methods to check whether the cancellation succeeded or whether the
375368
* operation completed despite cancellation. On successful cancellation,
376369
* the operation is not deleted; instead, it becomes an operation with
377-
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
378-
* corresponding to `Code.CANCELLED`.
370+
* an [Operation.error][google.longrunning.Operation.error] value with a
371+
* [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
372+
* `Code.CANCELLED`.
379373
* </pre>
380374
*/
381375
default void cancelOperation(
@@ -414,12 +408,12 @@ default void waitOperation(
414408
* <pre>
415409
* Manages long-running operations with an API service.
416410
* When an API method normally takes long time to complete, it can be designed
417-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
418-
* interface to receive the real response asynchronously by polling the
419-
* operation resource, or pass the operation resource to another API (such as
420-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
421-
* returns long-running operations should implement the `Operations` interface
422-
* so developers can have a consistent client experience.
411+
* to return [Operation][google.longrunning.Operation] to the client, and the
412+
* client can use this interface to receive the real response asynchronously by
413+
* polling the operation resource, or pass the operation resource to another API
414+
* (such as Pub/Sub API) to receive the response. Any API service that returns
415+
* long-running operations should implement the `Operations` interface so
416+
* developers can have a consistent client experience.
423417
* </pre>
424418
*/
425419
public abstract static class OperationsImplBase implements io.grpc.BindableService, AsyncService {
@@ -436,12 +430,12 @@ public final io.grpc.ServerServiceDefinition bindService() {
436430
* <pre>
437431
* Manages long-running operations with an API service.
438432
* When an API method normally takes long time to complete, it can be designed
439-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
440-
* interface to receive the real response asynchronously by polling the
441-
* operation resource, or pass the operation resource to another API (such as
442-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
443-
* returns long-running operations should implement the `Operations` interface
444-
* so developers can have a consistent client experience.
433+
* to return [Operation][google.longrunning.Operation] to the client, and the
434+
* client can use this interface to receive the real response asynchronously by
435+
* polling the operation resource, or pass the operation resource to another API
436+
* (such as Pub/Sub API) to receive the response. Any API service that returns
437+
* long-running operations should implement the `Operations` interface so
438+
* developers can have a consistent client experience.
445439
* </pre>
446440
*/
447441
public static final class OperationsStub extends io.grpc.stub.AbstractAsyncStub<OperationsStub> {
@@ -460,13 +454,6 @@ protected OperationsStub build(io.grpc.Channel channel, io.grpc.CallOptions call
460454
* <pre>
461455
* Lists operations that match the specified filter in the request. If the
462456
* server doesn't support this method, it returns `UNIMPLEMENTED`.
463-
* NOTE: the `name` binding allows API services to override the binding
464-
* to use different resource name schemes, such as `users/&#42;&#47;operations`. To
465-
* override the binding, API services can add a binding such as
466-
* `"/v1/{name=users/&#42;}/operations"` to their service configuration.
467-
* For backwards compatibility, the default name includes the operations
468-
* collection id, however overriding users must ensure the name binding
469-
* is the parent resource, without the operations collection id.
470457
* </pre>
471458
*/
472459
public void listOperations(
@@ -528,8 +515,9 @@ public void deleteOperation(
528515
* other methods to check whether the cancellation succeeded or whether the
529516
* operation completed despite cancellation. On successful cancellation,
530517
* the operation is not deleted; instead, it becomes an operation with
531-
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
532-
* corresponding to `Code.CANCELLED`.
518+
* an [Operation.error][google.longrunning.Operation.error] value with a
519+
* [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
520+
* `Code.CANCELLED`.
533521
* </pre>
534522
*/
535523
public void cancelOperation(
@@ -572,12 +560,12 @@ public void waitOperation(
572560
* <pre>
573561
* Manages long-running operations with an API service.
574562
* When an API method normally takes long time to complete, it can be designed
575-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
576-
* interface to receive the real response asynchronously by polling the
577-
* operation resource, or pass the operation resource to another API (such as
578-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
579-
* returns long-running operations should implement the `Operations` interface
580-
* so developers can have a consistent client experience.
563+
* to return [Operation][google.longrunning.Operation] to the client, and the
564+
* client can use this interface to receive the real response asynchronously by
565+
* polling the operation resource, or pass the operation resource to another API
566+
* (such as Pub/Sub API) to receive the response. Any API service that returns
567+
* long-running operations should implement the `Operations` interface so
568+
* developers can have a consistent client experience.
581569
* </pre>
582570
*/
583571
public static final class OperationsBlockingStub
@@ -598,13 +586,6 @@ protected OperationsBlockingStub build(
598586
* <pre>
599587
* Lists operations that match the specified filter in the request. If the
600588
* server doesn't support this method, it returns `UNIMPLEMENTED`.
601-
* NOTE: the `name` binding allows API services to override the binding
602-
* to use different resource name schemes, such as `users/&#42;&#47;operations`. To
603-
* override the binding, API services can add a binding such as
604-
* `"/v1/{name=users/&#42;}/operations"` to their service configuration.
605-
* For backwards compatibility, the default name includes the operations
606-
* collection id, however overriding users must ensure the name binding
607-
* is the parent resource, without the operations collection id.
608589
* </pre>
609590
*/
610591
public com.google.longrunning.ListOperationsResponse listOperations(
@@ -656,8 +637,9 @@ public com.google.protobuf.Empty deleteOperation(
656637
* other methods to check whether the cancellation succeeded or whether the
657638
* operation completed despite cancellation. On successful cancellation,
658639
* the operation is not deleted; instead, it becomes an operation with
659-
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
660-
* corresponding to `Code.CANCELLED`.
640+
* an [Operation.error][google.longrunning.Operation.error] value with a
641+
* [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
642+
* `Code.CANCELLED`.
661643
* </pre>
662644
*/
663645
public com.google.protobuf.Empty cancelOperation(
@@ -694,12 +676,12 @@ public com.google.longrunning.Operation waitOperation(
694676
* <pre>
695677
* Manages long-running operations with an API service.
696678
* When an API method normally takes long time to complete, it can be designed
697-
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
698-
* interface to receive the real response asynchronously by polling the
699-
* operation resource, or pass the operation resource to another API (such as
700-
* Google Cloud Pub/Sub API) to receive the response. Any API service that
701-
* returns long-running operations should implement the `Operations` interface
702-
* so developers can have a consistent client experience.
679+
* to return [Operation][google.longrunning.Operation] to the client, and the
680+
* client can use this interface to receive the real response asynchronously by
681+
* polling the operation resource, or pass the operation resource to another API
682+
* (such as Pub/Sub API) to receive the response. Any API service that returns
683+
* long-running operations should implement the `Operations` interface so
684+
* developers can have a consistent client experience.
703685
* </pre>
704686
*/
705687
public static final class OperationsFutureStub
@@ -719,13 +701,6 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
719701
* <pre>
720702
* Lists operations that match the specified filter in the request. If the
721703
* server doesn't support this method, it returns `UNIMPLEMENTED`.
722-
* NOTE: the `name` binding allows API services to override the binding
723-
* to use different resource name schemes, such as `users/&#42;&#47;operations`. To
724-
* override the binding, API services can add a binding such as
725-
* `"/v1/{name=users/&#42;}/operations"` to their service configuration.
726-
* For backwards compatibility, the default name includes the operations
727-
* collection id, however overriding users must ensure the name binding
728-
* is the parent resource, without the operations collection id.
729704
* </pre>
730705
*/
731706
public com.google.common.util.concurrent.ListenableFuture<
@@ -778,8 +753,9 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
778753
* other methods to check whether the cancellation succeeded or whether the
779754
* operation completed despite cancellation. On successful cancellation,
780755
* the operation is not deleted; instead, it becomes an operation with
781-
* an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
782-
* corresponding to `Code.CANCELLED`.
756+
* an [Operation.error][google.longrunning.Operation.error] value with a
757+
* [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
758+
* `Code.CANCELLED`.
783759
* </pre>
784760
*/
785761
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>

0 commit comments

Comments
 (0)
Please sign in to comment.