You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add regional support for google secret manager hook (#52124)
* Add regional support for google secret manager hook
* Change property name from location_id to location
* Remove backward compatibility comment.
* Fix static check failing
:param retry: Optional. Designation of what errors, if any, should be retried.
89
157
:param timeout: Optional. The timeout for this request.
90
158
:param metadata: Optional. Strings which should be sent along with the request as metadata.
159
+
:param location: Optional. Location where secret should be created. Used for creating regional secret. If set to ``None`` or missing, the location provided for GoogleCloudSecretHook instantiation is used
160
+
For more details : https://cloud.google.com/secret-manager/docs/locations
:param retry: Optional. Designation of what errors, if any, should be retried.
129
206
:param timeout: Optional. The timeout for this request.
130
207
:param metadata: Optional. Strings which should be sent along with the request as metadata.
208
+
:param location: Optional. Location where secret is located. Used for adding version to regional secret. If set to ``None`` or missing, the location provided for GoogleCloudSecretHook instantiation is used
209
+
For more details : https://cloud.google.com/secret-manager/docs/locations
:param retry: Optional. Designation of what errors, if any, should be retried.
169
249
:param timeout: Optional. The timeout for this request.
170
250
:param metadata: Optional. Strings which should be sent along with the request as metadata.
251
+
:param location: Optional. The regional secrets stored in the provided location will be listed. If set to ``None`` or missing, the location provided for GoogleCloudSecretHook instantiation is used
252
+
For more details : https://cloud.google.com/secret-manager/docs/locations
:param project_id: Required. ID of the GCP project that owns the job.
193
275
If set to ``None`` or missing, the default project_id from the GCP connection is used.
194
276
:param secret_id: Required. ID of the secret to find.
277
+
:param location: Optional. Location where secret is expected to be stored regionally. If set to ``None`` or missing, the location provided for GoogleCloudSecretHook instantiation is used
278
+
For more details : https://cloud.google.com/secret-manager/docs/locations
195
279
:return: True if the secret exists, False otherwise.
:param retry: Optional. Designation of what errors, if any, should be retried.
228
315
:param timeout: Optional. The timeout for this request.
229
316
:param metadata: Optional. Strings which should be sent along with the request as metadata.
317
+
:param location: Optional. Location where secret is stored regionally. If set to ``None`` or missing, the location provided for GoogleCloudSecretHook instantiation is used
318
+
For more details : https://cloud.google.com/secret-manager/docs/locations
:param retry: Optional. Designation of what errors, if any, should be retried.
263
353
:param timeout: Optional. The timeout for this request.
264
354
:param metadata: Optional. Strings which should be sent along with the request as metadata.
355
+
:param location: Optional. Location where secret is stored regionally. If set to ``None`` or missing, the location provided for GoogleCloudSecretHook instantiation is used.
356
+
For more details : https://cloud.google.com/secret-manager/docs/locations
0 commit comments