Skip to content

Commit

Permalink
expose condition api (#26316)
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofeiCao authored Jan 6, 2022
1 parent 5f9ae32 commit 1c04973
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ public String principalId() {
return innerModel().principalId();
}

@Override
public String condition() {
return innerModel().condition();
}

@Override
public RoleAssignmentImpl forObjectId(String objectId) {
this.objectId = objectId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public interface RoleAssignment
/** @return the principal ID */
String principalId();

/** @return the condition */
String condition();

/**************************************************************
* Fluent interfaces to provision an role assignment
**************************************************************/
Expand Down

0 comments on commit 1c04973

Please sign in to comment.