Make cloudbuild trigger disabled field a bool (#230)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-04-08 13:35:41 -07:00 committed by Alex Stephen
parent 5041b1924b
commit 152f52d4c6
2 changed files with 4 additions and 3 deletions

View file

@ -60,6 +60,7 @@ options:
- Whether the trigger is disabled or not. If true, the trigger will never result
in a build.
required: false
type: bool
substitutions:
description:
- Substitutions data for Build resource.
@ -300,7 +301,7 @@ disabled:
- Whether the trigger is disabled or not. If true, the trigger will never result
in a build.
returned: success
type: str
type: bool
createTime:
description:
- Time when the trigger was created.
@ -541,7 +542,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'], type='str'),
id=dict(type='str'),
description=dict(type='str'),
disabled=dict(type='str'),
disabled=dict(type='bool'),
substitutions=dict(type='dict'),
filename=dict(type='str'),
ignored_files=dict(type='list', elements='str'),

View file

@ -73,7 +73,7 @@ items:
- Whether the trigger is disabled or not. If true, the trigger will never result
in a build.
returned: success
type: str
type: bool
createTime:
description:
- Time when the trigger was created.