diff --git a/plugins/modules/gcp_storage_bucket.py b/plugins/modules/gcp_storage_bucket.py index 5c8b93f33..f52b234e4 100644 --- a/plugins/modules/gcp_storage_bucket.py +++ b/plugins/modules/gcp_storage_bucket.py @@ -375,6 +375,12 @@ "bucketOwnerRead", "private", "projectPrivate", "publicRead"' required: false type: str + labels: + description: + - Labels applied to this bucket. A list of key->value pairs. + required: false + type: dict + version_added: '2.10' auth_kind: description: - The type of credential used. @@ -794,6 +800,11 @@ - '- "publicRead": Object owner gets OWNER access, and allUsers get READER access.' returned: success type: str +labels: + description: + - Labels applied to this bucket. A list of key->value pairs. + returned: success + type: dict ''' ################################################################################ @@ -885,6 +896,7 @@ def main(): website=dict(type='dict', options=dict(main_page_suffix=dict(type='str'), not_found_page=dict(type='str'))), project=dict(type='str'), predefined_default_object_acl=dict(type='str'), + labels=dict(type='dict'), ) )