Skip to content

Commit 3342650

Browse files
committed
fix(doc): fix documenting bindings structure
1 parent 6c9556d commit 3342650

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

  • api_core/google/api_core

api_core/google/api_core/iam.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,14 @@ def _contains_conditions(self):
171171
@property
172172
def bindings(self):
173173
""":obj:`list` of :obj:`dict`: The policy's bindings list.
174-
:obj:`dict` Binding:
174+
175+
A binding is specified by a dictionary with keys:
175176
role (str): Role that is assigned to `members`.
176177
members (:obj:`set` of str): Specifies the identities associated to this binding.
177178
condition (dict of str:str): Specifies a condition under which this binding will apply.
178-
179-
:obj:`dict` Condition:
180-
title (str): Title for the condition.
181-
description (:obj:str, optional): Description of the condition.
182-
expression: A CEL expression.
179+
title (str): Title for the condition.
180+
description (:obj:str, optional): Description of the condition.
181+
expression: A CEL expression.
183182
184183
See:
185184
Policy versions https://cloud.google.com/iam/docs/policies#versions

0 commit comments

Comments
 (0)