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

Commit

Permalink
feat: AuditConfig for IAM v1 (#325)
Browse files Browse the repository at this point in the history
* feat: AuditConfig for IAM v1

PiperOrigin-RevId: 439356405

Source-Link: googleapis/googleapis@afa2ba1

Source-Link: googleapis/googleapis-gen@3e40c17
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Apr 5, 2022
1 parent d58a4c4 commit 6798520
Show file tree
Hide file tree
Showing 18 changed files with 4,477 additions and 373 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*
* <pre>
* ## API Overview
* API Overview
* Manages Identity and Access Management (IAM) policies.
* Any implementation of an API that offers access control features
* implements the google.iam.v1.IAMPolicy interface.
Expand Down Expand Up @@ -215,7 +215,7 @@ public IAMPolicyFutureStub newStub(
*
*
* <pre>
* ## API Overview
* API Overview
* Manages Identity and Access Management (IAM) policies.
* Any implementation of an API that offers access control features
* implements the google.iam.v1.IAMPolicy interface.
Expand Down Expand Up @@ -243,6 +243,7 @@ public abstract static class IAMPolicyImplBase implements io.grpc.BindableServic
* <pre>
* Sets the access control policy on the specified resource. Replaces any
* existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
* </pre>
*/
public void setIamPolicy(
Expand Down Expand Up @@ -274,7 +275,7 @@ public void getIamPolicy(
* <pre>
* Returns permissions that a caller has on the specified resource.
* If the resource does not exist, this will return an empty set of
* permissions, not a NOT_FOUND error.
* permissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for building permission-aware
* UIs and command-line tools, not for authorization checking. This operation
* may "fail open" without warning.
Expand Down Expand Up @@ -318,7 +319,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
*
* <pre>
* ## API Overview
* API Overview
* Manages Identity and Access Management (IAM) policies.
* Any implementation of an API that offers access control features
* implements the google.iam.v1.IAMPolicy interface.
Expand Down Expand Up @@ -354,6 +355,7 @@ protected IAMPolicyStub build(io.grpc.Channel channel, io.grpc.CallOptions callO
* <pre>
* Sets the access control policy on the specified resource. Replaces any
* existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
* </pre>
*/
public void setIamPolicy(
Expand Down Expand Up @@ -389,7 +391,7 @@ public void getIamPolicy(
* <pre>
* Returns permissions that a caller has on the specified resource.
* If the resource does not exist, this will return an empty set of
* permissions, not a NOT_FOUND error.
* permissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for building permission-aware
* UIs and command-line tools, not for authorization checking. This operation
* may "fail open" without warning.
Expand All @@ -410,7 +412,7 @@ public void testIamPermissions(
*
*
* <pre>
* ## API Overview
* API Overview
* Manages Identity and Access Management (IAM) policies.
* Any implementation of an API that offers access control features
* implements the google.iam.v1.IAMPolicy interface.
Expand Down Expand Up @@ -448,6 +450,7 @@ protected IAMPolicyBlockingStub build(
* <pre>
* Sets the access control policy on the specified resource. Replaces any
* existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
* </pre>
*/
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
Expand Down Expand Up @@ -475,7 +478,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
* <pre>
* Returns permissions that a caller has on the specified resource.
* If the resource does not exist, this will return an empty set of
* permissions, not a NOT_FOUND error.
* permissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for building permission-aware
* UIs and command-line tools, not for authorization checking. This operation
* may "fail open" without warning.
Expand All @@ -492,7 +495,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
*
*
* <pre>
* ## API Overview
* API Overview
* Manages Identity and Access Management (IAM) policies.
* Any implementation of an API that offers access control features
* implements the google.iam.v1.IAMPolicy interface.
Expand Down Expand Up @@ -529,6 +532,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
* <pre>
* Sets the access control policy on the specified resource. Replaces any
* existing policy.
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>
Expand Down Expand Up @@ -558,7 +562,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
* <pre>
* Returns permissions that a caller has on the specified resource.
* If the resource does not exist, this will return an empty set of
* permissions, not a NOT_FOUND error.
* permissions, not a `NOT_FOUND` error.
* Note: This operation is designed to be used for building permission-aware
* UIs and command-line tools, not for authorization checking. This operation
* may "fail open" without warning.
Expand Down
Loading

0 comments on commit 6798520

Please sign in to comment.