mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-27 15:11:33 -07:00
[DO NOT MERGE] 3.0.0 staging branch
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
f526d210f6
commit
bafefea662
24 changed files with 57 additions and 133 deletions
|
@ -246,7 +246,7 @@ options:
|
|||
description:
|
||||
- Service account email to be used for generating OAuth token.
|
||||
- The service account must be within the same project as the job.
|
||||
required: false
|
||||
required: true
|
||||
type: str
|
||||
scope:
|
||||
description:
|
||||
|
@ -266,7 +266,7 @@ options:
|
|||
description:
|
||||
- Service account email to be used for generating OAuth token.
|
||||
- The service account must be within the same project as the job.
|
||||
required: false
|
||||
required: true
|
||||
type: str
|
||||
audience:
|
||||
description:
|
||||
|
@ -636,13 +636,12 @@ def main():
|
|||
http_method=dict(type='str'),
|
||||
body=dict(type='str'),
|
||||
headers=dict(type='dict'),
|
||||
oauth_token=dict(type='dict', options=dict(service_account_email=dict(type='str'), scope=dict(type='str'))),
|
||||
oidc_token=dict(type='dict', options=dict(service_account_email=dict(type='str'), audience=dict(type='str'))),
|
||||
oauth_token=dict(type='dict', options=dict(service_account_email=dict(required=True, type='str'), scope=dict(type='str'))),
|
||||
oidc_token=dict(type='dict', options=dict(service_account_email=dict(required=True, type='str'), audience=dict(type='str'))),
|
||||
),
|
||||
),
|
||||
region=dict(required=True, type='str'),
|
||||
),
|
||||
mutually_exclusive=[['app_engine_http_target', 'http_target', 'pubsub_target']],
|
||||
)
|
||||
)
|
||||
|
||||
if not module.params['scopes']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue