コード例 #1
0
 def Read(self, request, context):
     bucket = client.bucket(request.bucketName)
     blob = storage.Blob(request.objectName, bucket)
     blob.download_as_string()
     return storage_pb2.EmptyResponse()
コード例 #2
0
 def Write(self, request, context):
     # TODO(deklerk): implement this
     return storage_pb2.EmptyResponse()