From 68c9af276c65e49c173463ccb74906fa60d4f3b0 Mon Sep 17 00:00:00 2001 From: Chris Hawk Date: Mon, 11 Nov 2024 16:40:47 -0800 Subject: [PATCH] Update gcp_pubsub_subscription.py Fix lint errors --- plugins/modules/gcp_pubsub_subscription.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/modules/gcp_pubsub_subscription.py b/plugins/modules/gcp_pubsub_subscription.py index fa1420a..01c0147 100644 --- a/plugins/modules/gcp_pubsub_subscription.py +++ b/plugins/modules/gcp_pubsub_subscription.py @@ -89,7 +89,7 @@ options: description: - File object datetime format stored in a Bucket. required: false - type: str + type: str max_duration: description: - Subscription writes a new output file if the specified value of max duration is exceeded. Min: 60s, max: 600s. @@ -104,7 +104,7 @@ options: description: - Cloud Storage Subscription writes a new output file if the specified number of messages is exceeded. Min: 1000. required: false - type: int + type: int output_format: description: - Specify the format of the output files that are to be stored in a Cloud Storage bucket as text or avro. @@ -958,6 +958,7 @@ class SubscriptionRetrypolicy(object): def from_response(self): return remove_nones_from_dict({u'minimumBackoff': self.request.get(u'minimumBackoff'), u'maximumBackoff': self.request.get(u'maximumBackoff')}) + class SubscriptionCloudStorageConfig(object): def __init__(self, request, module): self.module = module