Skip to content

Commit

Permalink
[DM] iam_member: refactoring (#129)
Browse files Browse the repository at this point in the history
* Fixes #116: DM/iam_member: refactoring
#116
  • Loading branch information
bohdanyurov-gl authored and ocsig committed Jun 24, 2019
1 parent 69cbbe9 commit aa1d9ff
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions dm/templates/iam_member/iam_member.py.schema
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@
info:
title: IAM policy member
author: Sourced Group Inc.
description: Manages an IAM policy member
version: 1.0.0
description: |
Manages an IAM policy member

For more information on this resource:
https://cloud.google.com/iam/docs/overview

APIs endpoints used by this template:
- gcp-types/cloudresourcemanager-v1:virtual.projects.iamMemberBinding =>
TODO - Virtual type documentation needed

imports:
- path: iam_member.py
Expand All @@ -33,14 +42,18 @@ properties:
a different project.
roles:
type: array
description: An array of roles and members.
uniqueItems: true
description: |
An array of roles and members.
items:
role:
type: string
description: The role to grant to members.
description: |
The role to grant to members.
members:
type: array
description: A list of identities.
description: |
A list of identities.
items:
type: string
description: |
Expand Down

0 comments on commit aa1d9ff

Please sign in to comment.