Skip to content

Commit 61486ed

Browse files
fix(secretmanager): address gemini review comments
1 parent 7510de8 commit 61486ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

secretmanager/snippets/delete_secret_annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
def delete_secret_annotation(
2424
project_id: str, secret_id: str, annotation_key: str
25-
) -> secretmanager.UpdateSecretRequest:
25+
) -> secretmanager.Secret:
2626
"""
2727
Delete a annotation on an existing secret.
2828
"""

secretmanager/snippets/edit_secret_labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
def edit_secret_labels(
2626
project_id: str, secret_id: str, new_labels: Dict[str, str]
27-
) -> secretmanager.UpdateSecretRequest:
27+
) -> secretmanager.Secret:
2828
"""
2929
Create or update a label on an existing secret.
3030
"""

secretmanager/snippets/regional_samples/delete_regional_secret_annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
def delete_regional_secret_annotation(
2424
project_id: str, location_id: str, secret_id: str, annotation_key: str
25-
) -> secretmanager_v1.UpdateSecretRequest:
25+
) -> secretmanager_v1.Secret:
2626
"""
2727
Delete a annotation on an existing secret.
2828
"""

0 commit comments

Comments
 (0)