Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 6798520

Browse files
feat: AuditConfig for IAM v1 (#325)
* feat: AuditConfig for IAM v1 PiperOrigin-RevId: 439356405 Source-Link: googleapis/googleapis@afa2ba1 Source-Link: https://github.com/googleapis/googleapis-gen/commit/3e40c17e1510c95fab58fc2143ccb61cceca5989 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2U0MGMxN2UxNTEwYzk1ZmFiNThmYzIxNDNjY2I2MWNjZWNhNTk4OSJ9 * 🦉 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>
1 parent d58a4c4 commit 6798520

18 files changed

+4477
-373
lines changed

grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
*
2323
* <pre>
24-
* ## API Overview
24+
* API Overview
2525
* Manages Identity and Access Management (IAM) policies.
2626
* Any implementation of an API that offers access control features
2727
* implements the google.iam.v1.IAMPolicy interface.
@@ -215,7 +215,7 @@ public IAMPolicyFutureStub newStub(
215215
*
216216
*
217217
* <pre>
218-
* ## API Overview
218+
* API Overview
219219
* Manages Identity and Access Management (IAM) policies.
220220
* Any implementation of an API that offers access control features
221221
* implements the google.iam.v1.IAMPolicy interface.
@@ -243,6 +243,7 @@ public abstract static class IAMPolicyImplBase implements io.grpc.BindableServic
243243
* <pre>
244244
* Sets the access control policy on the specified resource. Replaces any
245245
* existing policy.
246+
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
246247
* </pre>
247248
*/
248249
public void setIamPolicy(
@@ -274,7 +275,7 @@ public void getIamPolicy(
274275
* <pre>
275276
* Returns permissions that a caller has on the specified resource.
276277
* If the resource does not exist, this will return an empty set of
277-
* permissions, not a NOT_FOUND error.
278+
* permissions, not a `NOT_FOUND` error.
278279
* Note: This operation is designed to be used for building permission-aware
279280
* UIs and command-line tools, not for authorization checking. This operation
280281
* may "fail open" without warning.
@@ -318,7 +319,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
318319
*
319320
*
320321
* <pre>
321-
* ## API Overview
322+
* API Overview
322323
* Manages Identity and Access Management (IAM) policies.
323324
* Any implementation of an API that offers access control features
324325
* implements the google.iam.v1.IAMPolicy interface.
@@ -354,6 +355,7 @@ protected IAMPolicyStub build(io.grpc.Channel channel, io.grpc.CallOptions callO
354355
* <pre>
355356
* Sets the access control policy on the specified resource. Replaces any
356357
* existing policy.
358+
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
357359
* </pre>
358360
*/
359361
public void setIamPolicy(
@@ -389,7 +391,7 @@ public void getIamPolicy(
389391
* <pre>
390392
* Returns permissions that a caller has on the specified resource.
391393
* If the resource does not exist, this will return an empty set of
392-
* permissions, not a NOT_FOUND error.
394+
* permissions, not a `NOT_FOUND` error.
393395
* Note: This operation is designed to be used for building permission-aware
394396
* UIs and command-line tools, not for authorization checking. This operation
395397
* may "fail open" without warning.
@@ -410,7 +412,7 @@ public void testIamPermissions(
410412
*
411413
*
412414
* <pre>
413-
* ## API Overview
415+
* API Overview
414416
* Manages Identity and Access Management (IAM) policies.
415417
* Any implementation of an API that offers access control features
416418
* implements the google.iam.v1.IAMPolicy interface.
@@ -448,6 +450,7 @@ protected IAMPolicyBlockingStub build(
448450
* <pre>
449451
* Sets the access control policy on the specified resource. Replaces any
450452
* existing policy.
453+
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
451454
* </pre>
452455
*/
453456
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
@@ -475,7 +478,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
475478
* <pre>
476479
* Returns permissions that a caller has on the specified resource.
477480
* If the resource does not exist, this will return an empty set of
478-
* permissions, not a NOT_FOUND error.
481+
* permissions, not a `NOT_FOUND` error.
479482
* Note: This operation is designed to be used for building permission-aware
480483
* UIs and command-line tools, not for authorization checking. This operation
481484
* may "fail open" without warning.
@@ -492,7 +495,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
492495
*
493496
*
494497
* <pre>
495-
* ## API Overview
498+
* API Overview
496499
* Manages Identity and Access Management (IAM) policies.
497500
* Any implementation of an API that offers access control features
498501
* implements the google.iam.v1.IAMPolicy interface.
@@ -529,6 +532,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
529532
* <pre>
530533
* Sets the access control policy on the specified resource. Replaces any
531534
* existing policy.
535+
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
532536
* </pre>
533537
*/
534538
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>
@@ -558,7 +562,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
558562
* <pre>
559563
* Returns permissions that a caller has on the specified resource.
560564
* If the resource does not exist, this will return an empty set of
561-
* permissions, not a NOT_FOUND error.
565+
* permissions, not a `NOT_FOUND` error.
562566
* Note: This operation is designed to be used for building permission-aware
563567
* UIs and command-line tools, not for authorization checking. This operation
564568
* may "fail open" without warning.

0 commit comments

Comments
 (0)