def get_bucket_metadata(bucket):
 service = create_service()
 req = service.buckets().get(bucket=bucket)
 return req.execute()

def get_bucket_metadata ( bucket ) : service = create_service ( ) req = service . buckets ( ) . get ( bucket = bucket ) return req . execute ( )
retrieves metadata about the given bucket .