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