Skip to content

Commit

Permalink
fix(doc): fix documenting bindings structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui committed Jan 6, 2020
1 parent 6c9556d commit 3342650
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions api_core/google/api_core/iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,14 @@ def _contains_conditions(self):
@property
def bindings(self):
""":obj:`list` of :obj:`dict`: The policy's bindings list.
:obj:`dict` Binding:
A binding is specified by a dictionary with keys:
role (str): Role that is assigned to `members`.
members (:obj:`set` of str): Specifies the identities associated to this binding.
condition (dict of str:str): Specifies a condition under which this binding will apply.
:obj:`dict` Condition:
title (str): Title for the condition.
description (:obj:str, optional): Description of the condition.
expression: A CEL expression.
title (str): Title for the condition.
description (:obj:str, optional): Description of the condition.
expression: A CEL expression.
See:
Policy versions https://cloud.google.com/iam/docs/policies#versions
Expand Down

0 comments on commit 3342650

Please sign in to comment.