diff --git a/plugins/modules/gcp_cloudbuild_trigger.py b/plugins/modules/gcp_cloudbuild_trigger.py index 25cc87b..7e9c3b3 100644 --- a/plugins/modules/gcp_cloudbuild_trigger.py +++ b/plugins/modules/gcp_cloudbuild_trigger.py @@ -129,12 +129,14 @@ options: description: - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. + - This field is a regular expression. required: false type: str tag_name: description: - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. + - This field is a regular expression. required: false type: str commit_sha: @@ -447,12 +449,14 @@ triggerTemplate: description: - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. + - This field is a regular expression. returned: success type: str tagName: description: - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. + - This field is a regular expression. returned: success type: str commitSha: diff --git a/plugins/modules/gcp_cloudbuild_trigger_info.py b/plugins/modules/gcp_cloudbuild_trigger_info.py index 84c0f62..db8c87f 100644 --- a/plugins/modules/gcp_cloudbuild_trigger_info.py +++ b/plugins/modules/gcp_cloudbuild_trigger_info.py @@ -191,12 +191,14 @@ resources: description: - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. + - This field is a regular expression. returned: success type: str tagName: description: - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. + - This field is a regular expression. returned: success type: str commitSha: