Skip to content

Commit ecc98ba

Browse files
chore: Review the language fixes. (GoogleCloudPlatform#6591)
* Update main.py Fixed formatting changes. * Update storage_create_hmac_key.py * Update storage_add_bucket_iam_member.py Fixed minor language issues.
1 parent 7ba7600 commit ecc98ba

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

storage/cloud-client/storage_add_bucket_iam_member.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
def add_bucket_iam_member(bucket_name, role, member):
2424
"""Add a new member to an IAM Policy"""
2525
# bucket_name = "your-bucket-name"
26-
# role = "IAM role, e.g. roles/storage.objectViewer"
27-
# member = "IAM identity, e.g. user: name@example.com"
26+
# role = "IAM role, e.g., roles/storage.objectViewer"
27+
# member = "IAM identity, e.g., user: name@example.com"
2828

2929
storage_client = storage.Client()
3030
bucket = storage_client.bucket(bucket_name)

storage/cloud-client/storage_create_hmac_key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def create_key(project_id, service_account_email):
2525
Create a new HMAC key using the given project and service account.
2626
"""
2727
# project_id = 'Your Google Cloud project ID'
28-
# service_account_email = 'Service account used to generate HMAC key'
28+
# service_account_email = 'Service account used to generate the HMAC key'
2929

3030
storage_client = storage.Client(project=project_id)
3131

workflows/cloud-client/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def execute_workflow(
2828

2929
# TODO(developer): Uncomment these lines and replace with your values.
3030
# project = 'my-project-id'
31-
# location = 'us- central1'
31+
# location = 'us-central1'
3232
# workflow = 'myFirstWorkflow'
3333

3434
if not project:

0 commit comments

Comments
 (0)