@classmethod
  def JsonLifecycleFromMessage(cls, lifecycle_message):
    return str(encoding.MessageToJson(lifecycle_message)) + '\n'
Translates an apitools message to lifecycle JSON.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/translation_helper.py/LifecycleTranslation.JsonLifecycleFromMessage