From fd5984849a187a032a2d64372d6b189482802446 Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 2 Apr 2020 17:41:19 -0700 Subject: [PATCH] add bigquery_dataset_access fine-grained resource (#3312) (#187) * add bigquery_dataset_access fine-grained resource * exclude ansible and inspec * exclude validator * compile * expand and flatten when checking match * add mutex and multiple test Signed-off-by: Modular Magician --- plugins/modules/gcp_bigquery_dataset.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugins/modules/gcp_bigquery_dataset.py b/plugins/modules/gcp_bigquery_dataset.py index e930ec4..f6c3e38 100644 --- a/plugins/modules/gcp_bigquery_dataset.py +++ b/plugins/modules/gcp_bigquery_dataset.py @@ -255,6 +255,19 @@ options: - This should not be set unless you know what you're doing. - This only alters the User Agent string for any API requests. type: str +notes: +- 'API Reference: U(https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets)' +- 'Datasets Intro: U(https://cloud.google.com/bigquery/docs/datasets-intro)' +- for authentication, you can set service_account_file using the C(gcp_service_account_file) + env variable. +- for authentication, you can set service_account_contents using the C(GCP_SERVICE_ACCOUNT_CONTENTS) + env variable. +- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL) + env variable. +- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable. +- For authentication, you can set scopes using the C(GCP_SCOPES) env variable. +- Environment variables values will only be used if the playbook values are not set. +- The I(service_account_email) and I(service_account_file) options are mutually exclusive. ''' EXAMPLES = '''