From 67df55d8fcb119d4dfe77ee5a06e418864878b1b Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 5 May 2020 22:58:41 -0400 Subject: [PATCH] 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 --- plugins/modules/gcp_bigquery_dataset.py | 5 ++--- plugins/modules/gcp_bigquery_dataset_info.py | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/modules/gcp_bigquery_dataset.py b/plugins/modules/gcp_bigquery_dataset.py index f6c3e38a2..b881fd2a8 100644 --- a/plugins/modules/gcp_bigquery_dataset.py +++ b/plugins/modules/gcp_bigquery_dataset.py @@ -76,8 +76,7 @@ - Describes the rights granted to the user specified by the other member of the access object. Primitive, Predefined and custom roles are supported. Predefined 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)). + API to their Primitive counterparts. See [official docs](U(https://cloud.google.com/bigquery/docs/access-control)). required: false type: str special_group: @@ -310,7 +309,7 @@ - Describes the rights granted to the user specified by the other member of the access object. Primitive, Predefined and custom roles are supported. Predefined 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 type: str specialGroup: diff --git a/plugins/modules/gcp_bigquery_dataset_info.py b/plugins/modules/gcp_bigquery_dataset_info.py index 83b2adcbe..901be7ed6 100644 --- a/plugins/modules/gcp_bigquery_dataset_info.py +++ b/plugins/modules/gcp_bigquery_dataset_info.py @@ -131,8 +131,7 @@ - Describes the rights granted to the user specified by the other member of the access object. Primitive, Predefined and custom roles are supported. Predefined 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)). + API to their Primitive counterparts. See [official docs](U(https://cloud.google.com/bigquery/docs/access-control)). returned: success type: str specialGroup: