def add_bucket_owner(bucket_name, user_email):
 storage_client = storage.Client()
 bucket = storage_client.bucket(bucket_name)
 bucket.acl.reload()
 bucket.acl.user(user_email).grant_owner()
 bucket.acl.save()
 print 'Added user {} as an owner on bucket {}.'.format(user_email, bucket_name)

def add_bucket_owner ( bucket_name , user_email ) : storage_client = storage . Client ( ) bucket = storage_client . bucket ( bucket_name ) bucket . acl . reload ( ) bucket . acl . user ( user_email ) . grant_owner ( ) bucket . acl . save ( ) print 'Added user {} as an owner on bucket {}.' . format ( user_email , bucket_name )
adds a user as an owner on the given bucket .