Fix bigquery dataset access iam roles with primative equivalent (#3471) (#220)

* account for iam vs primative bigquery roles

* add test, fix description

* s/EDITOR/WRITER

* fix test

* comments

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2020-05-05 22:58:41 -04:00 committed by GitHub
parent 9bfffd56e8
commit 67df55d8fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -76,8 +76,7 @@ options:
- Describes the rights granted to the user specified by the other member of - Describes the rights granted to the user specified by the other member of
the access object. Primitive, Predefined and custom roles are supported. the access object. Primitive, Predefined and custom roles are supported.
Predefined roles that have equivalent primitive roles are swapped by the Predefined roles that have equivalent primitive roles are swapped by the
API to their Primitive counterparts, and will show a diff post-create. See API to their Primitive counterparts. See [official docs](U(https://cloud.google.com/bigquery/docs/access-control)).
[official docs](U(https://cloud.google.com/bigquery/docs/access-control)).
required: false required: false
type: str type: str
special_group: special_group:
@ -310,7 +309,7 @@ access:
- Describes the rights granted to the user specified by the other member of - Describes the rights granted to the user specified by the other member of
the access object. Primitive, Predefined and custom roles are supported. Predefined the access object. Primitive, Predefined and custom roles are supported. Predefined
roles that have equivalent primitive roles are swapped by the API to their roles that have equivalent primitive roles are swapped by the API to their
Primitive counterparts, and will show a diff post-create. See [official docs](U(https://cloud.google.com/bigquery/docs/access-control)). Primitive counterparts. See [official docs](U(https://cloud.google.com/bigquery/docs/access-control)).
returned: success returned: success
type: str type: str
specialGroup: specialGroup:

View file

@ -131,8 +131,7 @@ resources:
- Describes the rights granted to the user specified by the other member - Describes the rights granted to the user specified by the other member
of the access object. Primitive, Predefined and custom roles are supported. of the access object. Primitive, Predefined and custom roles are supported.
Predefined roles that have equivalent primitive roles are swapped by the Predefined roles that have equivalent primitive roles are swapped by the
API to their Primitive counterparts, and will show a diff post-create. API to their Primitive counterparts. See [official docs](U(https://cloud.google.com/bigquery/docs/access-control)).
See [official docs](U(https://cloud.google.com/bigquery/docs/access-control)).
returned: success returned: success
type: str type: str
specialGroup: specialGroup: